Package | Description |
---|---|
org.apache.flex.abc.instructionlist |
This package contains an assembly-language-like serialization of a method body.
|
org.apache.flex.abc.optimize |
This package contains specialized visitors that transform their input
according to some figure of merit.
|
org.apache.flex.abc.semantics |
This package contains representations of the individual components of an ABC.
|
org.apache.flex.abc.visitors |
This package contains the most basic model of ABC, which uses visitors.
|
org.apache.flex.compiler.internal.abc | |
org.apache.flex.compiler.internal.as.codegen | |
org.apache.flex.compiler.internal.codegen.databinding | |
org.apache.flex.compiler.internal.css.codegen | |
org.apache.flex.compiler.internal.semantics |
Modifier and Type | Method and Description |
---|---|
InstructionList |
InstructionList.IFilter.filter(InstructionList il) |
Modifier and Type | Method and Description |
---|---|
void |
InstructionList.addAll(InstructionList src_list)
Add another InstructionList to the sequence.
|
InstructionList |
InstructionList.IFilter.filter(InstructionList il) |
Modifier and Type | Method and Description |
---|---|
void |
PeepholeOptimizerMethodBodyVisitor.visitInstructionList(InstructionList new_list)
Resets the entire method body at once.
|
Modifier and Type | Method and Description |
---|---|
InstructionList |
MethodBodyInfo.getInstructionList() |
Modifier and Type | Method and Description |
---|---|
void |
MethodBodyInfo.setInstructionList(InstructionList new_list)
Set this method body's InstructionList.
|
Modifier and Type | Method and Description |
---|---|
void |
NilMethodBodyVisitor.visitInstructionList(InstructionList new_list) |
void |
IMethodBodyVisitor.visitInstructionList(InstructionList newList)
Reset the method body's instruction list en bloc.
|
void |
DelegatingMethodBodyVisitor.visitInstructionList(InstructionList new_list) |
Modifier and Type | Method and Description |
---|---|
static InstructionList |
ClassGeneratorHelper.returnVoid() |
Modifier and Type | Method and Description |
---|---|
void |
ClassGeneratorHelper.addCTraitsGetter(Name getterName,
Name returnType,
InstructionList body)
Utility method to add a static getter to the generated class.
|
void |
ClassGeneratorHelper.addCTraitsMethod(Name methodName,
Collection<Name> parameterTypes,
Name returnType,
Collection<Object> defaultParameterValues,
boolean needsRest,
InstructionList body)
Utility method to add a static method to the generated class.
|
void |
ClassGeneratorHelper.addITraitsGetter(Name getterName,
Name returnType,
InstructionList body)
Utility method to add an instance getter to the generated class.
|
void |
ClassGeneratorHelper.addITraitsMethod(Name methodName,
Collection<Name> parameterTypes,
Name returnType,
Collection<Object> defaultParameterValues,
boolean needsRest,
boolean isFinal,
boolean isOverride,
InstructionList body)
Utility method to add an instance method to the generated class.
|
void |
ClassGeneratorHelper.addITraitsMethod(Name methodName,
Collection<Name> parameterTypes,
Name returnType,
Collection<Object> defaultParameterValues,
boolean needsRest,
boolean isFinal,
boolean isOverride,
InstructionList body,
int functionKindTrait)
Utility method to add an instance method to the generated class.
|
void |
ClassGeneratorHelper.finishClass(InstructionList scriptInitInstructions)
Generates the instructions to create the class closure and adds them to
the specified
InstructionList . |
static void |
FunctionGeneratorHelper.generateFunction(IABCVisitor abcVisitor,
MethodInfo mi,
InstructionList functionBody)
Adds the specified
MethodInfo with the specified
InstructionList as its body to the specified IABCVisitor
After calling the method, the specified MethodInfo and
InstructionList must not be modified. |
Constructor and Description |
---|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> constructorParamTypes,
InstructionList constructorInstructions,
boolean hasProtectedMembers)
Generate an ABC class with constructor instructions.
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> iinitParameterTypes,
InstructionList iinitInstructions,
InstructionList cinitInstructions,
boolean hasProtectedMembers)
Constructor
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
InstructionList constructorInstructions)
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
InstructionList constructorInstructions)
|
Modifier and Type | Field and Description |
---|---|
protected Map<IMXMLNode,InstructionList> |
MXMLClassDirectiveProcessor.nodeToInstanceDescriptorMap |
Modifier and Type | Method and Description |
---|---|
void |
InlineFunctionLexicalScope.assignActualsToFormals(FunctionDefinition functionDef,
InstructionList result) |
void |
ABCGeneratingReducer.coerce(InstructionList il,
IDefinition toType)
Add instructions to the instructionlist passed in to coerce the top value of the stack
to the given type.
|
InstructionList |
ABCGeneratingReducer.error_reduce_Op_AssignId(IASNode iNode,
InstructionList non_lvalue,
InstructionList rvalue)
Error trap.
|
void |
LexicalScope.finishClassStaticInitializer(InstructionList cinit_insns)
Finish a class static initializer method.
|
MethodInfo |
ICodeGenerator.generateFunction(FunctionNode func,
LexicalScope enclosing_scope,
InstructionList instance_init_insns,
Name alternateName)
Generate code for a function declaration, and put its initialization code
on the relevant instruction list.
|
MethodInfo |
ABCGenerator.generateFunction(FunctionNode func,
LexicalScope enclosing_scope,
InstructionList instance_init_insns,
Name alternate_name)
Generate code for a function declaration, and put its initialization code
on the relevant instruction list.
|
InstructionList |
ABCGenerator.generateInstructions(IASNode subtree,
int goal_state,
LexicalScope scope,
InstructionList instance_init_insns)
Translate an AST into ABC instructions.
|
void |
ICodeGenerator.generateMethodBodyForFunction(MethodInfo mi,
IASNode node,
LexicalScope enclosing_scope,
InstructionList instance_init_insns)
Helper method used by
generateFunction() (and also by
generateEventHandler() in MXMLDocumentDirectiveProcessor). |
void |
ABCGenerator.generateMethodBodyForFunction(MethodInfo mi,
IASNode node,
LexicalScope enclosing_scope,
InstructionList instance_init_insns)
Helper method used by
generateFunction() (and also by
generateEventHandler() in MXMLDocumentDirectiveProcessor). |
static String |
ABCGeneratingReducer.getStringLiteral(InstructionList insns)
Extract the string literal from an InstructionList.
|
static boolean |
ABCGeneratingReducer.isStringLiteral(InstructionList insns)
Is this expression a string literal?
|
void |
InlineFunctionLexicalScope.mergeIntoContainingScope(InstructionList result) |
void |
ABCGeneratingReducer.pushNumericConstant(InstructionList result_list,
Number value,
IDefinition type)
Generate code to push a numeric value onto the stack.
|
static void |
CmcEmitter.pushNumericConstant(long value,
InstructionList result_list)
Delegate calls to pushNumericConstant to the reducer.
|
static void |
CmcEmitter.pushNumericConstant(long value,
InstructionList result_list)
Delegate calls to pushNumericConstant to the reducer.
|
static void |
ABCGeneratingReducer.pushNumericConstant(long value,
InstructionList result_list)
Generate code to push a numeric constant.
|
InstructionList |
ABCGeneratingReducer.reduce_anonymousFunction(IASNode iNode,
InstructionList function_body) |
InstructionList |
ABCGeneratingReducer.reduce_arrayIndexExpr_to_mxmlDataBindingSetter(IASNode iNode,
InstructionList stem,
InstructionList index,
boolean isSuper)
Reduce a array index expression ( a[x] ) in an MXML data binding
destination to: a[x] = firstParam
|
InstructionList |
ABCGeneratingReducer.reduce_arrayIndexExpr(IASNode iNode,
InstructionList stem,
boolean is_super,
InstructionList index) |
InstructionList |
ABCGeneratingReducer.reduce_assignToBracketExpr_to_expression(IASNode iNode,
InstructionList stem,
InstructionList index,
InstructionList r,
boolean is_super) |
InstructionList |
ABCGeneratingReducer.reduce_assignToBracketExpr_to_void_expression(IASNode iNode,
InstructionList stem,
InstructionList index,
InstructionList r,
boolean is_super) |
InstructionList |
ABCGeneratingReducer.reduce_assignToDescendantsExpr(IASNode iNode,
InstructionList stem,
Binding member,
InstructionList r,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToMemberExpr_to_expression(IASNode iNode,
InstructionList stem,
Binding member,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_assignToMemberExpr_to_void_expression(IASNode iNode,
InstructionList stem,
Binding member,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_assignToNameExpr_to_expression(IASNode iNode,
Binding lvalue,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_assignToNameExpr_to_void_expression(IASNode iNode,
Binding lvalue,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_assignToQualifiedAttributeExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
Binding member,
InstructionList rhs,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToQualifiedMemberExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
Binding member,
InstructionList rhs,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToQualifiedRuntimeAttributeExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
InstructionList runtime_member_selector,
InstructionList rhs,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToQualifiedRuntimeMemberExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
InstructionList runtime_member_selector,
InstructionList rhs,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToRuntimeNameExpr(IASNode iNode,
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname lval,
InstructionList r,
boolean need_value) |
InstructionList |
ABCGeneratingReducer.reduce_assignToUnqualifiedRuntimeAttributeExpr(IASNode iNode,
InstructionList stem,
InstructionList rt_attr,
InstructionList rhs,
boolean need_value) |
ABCGeneratingReducer.CatchPrototype |
ABCGeneratingReducer.reduce_catchBlockTyped(IASNode iNode,
Binding var_name,
Binding exception,
InstructionList action) |
ABCGeneratingReducer.CatchPrototype |
ABCGeneratingReducer.reduce_catchBlockUntyped(IASNode iNode,
Binding var_name,
InstructionList action) |
InstructionList |
ABCGeneratingReducer.reduce_commaExpr(IASNode iNode,
InstructionList payload_expr,
Vector<InstructionList> exprs) |
ABCGeneratingReducer.ConditionalFragment |
ABCGeneratingReducer.reduce_conditionalFragment(IASNode iNode,
InstructionList condition,
Vector<InstructionList> consequents) |
InstructionList |
ABCGeneratingReducer.reduce_countedForStmt(IASNode iNode,
InstructionList init,
InstructionList test_insns,
InstructionList incr,
InstructionList body) |
InstructionList |
ABCGeneratingReducer.reduce_defaultXMLNamespace(IASNode iNode,
InstructionList ns_expr) |
InstructionList |
ABCGeneratingReducer.reduce_deleteAtBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index)
Reduce E4X expression like:
{@code delete x. |
InstructionList |
ABCGeneratingReducer.reduce_deleteBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index)
Reduce expression like:
delete o[p] |
InstructionList |
ABCGeneratingReducer.reduce_deleteDescendantsExpr(IASNode iNode,
InstructionList stem,
Binding field) |
InstructionList |
ABCGeneratingReducer.reduce_deleteExprExprExpr(IASNode iNode,
InstructionList expr) |
InstructionList |
ABCGeneratingReducer.reduce_deleteMemberExpr(IASNode iNode,
InstructionList stem,
Binding field) |
InstructionList |
ABCGeneratingReducer.reduce_deleteRuntimeNameExpr(IASNode iNode,
InstructionList stem,
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname rt_name) |
InstructionList |
ABCGeneratingReducer.reduce_doStmt(IASNode iNode,
InstructionList body,
InstructionList cond) |
InstructionList |
ABCGeneratingReducer.reduce_e4xFilter(IASNode iNode,
InstructionList stem,
InstructionList filter) |
InstructionList |
ABCGeneratingReducer.reduce_forKeyValueArrayStmt(IASNode iNode,
InstructionList stem,
InstructionList index,
InstructionList base,
InstructionList body,
int opcode,
boolean is_super)
Reduce statement like:
for (a[it] in base) body; |
InstructionList |
ABCGeneratingReducer.reduce_forKeyValueMemberStmt(IASNode iNode,
InstructionList stem,
Binding member,
InstructionList base,
InstructionList body,
int opcode,
boolean is_super) |
InstructionList |
ABCGeneratingReducer.reduce_forKeyValueStmt(IASNode iNode,
Binding it,
InstructionList base,
InstructionList body,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_forVarDeclInStmt(IASNode iNode,
InstructionList single_decl,
InstructionList base,
InstructionList body,
int opcode)
Reduce
for(it in base) or for each(it in base) loop with
variable initializer. |
InstructionList |
ABCGeneratingReducer.reduce_functionAsBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index,
Vector<InstructionList> args)
Reduce expression like:
a[i]() |
InstructionList |
ABCGeneratingReducer.reduce_functionAsMemberExpr(IASNode iNode,
InstructionList stem,
Binding method_name,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_functionAsRandomExpr(IASNode iNode,
InstructionList random_expr,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_functionCallOfSuperclassMethod_to_expression(IASNode iNode,
InstructionList stem,
Binding method_name,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_functionCallOfSuperclassMethod_to_void_expression(IASNode iNode,
InstructionList stem,
Binding method_name,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_functionObject(IASNode iNode,
IASNode function_name,
InstructionList plist,
Binding return_binding,
InstructionList function_body) |
InstructionList |
ABCGeneratingReducer.reduce_ifElseIf(IASNode iNode,
InstructionList test,
InstructionList then,
Vector<ABCGeneratingReducer.ConditionalFragment> if_elseif) |
InstructionList |
ABCGeneratingReducer.reduce_labeledStmt(IASNode iNode,
String label,
InstructionList substatement) |
ABCGeneratingReducer.ConditionalFragment |
ABCGeneratingReducer.reduce_lastElse(IASNode iNode,
InstructionList else_clause) |
InstructionList |
ABCGeneratingReducer.reduce_logicalAndExpr(IASNode iNode,
InstructionList l,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_logicalNotExpr(IASNode iNode,
InstructionList expr) |
InstructionList |
ABCGeneratingReducer.reduce_logicalOrExpr(IASNode iNode,
InstructionList l,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_memberAccessExpr_to_mxmlDataBindingSetter(IASNode memberAccessExpr,
InstructionList stem,
Binding member)
Reduce a member access expression ( a.b ) in an MXML data binding
destination to: a.b = firstParam
|
InstructionList |
ABCGeneratingReducer.reduce_memberAccessExpr(IASNode iNode,
InstructionList stem,
Binding member,
int opcode) |
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname |
ABCGeneratingReducer.reduce_namespaceMultinameL(IASNode iNode,
IASNode qualifier_node,
InstructionList expr) |
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname |
ABCGeneratingReducer.reduce_namespaceRTQName(IASNode iNode,
InstructionList qualifier,
Binding qualified_name) |
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname |
ABCGeneratingReducer.reduce_namespaceRTQNameL(IASNode iNode,
InstructionList qualifier,
InstructionList expr) |
InstructionList |
ABCGeneratingReducer.reduce_neqExpr(IASNode iNode,
InstructionList l,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_newAsRandomExpr(IASNode iNode,
InstructionList random_expr,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_newMemberProperty(IASNode iNode,
InstructionList stem,
Binding member,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_newVectorLiteral(IASNode iNode,
InstructionList literal) |
InstructionList |
ABCGeneratingReducer.reduce_objectLiteralElement(IASNode iNode,
InstructionList id,
InstructionList value) |
InstructionList |
ABCGeneratingReducer.reduce_parameterizedTypeExpression(IASNode iNode,
InstructionList base,
InstructionList param) |
InstructionList |
ABCGeneratingReducer.reduce_postDecBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_postDecMemberExpr(IASNode iNode,
InstructionList stem,
Binding field,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_postIncBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_postIncMemberExpr(IASNode iNode,
InstructionList stem,
Binding field,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_preDecBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_preDecMemberExpr(IASNode iNode,
InstructionList stem,
Binding field,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_preIncBracketExpr(IASNode iNode,
InstructionList stem,
InstructionList index,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_preIncMemberExpr(IASNode iNode,
InstructionList stem,
Binding field,
boolean need_result) |
InstructionList |
ABCGeneratingReducer.reduce_qualifiedAttributeExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
Binding member,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_qualifiedAttributeRuntimeMemberExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
InstructionList runtime_member_selector,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_qualifiedMemberAccessExpr_to_mxmlDataBindingSetter(IASNode qualifiedMemberAccessExpr,
InstructionList stem,
Binding qualifier,
Binding member)
Reduce a qualified member access expression ( a.ns::b ) in an MXML data binding
destination to: a.ns::b = firstParam
|
InstructionList |
ABCGeneratingReducer.reduce_qualifiedMemberAccessExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
Binding member,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_qualifiedMemberRuntimeNameExpr_to_mxmlDataBindingSetter(IASNode qualifiedMemberRuntimeExpr,
InstructionList stem,
Binding qualifier,
InstructionList runtime_member)
Reduce a qualified member access expression ( a.ns::["b"] ) in an MXML data binding
destination to: a.ns::["b"] = firstParam
|
InstructionList |
ABCGeneratingReducer.reduce_qualifiedMemberRuntimeNameExpr(IASNode iNode,
InstructionList stem,
Binding qualifier,
InstructionList runtime_member_selector) |
InstructionList |
ABCGeneratingReducer.reduce_returnValue(IASNode iNode,
InstructionList value) |
InstructionList |
ABCGeneratingReducer.reduce_returnVoidSideEffect(IASNode iNode,
InstructionList value) |
InstructionList |
ABCGeneratingReducer.reduce_returnVoidValue(IASNode iNode,
InstructionList no_value) |
InstructionList |
ABCGeneratingReducer.reduce_runtimeAttributeExp(IASNode iNode,
InstructionList rt_attr)
Reduce runtime attribute expression, such as
@[exp] . |
InstructionList |
ABCGeneratingReducer.reduce_runtimeNameExpression(IASNode iNode,
InstructionList expr) |
InstructionList |
ABCGeneratingReducer.reduce_strictneqExpr(IASNode iNode,
InstructionList l,
InstructionList r) |
InstructionList |
ABCGeneratingReducer.reduce_switchStmt(IASNode iNode,
InstructionList switch_expr,
Vector<ABCGeneratingReducer.ConditionalFragment> cases) |
InstructionList |
ABCGeneratingReducer.reduce_ternaryExpr(IASNode iNode,
InstructionList test,
InstructionList when_true,
InstructionList when_false) |
InstructionList |
ABCGeneratingReducer.reduce_throwStmt(IASNode iNode,
InstructionList tossable) |
InstructionList |
ABCGeneratingReducer.reduce_tryCatchFinallyStmt(IASNode iNode,
InstructionList try_stmt,
InstructionList finally_stmt,
Vector<ABCGeneratingReducer.CatchPrototype> catch_blocks) |
InstructionList |
ABCGeneratingReducer.reduce_tryCatchStmt(IASNode iNode,
InstructionList try_stmt,
Vector<ABCGeneratingReducer.CatchPrototype> catch_blocks) |
InstructionList |
ABCGeneratingReducer.reduce_tryFinallyStmt(IASNode iNode,
InstructionList try_stmt,
InstructionList finally_stmt) |
InstructionList |
ABCGeneratingReducer.reduce_typedBindableVariableDeclWithInitializer(IASNode iNode,
Name var_name,
Binding var_type,
InstructionList var_initializer,
Vector<InstructionList> chained_decls) |
InstructionList |
ABCGeneratingReducer.reduce_typedFunction_to_statement(IASNode iNode,
InstructionList plist,
Binding return_type,
InstructionList block) |
InstructionList |
ABCGeneratingReducer.reduce_typedVariableDeclWithInitializer(IASNode iNode,
Name var_name,
Binding var_type,
InstructionList var_initializer,
Vector<InstructionList> chained_decls) |
InstructionList |
ABCGeneratingReducer.reduce_typelessFunction(IASNode iNode,
InstructionList plist,
InstructionList block) |
InstructionList |
ABCGeneratingReducer.reduce_typeof_expr(IASNode iNode,
InstructionList operand) |
InstructionList |
ABCGeneratingReducer.reduce_unqualifiedAttributeExpr(IASNode iNode,
InstructionList stem,
InstructionList rt_attr,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_voidOperator_to_expression(IASNode iNode,
InstructionList expr) |
InstructionList |
ABCGeneratingReducer.reduce_whileStmt(IASNode iNode,
InstructionList cond,
InstructionList body) |
InstructionList |
ABCGeneratingReducer.reduce_withStmt(IASNode iNode,
InstructionList new_scope,
InstructionList body) |
void |
ABCGeneratingReducer.setInstanceInitializers(InstructionList insns)
Set this reducer's list of a priori instructions;
typically these are field initializers passed in to
a constructor routine.
|
InstructionList |
ABCGeneratingReducer.transform_expression_to_conditionalJump(IASNode iNode,
InstructionList expression) |
Object |
ABCGeneratingReducer.transform_expression_to_constant_value(IASNode iNode,
InstructionList expression) |
InstructionList |
ABCGeneratingReducer.transform_expression_to_void_expression(IASNode iNode,
InstructionList expression) |
Constructor and Description |
---|
InstructionListNode(InstructionList il) |
Modifier and Type | Method and Description |
---|---|
static InstructionList |
BindingCodeGenUtils.fireInitialBindings()
enumerate all the bindings we have created for this class, and execute each
of them so that initial values get assigned to binding targets.
|
InstructionList |
MXMLBindingDirectiveHelper.getConstructorCode()
get the instruction list for code to be added to constructor
to set up data binding.
|
Modifier and Type | Method and Description |
---|---|
static void |
BindingCodeGenUtils.generateGetter(IABCVisitor emitter,
InstructionList ret,
List<IExpressionNode> expressions,
LexicalScope enclosing_scope)
emits the code for anonymous getter function, then adds to the instruction list for instantiating one onto the stack
|
static void |
BindingCodeGenUtils.generateSetter(InstructionList ret,
IExpressionNode expression,
LexicalScope enclosing_scope)
emits the code for anonymous setter function, then adds to the instruction list for instantiating one onto the stack
|
static void |
BindingCodeGenUtils.log(InstructionList insns,
String s) |
static void |
BindingCodeGenUtils.makeBinding(InstructionList insns,
FlexProject project,
String destStr,
String srcString,
InstructionList methodInstr)
generate code to instantiate a binding object.
|
static void |
BindingCodeGenUtils.makeFunctionWatcher(InstructionList insns,
FlexProject project,
IABCVisitor emitter,
String functionName,
List<String> eventNames,
List<BindingInfo> bindingInfo,
IExpressionNode[] params)
Generates the ABC to instantiate a FunctionReturnWatcher
* VM context:
on entry: nothing on stack
local1 = this.
|
static void |
BindingCodeGenUtils.makeParameterFunction(IABCVisitor emitter,
InstructionList ret,
IExpressionNode[] params)
Generated the "parameter function" required by the FunctionReturnWatcher
constructor.
|
static void |
BindingCodeGenUtils.makePropertyWatcher(boolean makeStaticWatcher,
InstructionList insns,
String propertyName,
List<String> eventNames,
List<BindingInfo> bindingInfo,
MethodInfo propertyGetterFunction,
FlexProject project)
Generates the ABC to instantiate a PropertyWatcher
Can only generate one special case:
single event (Constructor actually takes an array of events. we could easily add that
no property getter function (we use null)
Note that we are passing in references to BindingInfo.
|
static void |
BindingCodeGenUtils.makeXMLWatcher(InstructionList insns,
String propertyName,
List<BindingInfo> bindingInfo,
FlexProject project)
Generate instructions to instantiate an mx.binding.XMLWatcher
|
static void |
BindingCodeGenUtils.trace(InstructionList insns)
debugging function to call "trace"
will use top of stack as string parameter, doesn't change stack depth
|
static void |
BindingCodeGenUtils.trace(InstructionList insns,
String string)
debugging function to all "trace"
|
Modifier and Type | Method and Description |
---|---|
InstructionList |
ICSSCodeGenResult.getClassInitializationInstructions() |
InstructionList |
CSSReducer.getClassInitializationInstructions() |
Modifier and Type | Method and Description |
---|---|
boolean |
MethodBodySemanticChecker.functionBodyHasNonInlineableInstructions(InstructionList insns,
boolean reportInlineProblems,
String functionName)
Iterate through the Instructions which are to be inlined and
ensure the can all be inlined.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.