Modifier and Type | Class and Description |
---|---|
class |
FoldedExpressionNode |
Modifier and Type | Method and Description |
---|---|
IASNode |
LogicalOperatorsFolder.fold(IASNode rootNode) |
IASNode |
IASTFolder.fold(IASNode rootNode)
This will perform folding of certain nodes, based on implementation
|
IASNode |
FoldedExpressionNode.getAncestorOfType(Class<? extends IASNode> nodeType) |
IASNode |
FoldedExpressionNode.getChild(int i) |
IASNode |
FoldedExpressionNode.getContainingNode(int offset) |
IASNode |
FoldedExpressionNode.getParent() |
IASNode |
FoldedExpressionNode.getSucceedingNode(int offset) |
IASNode |
FoldedExpressionNode.getUnderLyingNode() |
static IASNode |
DebuggerUtil.parseExpression(String code,
List<ICompilerProblem> problems) |
IASNode |
LogicalOperatorsFolder.unfoldOneLevel(FoldedExpressionNode foldedExpressionNode) |
IASNode |
IASTFolder.unfoldOneLevel(FoldedExpressionNode rootNode)
Unfolds onlevel, if required will fold the children
|
Modifier and Type | Method and Description |
---|---|
void |
AS3DebuggerBURM.burm(IASNode root) |
void |
AS3DebuggerBURM.burm(IASNode root) |
void |
AS3DebuggerBURM.burm(IASNode root,
int goal_state) |
void |
AS3DebuggerBURM.burm(IASNode root,
int goal_state) |
Object |
AS3DebuggerReducer.error_namespaceAccess(IASNode iNode,
IASNode raw_qualifier,
Object qualified_name)
Error trap.
|
Object |
AS3DebuggerReducer.error_reduce_Op_AssignId(IASNode iNode,
Object non_lvalue,
Object rvalue)
Error trap.
|
DebuggerValue |
IExpressionEvaluator.evaluate(Context context,
IASNode node) |
DebuggerValue |
DebuggerExpressionEvaluator.evaluate(Context context,
IASNode node) |
IASNode |
LogicalOperatorsFolder.fold(IASNode rootNode) |
IASNode |
IASTFolder.fold(IASNode rootNode)
This will perform folding of certain nodes, based on implementation
|
flash.tools.debugger.expression.AS3DebuggerBURM.JBurgAnnotation |
AS3DebuggerBURM.getJBurgAnnotation(IASNode node) |
flash.tools.debugger.expression.AS3DebuggerBURM.JBurgAnnotation |
AS3DebuggerBURM.getJBurgAnnotation(IASNode node) |
int |
AS3DebuggerReducer.isDoubleLiteral(IASNode iNode) |
int |
AS3DebuggerReducer.isIntLiteral(IASNode iNode) |
int |
AS3DebuggerReducer.isUintLiteral(IASNode iNode) |
flash.tools.debugger.expression.AS3DebuggerBURM.JBurgAnnotation |
AS3DebuggerBURM.label(IASNode to_be_labelled) |
flash.tools.debugger.expression.AS3DebuggerBURM.JBurgAnnotation |
AS3DebuggerBURM.label(IASNode to_be_labelled) |
Object |
AS3DebuggerReducer.reduce_arrayIndexExpr(IASNode iNode,
Object stem,
boolean is_super,
Object index) |
Object |
AS3DebuggerReducer.reduce_arrayLiteral(IASNode iNode,
Vector<Object> elements) |
Object |
AS3DebuggerReducer.reduce_assignToBracketExpr_to_expression(IASNode iNode,
Object stem,
Object index,
Object r,
boolean is_super) |
Object |
AS3DebuggerReducer.reduce_assignToDescendantsExpr(IASNode iNode,
Object stem,
Object member,
Object r,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_assignToMemberExpr_to_expression(IASNode iNode,
Object stem,
Object member,
Object r) |
Object |
AS3DebuggerReducer.reduce_assignToNameExpr_to_expression(IASNode iNode,
Object lvalue,
Object r) |
Object |
AS3DebuggerReducer.reduce_assignToQualifiedAttributeExpr(IASNode iNode,
Object stem,
Object qualifier,
Object member,
Object rhs,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_assignToQualifiedMemberExpr(IASNode iNode,
Object stem,
Object qualifier,
Object member,
Object rhs,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_assignToQualifiedRuntimeMemberExpr(IASNode iNode,
Object stem,
Object qualifier,
Object runtime_member_selector,
Object rhs,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_assignToRuntimeNameExpr(IASNode iNode,
Object lval,
Object r,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_assignToUnqualifiedRuntimeAttributeExpr(IASNode iNode,
Object stem,
Object rt_attr,
Object rhs,
boolean need_value) |
Object |
AS3DebuggerReducer.reduce_attributeName(IASNode iNode,
Object attr_name) |
Boolean |
AS3DebuggerReducer.reduce_booleanLiteral(IASNode iNode) |
String |
AS3DebuggerReducer.reduce_by_concatenation(IASNode iNode,
String first,
String second) |
Object |
AS3DebuggerReducer.reduce_commaExpr(IASNode iNode,
Object payload_expr,
Vector<Object> exprs) |
Object |
AS3DebuggerReducer.reduce_declName(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_deleteAtBracketExpr(IASNode iNode,
Object stem,
Object index)
Reduce E4X expression like:
{@code delete x. |
Object |
AS3DebuggerReducer.reduce_deleteBracketExpr(IASNode iNode,
Object stem,
Object index)
Reduce expression like:
delete o[p] |
Object |
AS3DebuggerReducer.reduce_deleteDescendantsExpr(IASNode iNode,
Object stem,
Object field) |
Object |
AS3DebuggerReducer.reduce_deleteExprExprExpr(IASNode iNode,
Object expr) |
Object |
AS3DebuggerReducer.reduce_deleteMemberExpr(IASNode iNode,
Object stem,
Object field) |
Object |
AS3DebuggerReducer.reduce_deleteNameExpr(IASNode iNode,
Object n) |
Object |
AS3DebuggerReducer.reduce_deleteRuntimeNameExpr(IASNode iNode,
Object stem,
Object rt_name) |
Object |
AS3DebuggerReducer.reduce_e4xFilter(IASNode iNode,
Object stem,
Object filter) |
Object |
AS3DebuggerReducer.reduce_embed(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_functionAsBracketExpr(IASNode iNode,
Object stem,
Object index,
Vector<Object> args)
Reduce expression like:
a[i]() |
Object |
AS3DebuggerReducer.reduce_functionAsMemberExpr(IASNode iNode,
Object stem,
Object method_name,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_functionAsRandomExpr(IASNode iNode,
Object random_expr,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_functionCallExpr_to_expression(IASNode iNode,
Object method_name,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_functionCallOfSuperclassMethod_to_expression(IASNode iNode,
Object stem,
Object method_name,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_functionCallSpecial_to_expression(IASNode iNode,
Object method_name,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_logicalAndExpr(IASNode iNode,
Object l,
Object r) |
Object |
AS3DebuggerReducer.reduce_logicalNotExpr(IASNode iNode,
Object expr) |
Object |
AS3DebuggerReducer.reduce_logicalOrExpr(IASNode iNode,
Object l,
Object r) |
Object |
AS3DebuggerReducer.reduce_memberAccessExpr(IASNode iNode,
Object stem,
Object member,
int opcode)
reduce a MemberAccessExpression.
|
Object |
AS3DebuggerReducer.reduce_namespaceAccess(IASNode iNode,
IASNode qualifier,
Object qualified_name) |
Object |
AS3DebuggerReducer.reduce_namespaceAsName_to_expression(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_namespaceAsName_to_multinameL(IASNode iNode,
boolean is_attribute) |
Object |
AS3DebuggerReducer.reduce_namespaceAsName_to_name(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_namespaceMultinameL(IASNode iNode,
IASNode qualifier_node,
Object expr) |
Object |
AS3DebuggerReducer.reduce_namespaceRTQName(IASNode iNode,
Object qualifier,
Object qualified_name) |
Object |
AS3DebuggerReducer.reduce_namespaceRTQNameL(IASNode iNode,
Object qualifier,
Object expr) |
Object |
AS3DebuggerReducer.reduce_neqExpr(IASNode iNode,
Object l,
Object r) |
Object |
AS3DebuggerReducer.reduce_newAsRandomExpr(IASNode iNode,
Object random_expr,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_newEmptyArray(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_newEmptyObject(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_newExpr(IASNode iNode,
Object class_Object,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_newMemberProperty(IASNode iNode,
Object stem,
Object member,
Vector<Object> args) |
Object |
AS3DebuggerReducer.reduce_newVectorLiteral(IASNode iNode,
Object literal) |
Object |
AS3DebuggerReducer.reduce_nilExpr_to_expression(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_nullLiteral_to_constant_value(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_nullLiteral_to_object_literal(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_objectLiteral(IASNode iNode,
Vector<Object> elements) |
Object |
AS3DebuggerReducer.reduce_objectLiteralElement(IASNode iNode,
Object id,
Object value) |
Object |
AS3DebuggerReducer.reduce_parameterizedTypeExpression(IASNode iNode,
Object base,
Object param) |
Object |
AS3DebuggerReducer.reduce_parameterizedTypeName(IASNode iNode,
Object base,
Object param) |
Object |
AS3DebuggerReducer.reduce_postDecBracketExpr(IASNode iNode,
Object stem,
Object index,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_postDecMemberExpr(IASNode iNode,
Object stem,
Object field,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_postDecNameExpr(IASNode iNode,
Object unary,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_postIncBracketExpr(IASNode iNode,
Object stem,
Object index,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_postIncMemberExpr(IASNode iNode,
Object stem,
Object field,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_postIncNameExpr(IASNode iNode,
Object unary,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preDecBracketExpr(IASNode iNode,
Object stem,
Object index,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preDecMemberExpr(IASNode iNode,
Object stem,
Object field,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preDecNameExpr(IASNode iNode,
Object unary,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preIncBracketExpr(IASNode iNode,
Object stem,
Object index,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preIncMemberExpr(IASNode iNode,
Object stem,
Object field,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_preIncNameExpr(IASNode iNode,
Object unary,
boolean need_result) |
Object |
AS3DebuggerReducer.reduce_prePostIncDecExpr(IASNode iNode,
Object unary,
boolean isPostFix,
boolean isIncrement) |
Object |
AS3DebuggerReducer.reduce_qualifiedAttributeExpr(IASNode iNode,
Object stem,
Object qualifier,
Object member,
int opcode) |
Object |
AS3DebuggerReducer.reduce_qualifiedAttributeRuntimeMemberExpr(IASNode iNode,
Object stem,
Object qualifier,
Object runtime_member_selector,
int opcode) |
Object |
AS3DebuggerReducer.reduce_qualifiedMemberAccessExpr(IASNode iNode,
Object stem,
Object qualifier,
Object member,
int opcode) |
Object |
AS3DebuggerReducer.reduce_qualifiedMemberRuntimeNameExpr(IASNode iNode,
Object stem,
Object qualifier,
Object runtime_member_selector) |
Object |
AS3DebuggerReducer.reduce_regexLiteral(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_runtimeAttributeExp(IASNode iNode,
Object rt_attr)
Reduce runtime attribute expression, such as
@[exp] . |
Object |
AS3DebuggerReducer.reduce_runtimeNameExpression(IASNode iNode,
Object expr) |
Object |
AS3DebuggerReducer.reduce_simpleName(IASNode iNode)
Reduce an identifier node This just returns the name of the name
currently.
|
Object |
AS3DebuggerReducer.reduce_strictneqExpr(IASNode iNode,
Object l,
Object r) |
Object |
AS3DebuggerReducer.reduce_superAccess(IASNode iNode,
Object qualified_name) |
Object |
AS3DebuggerReducer.reduce_ternaryExpr(IASNode iNode,
Object test,
Object when_true,
Object when_false) |
Object |
AS3DebuggerReducer.reduce_typedVariableExpression(IASNode iNode,
Object var_name,
Object var_type) |
Object |
AS3DebuggerReducer.reduce_typeNameParameterAsType(IASNode iNode,
Object type_param) |
Object |
AS3DebuggerReducer.reduce_typeof_expr(IASNode iNode,
Object operand) |
Object |
AS3DebuggerReducer.reduce_typeof_name(IASNode iNode,
Object object) |
Object |
AS3DebuggerReducer.reduce_unqualifiedAttributeExpr(IASNode iNode,
Object stem,
Object rt_attr,
int opcode) |
Object |
AS3DebuggerReducer.reduce_vectorLiteral(IASNode iNode,
Object type_param,
Vector<Object> elements) |
Object |
AS3DebuggerReducer.reduce_void0Literal_to_constant_value(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_void0Literal_to_object_literal(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_void0Operator(IASNode iNode) |
Object |
AS3DebuggerReducer.reduce_voidExpr_to_type_name(IASNode node) |
Object |
AS3DebuggerReducer.reduce_voidOperator_to_constant_value(IASNode iNode,
Object constant_value) |
Object |
AS3DebuggerReducer.reduce_voidOperator_to_expression(IASNode iNode,
Object expr) |
Object |
AS3DebuggerReducer.reduce_XMLContent(IASNode iNode,
Vector<Object> exprs) |
Object |
AS3DebuggerReducer.reduce_XMLList(IASNode iNode,
Vector<Object> exprs) |
Object |
AS3DebuggerReducer.reduce_XMLListConst(IASNode iNode,
Vector<String> elements) |
Object |
AS3DebuggerReducer.reduceLazyExpression(IASNode expressionNode) |
Object |
AS3DebuggerReducer.transform_boolean_constant_to_constant(IASNode iNode,
Boolean boolean_constant)
transform a boolean_constant to a constant_value - essentially a no-op,
but need a reduction so we can assign it a cost
|
Object |
AS3DebuggerReducer.transform_boolean_constant(IASNode iNode,
Boolean boolean_constant) |
Object |
AS3DebuggerReducer.transform_constant_function_to_value(IASNode iNode,
Object method,
Vector<Object> constant_args)
Reduce a function call to a constant value.
|
Object |
AS3DebuggerReducer.transform_constant_value(IASNode iNode,
Object constant_value)
Transform any constant_value into an expression, so we can constant fold
all sorts of expressions.
|
Object |
AS3DebuggerReducer.transform_double_constant(IASNode iNode,
Double double_constant) |
Object |
AS3DebuggerReducer.transform_expression_to_constant_value(IASNode iNode,
Object expression) |
Object |
AS3DebuggerReducer.transform_float_constant(IASNode iNode,
Float float_constant) |
Object |
AS3DebuggerReducer.transform_integer_constant(IASNode iNode,
Integer integer_constant) |
Object |
AS3DebuggerReducer.transform_name_to_constant_value(IASNode iNode) |
Object |
AS3DebuggerReducer.transform_name_to_expression(IASNode iNode,
Object name)
Transform a name into an expression.
|
Object |
AS3DebuggerReducer.transform_non_resolving_identifier(IASNode iNode,
String non_resolving_identifier) |
Object |
AS3DebuggerReducer.transform_numeric_constant_to_constant(IASNode iNode,
Number numeric_constant)
transform a numeric_constant to a constant_value - essentially a no-op,
but need a reduction so we can assign it a cost
|
Object |
AS3DebuggerReducer.transform_numeric_constant(IASNode iNode,
Number numeric_constant) |
Object |
AS3DebuggerReducer.transform_runtime_name_expression(IASNode iNode,
Object runtime_name_expression) |
Object |
AS3DebuggerReducer.transform_string_constant_to_constant(IASNode iNode,
String string_constant)
transform a string_constant to a constant_value - essentially a no-op,
but need a reduction so we can assign it a cost
|
Object |
AS3DebuggerReducer.transform_string_constant(IASNode iNode,
String string_constant) |
Object |
AS3DebuggerReducer.transform_uint_constant(IASNode iNode,
Long uint_constant) |
Modifier and Type | Method and Description |
---|---|
IASNode |
FoldedExpressionNode.getAncestorOfType(Class<? extends IASNode> nodeType) |
Constructor and Description |
---|
FoldedExpressionNode(IASNode rootNode) |
Modifier and Type | Method and Description |
---|---|
String |
IEmitter.stringifyNode(IASNode node)
Takes the node argument and created a String representation if it using
the buffer temporarily.
|
Modifier and Type | Method and Description |
---|---|
void |
IASEmitter.emitStatement(IASNode node)
Emit a statement found within an
IBlockNode . |
Modifier and Type | Method and Description |
---|---|
void |
IJSEmitter.emitClosureEnd(IASNode node,
IDefinition nodeDef) |
Modifier and Type | Method and Description |
---|---|
void |
IJSGoogDocEmitter.emitPrivate(IASNode node) |
void |
IJSGoogDocEmitter.emitProtected(IASNode node) |
void |
IJSGoogDocEmitter.emitPublic(IASNode node) |
void |
IJSGoogDocEmitter.emitType(IASNode node,
String packageName) |
Modifier and Type | Method and Description |
---|---|
IASNode |
NodeReference.getNode(IWorkspace workspace,
ASScope scope)
Get a strong reference to the Node.
|
IASNode |
NodeReference.getNodeIfExists()
Get the node from the underlying weak reference.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeReference.reconnectNode(IASNode node)
Explicitly re-connect this node reference to the specified node.
|
Constructor and Description |
---|
NodeReference(IASNode node)
Construct a NodeReference to the given node
|
Modifier and Type | Class and Description |
---|---|
class |
FXGFileNode
Temporary class to wrap a IFXGNode in an IASNode.
|
Modifier and Type | Class and Description |
---|---|
class |
InstructionListNode
A node to use to inject an InstructionList in places that an Expression is expected.
|
Modifier and Type | Method and Description |
---|---|
IASNode |
InstructionListNode.getChild(int i)
Get a particular child of this node
|
IASNode |
Binding.getNode()
Get the AST node that generated this binding, used for error reporting.
|
Modifier and Type | Method and Description |
---|---|
void |
CmcEmitter.burm(IASNode root) |
void |
CmcEmitter.burm(IASNode root) |
void |
CmcEmitter.burm(IASNode root,
int goal_state) |
void |
CmcEmitter.burm(IASNode root,
int goal_state) |
void |
ABCGeneratingReducer.checkBinaryOp(IASNode iNode,
int opcode)
Perform semantic checks on a binary operator.
|
void |
ABCGeneratingReducer.checkUnaryOp(IASNode iNode,
int opcode) |
InstructionList |
ABCGeneratingReducer.createInstructionList(IASNode iNode)
Common routine used by reductions that
need an empty list.
|
InstructionList |
ABCGeneratingReducer.createInstructionList(IASNode iNode,
int capacity)
Common routine used by reductions that
need an empty list.
|
Binding |
ABCGeneratingReducer.error_namespaceAccess(IASNode iNode,
IASNode raw_qualifier,
Binding qualified_name)
Error trap.
|
InstructionList |
ABCGeneratingReducer.error_reduce_Op_AssignId(IASNode iNode,
InstructionList non_lvalue,
InstructionList rvalue)
Error trap.
|
ABCBytesRequestResult |
ICodeGenerator.generate(ExecutorService executorService,
boolean useParallelCodegen,
String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project,
boolean inInvisibleCompilationUnit,
Map<String,String> encodedDebugFiles)
Generate an ABC file equivalent to the input syntax tree.
|
ABCBytesRequestResult |
ABCGenerator.generate(ExecutorService executorService,
boolean useParallelCodegen,
String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project,
boolean inInvisibleCompilationUnit,
Map<String,String> encodedDebugFiles) |
ABCBytesRequestResult |
ICodeGenerator.generate(String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project)
Generate an ABC file equivalent to the input syntax tree.
|
ABCBytesRequestResult |
ABCGenerator.generate(String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project) |
ICodeGenerator.IConstantValue |
ICodeGenerator.generateConstantValue(IASNode subtree,
ICompilerProject project)
Helper method to expose the constant folding code to clients outside of the burm, such
as org.apache.flex.compiler.internal.as.definitions.ConstantDefinition.
|
ICodeGenerator.IConstantValue |
ABCGenerator.generateConstantValue(IASNode subtree,
ICompilerProject project)
Helper method to expose the constant folding code to clients outside of the burm, such
as org.apache.flex.compiler.internal.as.definitions.ConstantDefinition.
|
protected boolean |
MXMLClassDirectiveProcessor.generateDescriptorCode(IASNode node,
org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.Context context)
Determines whether the specified node should generate
code to be incorporated into a UIComponentDescriptor.
|
InstructionList |
ICodeGenerator.generateInstructions(IASNode subtree,
int goal_state,
LexicalScope scope)
Translate an AST into ABC instructions.
|
InstructionList |
ABCGenerator.generateInstructions(IASNode subtree,
int goal_state,
LexicalScope scope)
Translate an AST into ABC instructions.
|
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). |
Binding |
LexicalScope.getBinding(IASNode node,
Name name,
IDefinition def)
Get or create the Binding for a Name and its associated IDefinition.
|
org.apache.flex.compiler.internal.as.codegen.CmcEmitter.JBurgAnnotation |
CmcEmitter.getJBurgAnnotation(IASNode node) |
org.apache.flex.compiler.internal.as.codegen.CmcEmitter.JBurgAnnotation |
CmcEmitter.getJBurgAnnotation(IASNode node) |
static boolean |
MXMLClassDirectiveProcessor.isDataBindingNode(IASNode node)
Is a give node a "databinding node"?
|
protected boolean |
MXMLClassDirectiveProcessor.isStateDependent(IASNode node)
Determines whether a node is state-dependent.
|
protected boolean |
MXMLClassDirectiveProcessor.isStateDependentInstance(IASNode node)
Determines whether the geven node is an instance node, as is state dependent
|
org.apache.flex.compiler.internal.as.codegen.CmcEmitter.JBurgAnnotation |
CmcEmitter.label(IASNode to_be_labelled) |
org.apache.flex.compiler.internal.as.codegen.CmcEmitter.JBurgAnnotation |
CmcEmitter.label(IASNode to_be_labelled) |
void |
ABCGeneratingReducer.prologue_anonymousFunction(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_blockStmt_to_finally_clause(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_blockStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_catchBlock(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_countedForStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_doStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_forEachStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_forInStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_functionObject(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_labeledStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_mxmlEventSpecifier(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_switchStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_tryCatchFinallyStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_tryCatchStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_tryFinallyStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_typedFunction_to_statement(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_typelessFunction_to_statement(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_typeof(IASNode iNode)
Before reducing the operands of a typeof,
we need to increment the typeof counter.
|
void |
ABCGeneratingReducer.prologue_whileStmt(IASNode iNode) |
void |
ABCGeneratingReducer.prologue_withStmt(IASNode iNode) |
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_arrayLiteral(IASNode iNode,
Vector<InstructionList> elements) |
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) |
Binding |
ABCGeneratingReducer.reduce_attributeName(IASNode iNode,
Binding attr_name) |
InstructionList |
ABCGeneratingReducer.reduce_blockStmt_to_finally_clause(IASNode iNode,
Vector<InstructionList> stmts) |
InstructionList |
ABCGeneratingReducer.reduce_blockStmt_to_statement(IASNode iNode,
Vector<InstructionList> stmts) |
Boolean |
ABCGeneratingReducer.reduce_booleanLiteral(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_breakStmt(IASNode iNode) |
String |
ABCGeneratingReducer.reduce_by_concatenation(IASNode iNode,
String first,
String second) |
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) |
Object |
ABCGeneratingReducer.reduce_constantAddition(IASNode iNode,
Object l,
Object r)
reduce addition of two constant values.
|
ABCGeneratingReducer.ConditionalFragment |
ABCGeneratingReducer.reduce_constantConditionalFragment(IASNode iNode,
Object constantCondition,
Vector<InstructionList> consequents) |
String |
ABCGeneratingReducer.reduce_constantStringConcatenation(IASNode iNode,
Object l,
String r)
reduce a concatenation of a constant value and a string to a string constant.
|
String |
ABCGeneratingReducer.reduce_constantStringConcatenation(IASNode iNode,
String l,
Object r)
reduce a concatenation of a string and a constant value to a string constant.
|
String |
ABCGeneratingReducer.reduce_constantStringConcatenation(IASNode iNode,
String l,
String r)
reduce a concatenation of two strings to a string constant
|
InstructionList |
ABCGeneratingReducer.reduce_continueStmt(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_countedForStmt(IASNode iNode,
InstructionList init,
InstructionList test_insns,
InstructionList incr,
InstructionList body) |
Name |
ABCGeneratingReducer.reduce_declName(IASNode iNode) |
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_deleteNameExpr(IASNode iNode,
Binding n) |
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_embed(IASNode iNode) |
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_functionCallExpr_to_expression(IASNode iNode,
Binding method_name,
Vector<InstructionList> args) |
InstructionList |
ABCGeneratingReducer.reduce_functionCallExpr_to_void_expression(IASNode iNode,
Binding method_name,
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_gotoStmt(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_groupedVoidExpression(IASNode iNode,
Vector<InstructionList> contents) |
InstructionList |
ABCGeneratingReducer.reduce_ifElseIf(IASNode iNode,
InstructionList test,
InstructionList then,
Vector<ABCGeneratingReducer.ConditionalFragment> if_elseif) |
InstructionList |
ABCGeneratingReducer.reduce_importDirective(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_instructionListExpression(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_labeledBreakStmt(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_labeledContinueStmt(IASNode iNode) |
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) |
InstructionList |
ABCGeneratingReducer.reduce_mxmlEventSpecifier(IASNode iNode,
Vector<InstructionList> stmts) |
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname |
ABCGeneratingReducer.reduce_namespaceAccess_to_runtime_name(IASNode iNode,
Binding qualified_name) |
Binding |
ABCGeneratingReducer.reduce_namespaceAccess(IASNode iNode,
IASNode qualifier,
Binding qualified_name) |
InstructionList |
ABCGeneratingReducer.reduce_namespaceAsName_to_expression(IASNode iNode) |
Name |
ABCGeneratingReducer.reduce_namespaceAsName_to_multinameL(IASNode iNode) |
Name |
ABCGeneratingReducer.reduce_namespaceAsName_to_multinameL(IASNode iNode,
boolean is_attribute) |
Binding |
ABCGeneratingReducer.reduce_namespaceAsName_to_name(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_namespaceDeclaration(IASNode iNode,
Binding ns_name) |
InstructionList |
ABCGeneratingReducer.reduce_namespaceDeclarationConstantInitializer(IASNode iNode,
Binding ns_name,
Namespace initializer)
Does the work for the various reduce_namespaceDecl methods.
|
InstructionList |
ABCGeneratingReducer.reduce_namespaceDeclarationConstantInitializer(IASNode iNode,
Binding ns_name,
String uri) |
InstructionList |
ABCGeneratingReducer.reduce_namespaceDeclarationInitializer(IASNode iNode,
Binding ns_name,
Binding second_ns) |
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_newEmptyArray(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_newEmptyObject(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_newExpr(IASNode iNode,
Binding class_binding,
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_nilExpr_to_conditionalJump(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_nilExpr_to_expression(IASNode iNode) |
Object |
ABCGeneratingReducer.reduce_nullLiteral_to_constant_value(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_nullLiteral_to_object_literal(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_objectLiteral(IASNode iNode,
Vector<InstructionList> elements) |
InstructionList |
ABCGeneratingReducer.reduce_objectLiteralElement(IASNode iNode,
InstructionList id,
InstructionList value) |
InstructionList |
ABCGeneratingReducer.reduce_optionalParameter(IASNode iNode,
Name param_name,
Binding param_type,
Object raw_default_value) |
Binding |
ABCGeneratingReducer.reduce_parameterizedName(IASNode iNode,
Binding base,
Binding param) |
InstructionList |
ABCGeneratingReducer.reduce_parameterizedTypeExpression(IASNode iNode,
InstructionList base,
InstructionList param) |
InstructionList |
ABCGeneratingReducer.reduce_plist(IASNode iNode,
Vector<InstructionList> pdecl) |
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_postDecNameExpr(IASNode iNode,
Binding unary,
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_postIncNameExpr(IASNode iNode,
Binding unary,
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_preDecNameExpr(IASNode iNode,
Binding unary,
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_preIncNameExpr(IASNode iNode,
Binding unary,
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_regexLiteral(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_requiredParameter(IASNode iNode,
Name param_name,
Binding param_type) |
InstructionList |
ABCGeneratingReducer.reduce_restParameter(IASNode iNode,
Name param_name,
Binding param_type) |
InstructionList |
ABCGeneratingReducer.reduce_returnValue(IASNode iNode,
InstructionList value) |
InstructionList |
ABCGeneratingReducer.reduce_returnVoid(IASNode iNode) |
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) |
Binding |
ABCGeneratingReducer.reduce_simpleName(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_strictneqExpr(IASNode iNode,
InstructionList l,
InstructionList r) |
Binding |
ABCGeneratingReducer.reduce_superAccess(IASNode iNode,
Binding qualified_name) |
InstructionList |
ABCGeneratingReducer.reduce_superCallExpr(IASNode iNode,
Vector<InstructionList> args) |
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_typedBindableVariableDecl(IASNode iNode,
Name name,
Binding var_type,
Vector<InstructionList> chained_decls) |
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_typedVariableDecl(IASNode iNode,
Name var_name,
Binding var_type,
Vector<InstructionList> chained_decls) |
InstructionList |
ABCGeneratingReducer.reduce_typedVariableDeclWithConstantInitializer(IASNode iNode,
Name var_name,
Binding var_type,
Object constant_var_initializer,
Vector<InstructionList> chained_decls) |
InstructionList |
ABCGeneratingReducer.reduce_typedVariableDeclWithInitializer(IASNode iNode,
Name var_name,
Binding var_type,
InstructionList var_initializer,
Vector<InstructionList> chained_decls) |
Binding |
ABCGeneratingReducer.reduce_typedVariableExpression(IASNode iNode,
Name var_name,
Binding var_type) |
InstructionList |
ABCGeneratingReducer.reduce_typelessFunction(IASNode iNode,
InstructionList plist,
InstructionList block) |
InstructionList |
ABCGeneratingReducer.reduce_typeNameParameter(IASNode iNode,
Binding param_name)
Reduce a name to an instruction list that can be used in a parameterized type expression.
|
InstructionList |
ABCGeneratingReducer.reduce_typeof_expr(IASNode iNode,
InstructionList operand) |
InstructionList |
ABCGeneratingReducer.reduce_typeof_name(IASNode iNode,
Binding binding) |
InstructionList |
ABCGeneratingReducer.reduce_unqualifiedAttributeExpr(IASNode iNode,
InstructionList stem,
InstructionList rt_attr,
int opcode) |
InstructionList |
ABCGeneratingReducer.reduce_useNamespaceDirective(IASNode iNode,
Binding ns_name) |
InstructionList |
ABCGeneratingReducer.reduce_variableExpression(IASNode iNode,
Vector<InstructionList> decls) |
InstructionList |
ABCGeneratingReducer.reduce_vectorLiteral(IASNode iNode,
Binding type_param,
Vector<InstructionList> elements) |
Object |
ABCGeneratingReducer.reduce_void0Literal_to_constant_value(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_void0Literal_to_object_literal(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_void0Operator(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.reduce_voidExpr_to_expression(IASNode iNode) |
Binding |
ABCGeneratingReducer.reduce_voidExpr_to_return_type_name(IASNode node) |
Binding |
ABCGeneratingReducer.reduce_voidExpr_to_type_name(IASNode node) |
Object |
ABCGeneratingReducer.reduce_voidOperator_to_constant_value(IASNode iNode,
Object constant_value) |
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) |
InstructionList |
ABCGeneratingReducer.reduce_XMLContent(IASNode iNode,
Vector<InstructionList> exprs) |
InstructionList |
ABCGeneratingReducer.reduce_XMLList(IASNode iNode,
Vector<InstructionList> exprs) |
InstructionList |
ABCGeneratingReducer.reduce_XMLListConst(IASNode iNode,
Vector<String> elements) |
InstructionList |
ABCGeneratingReducer.reduceName_to_mxmlDataBindingSetter(IASNode nameNode,
Binding name)
Reduce a compile time constant name ( x ) in an MXML data binding
destination to: x = firstParam.
|
InstructionList |
ABCGeneratingReducer.reduceRuntimeName_to_mxmlDataBindingSetter(IASNode runtimeNameNode,
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname runtime_name_expression)
Reduce a runtime name ( nsVar::x ) in an MXML data binding
destination to: nsVar::x = firstParam
This reduction is used when the qualifer is not a compiler time constant namespace.
|
Object |
ICodeGenerator.reduceSubtree(IASNode subtree,
LexicalScope scope,
int goal)
Reduce an AST to its equivalent ABC structures.
|
Object |
ABCGenerator.reduceSubtree(IASNode subtree,
LexicalScope scope,
int goal)
Reduce an AST to its equivalent ABC structures.
|
void |
ControlFlowContextManager.startLoopControlFlowContext(IASNode loopContents)
Called by a reduction's Prologue section to establish an active
LoopControlFlowContext . |
Object |
ABCGeneratingReducer.transform_boolean_constant_to_constant(IASNode iNode,
Boolean boolean_constant)
transform a boolean_constant to a constant_value - essentially a no-op, but need a reduction
so we can assign it a cost
|
InstructionList |
ABCGeneratingReducer.transform_boolean_constant(IASNode iNode,
Boolean boolean_constant) |
InstructionList |
ABCGeneratingReducer.transform_constant_value(IASNode iNode,
Object constant_value)
Transform any constant_value into an expression, so we can constant fold all sorts of expressions.
|
InstructionList |
ABCGeneratingReducer.transform_double_constant(IASNode iNode,
Double double_constant) |
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) |
InstructionList |
ABCGeneratingReducer.transform_integer_constant(IASNode iNode,
Integer integer_constant) |
InstructionList |
ABCGeneratingReducer.transform_long_constant(IASNode iNode,
Long long_constant) |
Object |
ABCGeneratingReducer.transform_name_to_constant_value(IASNode iNode) |
InstructionList |
ABCGeneratingReducer.transform_name_to_expression(IASNode iNode,
Binding name) |
InstructionList |
ABCGeneratingReducer.transform_non_resolving_identifier(IASNode iNode,
String non_resolving_identifier) |
Object |
ABCGeneratingReducer.transform_numeric_constant_to_constant(IASNode iNode,
Number numeric_constant)
transform a numeric_constant to a constant_value - essentially a no-op, but need a reduction
so we can assign it a cost
|
InstructionList |
ABCGeneratingReducer.transform_numeric_constant(IASNode iNode,
Number numeric_constant) |
InstructionList |
ABCGeneratingReducer.transform_pooled_value(IASNode iNode,
PooledValue pooled_value)
Transform any PooledValue into an expression, so we can constant fold all sorts of expressions.
|
InstructionList |
ABCGeneratingReducer.transform_runtime_name_expression(IASNode iNode,
org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.RuntimeMultiname runtime_name_expression) |
Object |
ABCGeneratingReducer.transform_string_constant_to_constant(IASNode iNode,
String string_constant)
transform a string_constant to a constant_value - essentially a no-op, but need a reduction
so we can assign it a cost
|
InstructionList |
ABCGeneratingReducer.transform_string_constant(IASNode iNode,
String string_constant) |
InstructionList |
ABCGeneratingReducer.transform_uint_constant(IASNode iNode,
Long uint_constant) |
Constructor and Description |
---|
Binding(IASNode node,
Binding other)
Construct a Binding with the given node, but that otherwise has the same
properties as the other binding passed in.
|
Binding(IASNode node,
Name name,
IDefinition def)
Construct a Binding.
|
ControlFlowContext(IASNode controlFlowTreeNode) |
Modifier and Type | Method and Description |
---|---|
String |
Emitter.stringifyNode(IASNode node)
Takes the node argument and created a String representation if it using
the buffer temporarily.
|
Modifier and Type | Method and Description |
---|---|
void |
ASEmitter.emitStatement(IASNode node) |
void |
ASBeforeNodeStrategy.handle(IASNode node) |
void |
ASAfterNodeStrategy.handle(IASNode node) |
protected static boolean |
ASEmitter.isLastStatement(IASNode node) |
String |
ASEmitter.stringifyNode(IASNode node) |
void |
ASBlockWalker.walk(IASNode node) |
Modifier and Type | Method and Description |
---|---|
WatcherInfoBase |
BindingDatabase.getOrCreateWatcher(WatcherInfoBase parent,
WatcherInfoBase.WatcherType type,
Object watcherKey,
Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames)
Searches for appropriate existing watcher, or creates new one.
|
Constructor and Description |
---|
FunctionWatcherInfo(Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames) |
PropertyWatcherInfo(Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames)
Constructor
|
StaticPropertyWatcherInfo(Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames) |
WatcherInfoBase(Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames) |
XMLWatcherInfo(Collection<ICompilerProblem> problems,
IASNode sourceNode,
List<String> eventNames) |
Modifier and Type | Field and Description |
---|---|
ISubEmitter<IASNode> |
JSEmitter.statementEmitter |
Modifier and Type | Method and Description |
---|---|
void |
JSEmitter.emitClosureEnd(IASNode node,
IDefinition nodeDef) |
void |
JSEmitter.emitStatement(IASNode node) |
String |
JSDocEmitter.stringifyNode(IASNode node) |
Modifier and Type | Method and Description |
---|---|
static IExpressionNode |
TempTools.getNode(IASNode iNode,
Boolean toRight,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
static void |
TempTools.fillStaticStatements(IClassNode node,
List<IASNode> list,
boolean excludeFields) |
Modifier and Type | Method and Description |
---|---|
void |
JSFlexJSEmitter.emitClosureEnd(IASNode node,
IDefinition nodeDef) |
void |
JSFlexJSEmitter.emitStatement(IASNode node) |
void |
JSFlexJSEmitter.emitSuperCall(IASNode node,
String type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
JSGoogDocEmitter.containsThisReference(IASNode node) |
void |
JSGoogDocEmitter.emitPrivate(IASNode node) |
void |
JSGoogDocEmitter.emitProtected(IASNode node) |
void |
JSGoogDocEmitter.emitPublic(IASNode node) |
protected void |
JSGoogEmitter.emitSuperCall(IASNode node,
String type) |
void |
JSGoogDocEmitter.emitType(IASNode node,
String packageName) |
void |
JSGoogDocEmitter.emitTypeShort(IASNode node,
String packageName) |
Modifier and Type | Method and Description |
---|---|
void |
StatementEmitter.emit(IASNode node) |
void |
SuperCallEmitter.emit(IASNode node,
String type) |
protected static boolean |
StatementEmitter.isLastStatement(IASNode node) |
protected void |
SuperCallEmitter.super_emitSuperCall(IASNode node,
String type) |
Modifier and Type | Method and Description |
---|---|
static IContainerNode |
EmitterUtils.insertArgumentsAfter(IContainerNode argumentsNode,
IASNode... nodes) |
static IContainerNode |
EmitterUtils.insertArgumentsAt(IContainerNode argumentsNode,
int index,
IASNode... nodes) |
static IContainerNode |
EmitterUtils.insertArgumentsBefore(IContainerNode argumentsNode,
IASNode... nodes) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSVF2JSEmitter.emitSuperCall(IASNode node,
String type) |
Modifier and Type | Method and Description |
---|---|
protected void |
MXMLEmitter.emitAttributeValue(IASNode node) |
void |
MXMLBlockWalker.walk(IASNode node) |
Modifier and Type | Method and Description |
---|---|
protected void |
MXMLFlexJSEmitter.emitAttributeValue(IASNode node) |
static boolean |
MXMLFlexJSEmitter.isDataBindingNode(IASNode node)
Is a give node a "databinding node"?
|
protected boolean |
MXMLFlexJSEmitter.isStateDependent(IASNode node)
Determines whether a node is state-dependent.
|
protected boolean |
MXMLFlexJSEmitter.isStateDependentInstance(IASNode node)
Determines whether the geven node is an instance node, as is state dependent
|
Modifier and Type | Method and Description |
---|---|
protected void |
MXMLVF2JSEmitter.emitAttributeValue(IASNode node) |
static boolean |
MXMLVF2JSEmitter.isDataBindingNode(IASNode node)
Is a give node a "databinding node"?
|
protected boolean |
MXMLVF2JSEmitter.isStateDependent(IASNode node)
Determines whether a node is state-dependent.
|
protected boolean |
MXMLVF2JSEmitter.isStateDependentInstance(IASNode node)
Determines whether the geven node is an instance node, as is state dependent
|
Modifier and Type | Method and Description |
---|---|
IASNode[] |
ConfigProcessor.getConfigChildren()
Returns any children created by this config processor
|
Modifier and Type | Method and Description |
---|---|
void |
FlexJSProject.addToASTCache(IASNode ast) |
void |
CompilerProject.addToASTCache(IASNode ast)
Add AST to cache.
|
boolean |
FlexProject.isValidTypeConversion(IASNode node,
IDefinition actualDefinition,
IDefinition expectedDefinition,
FunctionDefinition func) |
boolean |
CompilerProject.isValidTypeConversion(IASNode node,
IDefinition actualDefinition,
IDefinition expectedDefinition,
FunctionDefinition func) |
Modifier and Type | Method and Description |
---|---|
IASNode |
ASFileScope.getNode()
Get the IASNode this FileScope came from.
|
IASNode |
ASFileScope.reparseFile()
Re-parse the file this scope was built for.
|
Modifier and Type | Method and Description |
---|---|
static IASNode |
SemanticUtils.getFunctionProblemNode(IFunctionNode iNode)
Helper method to get the node to report a problem with a Function.
|
static IASNode |
SemanticUtils.getNthChild(IASNode node,
int index)
Get the Nth child of a node per the BURM's semantics.
|
IASNode |
SemanticUtils.getPotentiallyParameterizedType(IASNode iNode)
Fetch the most appropriate part of a type name for diagnostics.
|
Modifier and Type | Method and Description |
---|---|
void |
MethodBodySemanticChecker.addTypeProblem(IASNode typeNode,
IDefinition typeDef,
String typeDesc,
boolean reportAmbiguousReference)
Add the appropriate Problem when a type annotation did not resolve to a Type
|
static boolean |
SemanticUtils.canNestedFunctionBeHoisted(IASNode iNode)
Check if a nested function can have it's init instructions hoisted to the top of the
function it is contained in.
|
void |
MethodBodySemanticChecker.checkAssignment(IASNode iNode,
Binding binding)
Perform semantic checks on an assignment.
|
void |
MethodBodySemanticChecker.checkAssignmentValue(IDefinition leftDefinition,
IASNode rightNode)
Checks that the value (RHS) is appropriate, given the type of the LHS
|
void |
MethodBodySemanticChecker.checkAssignToBracketExpr(IASNode iNode)
Perform semantic checks on an x[i] = rvalue assignment expression.
|
void |
MethodBodySemanticChecker.checkBinaryOperator(IASNode root,
IASNode left,
IASNode right,
int opcode)
Check a (possibly implicit) binary operator.
|
void |
MethodBodySemanticChecker.checkBinaryOperator(IASNode iNode,
int opcode)
Check a binary operator.
|
void |
MethodBodySemanticChecker.checkBindableVariableDeclaration(IASNode iNode,
IDefinition d)
Check if we are allowed to declare a bindable variable at this location.
|
void |
MethodBodySemanticChecker.checkCompoundAssignment(IASNode iNode,
Binding lvalue,
int opcode)
Check a compound assignment.
|
void |
MethodBodySemanticChecker.checkConstantValue(IASNode iNode)
Check a constant value used in a non-initializer context.
|
void |
MethodBodySemanticChecker.checkControlFlow(IASNode iNode,
MethodInfo mi,
MethodBodyInfo mbi)
Perform semantic checks that require flow-aware analysis.
|
void |
MethodBodySemanticChecker.checkDefaultSuperCall(IASNode iNode)
Check that a synthetic super() call is allowed by the class' superclass.
|
void |
MethodBodySemanticChecker.checkDeleteExpr(IASNode iNode,
Binding binding)
Perform semantic checks on a delete expression.
|
void |
MethodBodySemanticChecker.checkExplicitSuperCall(IASNode iNode,
Vector<? extends Object> args)
Check a super() or super(a,b,c) call.
|
void |
MethodBodySemanticChecker.checkFunctionBody(IASNode iNode)
Check a function body's overall characteristics.
|
void |
MethodBodySemanticChecker.checkFunctionCall(IASNode iNode,
Binding method_binding,
Vector<? extends Object> actuals)
Check a function call.
|
boolean |
MethodBodySemanticChecker.checkFunctionForConflictingDefinitions(IASNode iNode,
FunctionDefinition funcDef)
Check for other definitions that might conflict with the function passed in.
|
void |
MethodBodySemanticChecker.checkImplicitConversion(IASNode iNode,
IDefinition expected_type,
FunctionDefinition func)
Check an implicit conversion.
|
void |
MethodBodySemanticChecker.checkIncDec(IASNode iNode,
boolean is_incr)
Check foo++ and foo-- expressions.
|
void |
MethodBodySemanticChecker.checkIncDec(IASNode iNode,
boolean is_incr,
Binding binding)
Check foo++ and foo-- expressions.
|
void |
MethodBodySemanticChecker.checkInitialization(IASNode iNode,
Binding binding)
Perform semantic checks on an initialization
|
void |
MethodBodySemanticChecker.checkInterfaceFunctionForConflictingDefinitions(IASNode iNode,
FunctionDefinition funcDef)
Check for other definitions that might conflict with the function passed in.
|
void |
MethodBodySemanticChecker.checkLValue(IASNode iNode,
Binding binding)
Perform semantic checks on an lvalue,
i.e., the target of an assignment
or other storage-mutating operation.
|
void |
MethodBodySemanticChecker.checkMemberAccess(IASNode iNode,
Binding member,
int opcode)
Check a member access expression.
|
void |
MethodBodySemanticChecker.checkNamespaceDeclaration(IASNode iNode,
Binding ns_name)
Check a namespace declaration.
|
void |
MethodBodySemanticChecker.checkNamespaceOfDefinition(IASNode iNode,
IDefinition def,
ICompilerProject project)
Check that the namespace of the definition is valid
|
void |
MethodBodySemanticChecker.checkNativeMethod(IASNode iNode) |
void |
MethodBodySemanticChecker.checkNewExpr(IASNode call_node)
Check a "new expression".
|
void |
MethodBodySemanticChecker.checkNewExpr(IASNode iNode,
Binding class_binding,
Vector<? extends Object> args)
Check a new expression.
|
void |
MethodBodySemanticChecker.checkQualifier(IASNode iNode)
Check the qualifier of a qualified name ('a' in 'a::foo')
|
void |
MethodBodySemanticChecker.checkRestParameter(IASNode iNode,
Binding param_type)
Check a rest parameter declaration (...rest)
|
void |
MethodBodySemanticChecker.checkReturnValue(IASNode iNode)
Check a return expression that returns a value.
|
void |
MethodBodySemanticChecker.checkReturnVoid(IASNode iNode)
Check a return expression that returns void.
|
void |
MethodBodySemanticChecker.checkSimpleName(IASNode iNode,
Binding binding)
Check a simple name reference.
|
void |
MethodBodySemanticChecker.checkSuperAccess(IASNode iNode)
Ensure a super-qualified access is in an instance method.
|
void |
MethodBodySemanticChecker.checkThrow(IASNode iNode)
Check a throw statement.
|
void |
MethodBodySemanticChecker.checkTypeCheckImplicitConversion(IASNode iNode)
Check an implicit conversion in an 'is' or 'as' binop
|
void |
MethodBodySemanticChecker.checkUnaryOperator(IASNode iNode,
int opcode)
Check a unary operator.
|
void |
MethodBodySemanticChecker.checkUseNamespaceDirective(IASNode iNode,
Binding ns_name)
Check a use namespace directive.
|
void |
MethodBodySemanticChecker.checkVariableDeclaration(IASNode iNode)
Check a variable declaration.
|
void |
MethodBodySemanticChecker.checkVariableForConflictingDefinitions(IASNode iNode,
VariableDefinition varDef)
Check for other definitions that might conflict with the variable passed in.
|
void |
MethodBodySemanticChecker.checkVectorLiteral(IASNode iNode,
Binding type_param)
Check a Vector literal.
|
static ICompilerProblem |
SemanticUtils.createDeprecationProblem(IDefinition definition,
IASNode site)
Uses the
[Deprecated] metadata of the specified definition
to create one of five different deprecation problems, depending on
the presence of message , since , and
replacement attributes in the metadata. |
static IDefinition |
SemanticUtils.findMemberByName(IASNode iNode,
String member_name,
boolean match_static_to_static,
ICompilerProject project)
Find a member definition, given its name.
|
boolean |
MethodBodySemanticChecker.functionBodyHasNonInlineableNodes(IASNode n,
boolean reportInlineProblems,
String functionName,
AtomicInteger exprCount)
Check for any constructs we know we can't inline, or if the function is too large
|
static boolean |
SemanticUtils.functionMustReturnValue(IASNode iNode,
ICompilerProject project)
Does the subject function require a non-void return value?
|
static ASScope |
SemanticUtils.getASScope(IASNode iNode)
Get the given node's containing scope.
|
IDefinition |
SemanticUtils.getBaseClassDefinition(IASNode iNode)
Fetch the definiton of the given node's
class' base class.
|
static IDefinition |
SemanticUtils.getBaseClassDefinition(IASNode iNode,
ICompilerProject project)
Fetch the definition of the given node's
class' base class.
|
static Boolean |
SemanticUtils.getBooleanContent(IASNode iNode) |
static int |
SemanticUtils.getChildCount(IASNode node)
Get the child count for nodes whose
CodeModel-centric child count isn't
reliable.
|
ASScope |
SemanticUtils.getClassScope(IASNode iNode)
Get the ASScope of the class that contains an inode.
|
static ASScope |
SemanticUtils.getClassScope(IASNode iNode,
ICompilerProject project)
Get the ASScope of the class that contains an inode.
|
IDefinition |
SemanticUtils.getDefinition(IASNode iNode)
Get the definition associated with a IASNode.
|
static IDefinition |
SemanticUtils.getDefinition(IASNode iNode,
ICompilerProject project)
Get the definition associated with a IASNode.
|
IDefinition |
SemanticUtils.getDefinitionOfUnderlyingType(IASNode iNode,
boolean allow_unknown_iNode)
Get the definition of the explicit or implicit type underlying
an iNode's reference(s).
|
static IDefinition |
SemanticUtils.getDefinitionOfUnderlyingType(IASNode iNode,
boolean allow_unknown_iNode,
ICompilerProject project)
Get the definition of the explicit or implicit type underlying
an iNode's reference(s).
|
static String |
SemanticUtils.getDiagnosticString(IASNode iNode)
Get an abstract string description of a node, suitable for a diagnostic.
|
static Double |
SemanticUtils.getDoubleContent(IASNode iNode) |
String |
SemanticUtils.getEnclosingClassName(IASNode iNode)
Get the name of the class enclosing an instance function in which
some problematic construct resides.
|
static String |
SemanticUtils.getEnclosingClassName(IASNode iNode,
ICompilerProject project)
Get the name of the class enclosing an instance function in which
some problematic construct resides.
|
FunctionDefinition |
SemanticUtils.getEnclosingFunctionDefinition(IASNode iNode)
Find the definition of the function that encloses the given node, if any.
|
static FunctionDefinition |
SemanticUtils.getEnclosingFunctionDefinition(IASNode iNode,
ICompilerProject project)
Find the definition of the function that encloses the given node, if any.
|
static String |
SemanticUtils.getFileName(IASNode iNode)
Helper method to get the file path from an IASNode
|
static FunctionDefinition |
SemanticUtils.getFunctionDefinition(IASNode iNode)
Locate a FunctionDefinition that encloses the given i-node.
|
static String |
SemanticUtils.getIdentifierContent(IASNode iNode) |
static Integer |
SemanticUtils.getIntegerContent(IASNode iNode) |
static IMXMLEventSpecifierNode |
SemanticUtils.getMXMLEventSpecifierContent(IASNode iNode) |
static IASNode |
SemanticUtils.getNthChild(IASNode node,
int index)
Get the Nth child of a node per the BURM's semantics.
|
static Nsset |
SemanticUtils.getOpenNamespaces(IASNode iNode,
ICompilerProject project)
Get the set of open namespaces for the given node.
|
static Nsset |
SemanticUtils.getOpenNamespacesForSuper(IASNode iNode,
ICompilerProject project,
IDefinition superDef)
Get the set of open namespaces for the given node,
as appropriate for
super[...] |
static IDefinition |
SemanticUtils.getParameterContent(IASNode iNode) |
IASNode |
SemanticUtils.getPotentiallyParameterizedType(IASNode iNode)
Fetch the most appropriate part of a type name for diagnostics.
|
static String |
SemanticUtils.getStringLiteralContent(IASNode iNode) |
String |
SemanticUtils.getTypeOfBase(IASNode node)
Get the type of a node's base expression as a string.
|
static String |
SemanticUtils.getTypeOfBase(IASNode node,
ICompilerProject project)
Get the type of a node's base expression as a string.
|
String |
SemanticUtils.getTypeOfStem(IASNode node)
Get the type of an expression's stem.
|
static String |
SemanticUtils.getTypeOfStem(IASNode iNode,
ICompilerProject project)
Get the type of an expression's stem.
|
static Long |
SemanticUtils.getUintContent(IASNode iNode) |
boolean |
SemanticUtils.hasBaseClassDefinition(IASNode iNode)
Is the given node in a class with a base class definition?
|
static boolean |
SemanticUtils.hasBaseClassDefinition(IASNode iNode,
ICompilerProject project)
Is the given node in a class with a base class definition?
|
static boolean |
SemanticUtils.hasDeprecatedAncestor(IASNode node)
Determines whether the specified node has an ancestor
which is a definition node with
[Deprecated] metadata. |
static boolean |
SemanticUtils.hasExplicitStem(IASNode iNode)
Does the given node have an explicit stem reference, e.g., foo.bar?
|
boolean |
SemanticUtils.hasUnderlyingType(IASNode iNode)
Does the given inode have an underlying type that could
resolve its references?
|
static boolean |
SemanticUtils.hasUnderlyingType(IASNode iNode,
ICompilerProject project)
Does the given inode have an underlying type that could
resolve its references?
|
boolean |
SemanticUtils.isConst(IASNode iNode)
Is the given definition const?
|
static boolean |
SemanticUtils.isConst(IASNode iNode,
ICompilerProject project)
Is the given definition const?
|
static int |
SemanticUtils.isDottedName(IASNode n)
Explore a MemberAccessNode and decide if
its stem is a referenceto a package.
|
static boolean |
SemanticUtils.isImplicitContainer(IASNode iNode)
Is this container an implicit container?
|
boolean |
SemanticUtils.isInaccessible(IASNode iNode,
Binding member)
Is the given binding an inaccessible reference?
|
static boolean |
SemanticUtils.isInaccessible(IASNode iNode,
Binding member,
ICompilerProject project)
Is the given binding an inaccessible reference?
|
static boolean |
SemanticUtils.isInConstructor(IASNode iNode)
Is the given node in a constructor?
|
static boolean |
SemanticUtils.isInFilter(IASNode iNode)
Is the given node in a filter expression?
|
static boolean |
SemanticUtils.isInFunction(IASNode iNode)
Is this node enclosed in a function definition?
|
boolean |
SemanticUtils.isInInstanceFunction(IASNode iNode)
Is the given inode in an instance function?
|
static boolean |
SemanticUtils.isInInstanceFunction(IASNode iNode,
ICompilerProject project)
Is the given inode in an instance function?
|
static boolean |
SemanticUtils.isInStaticClassFunction(IASNode iNode,
ICompilerProject project)
Is the given inode in a static function?
|
static boolean |
SemanticUtils.isInVariableDeclaration(IASNode iNode)
Is the given i-node inside a variable declaration?
|
static boolean |
SemanticUtils.isInWith(IASNode iNode)
Is the given node in a with scope?
|
ICompilerProblem |
MethodBodySemanticChecker.isMissingMember(IASNode iNode) |
static boolean |
SemanticUtils.isNestedClassProperty(IASNode iNode,
VariableDefinition def)
Is this node declaring a property in a class, but also nested inside
another statement.
|
static int |
SemanticUtils.isSuperThisForFieldAccess(IASNode n)
Check if the node is for
super(this) but not
super(this).call() . |
static boolean |
SemanticUtils.isThisKeyword(IASNode iNode)
Does this node represent the "this" keyword?
|
static boolean |
SemanticUtils.isUnprotectedAssignmentInConditional(IASNode node)
Decide if an assignment node is in a context that merits a warning.
|
int |
SemanticUtils.qualifierIsCompileTimeConstant(IASNode iNode)
Get the definition associated with a node's qualifier
and decide if the qualifier is a compile-time constant.
|
static int |
SemanticUtils.qualifierIsCompileTimeConstant(IASNode iNode,
ICompilerProject project)
Get the definition associated with a node's qualifier
and decide if the qualifier is a compile-time constant.
|
int |
SemanticUtils.qualifierIsInterface(IASNode iNode)
Get the definition associated with a node's qualifier
and decide if the qualifier is an interface name.
|
static int |
SemanticUtils.qualifierIsInterface(IASNode iNode,
ICompilerProject project)
Get the definition associated with a node's qualifier
and decide if the qualifier is an interface name.
|
static ITypeDefinition |
SemanticUtils.resolveRHSTypeOfAssignment(ICompilerProject project,
IASNode iNode)
Calculate the type of the RHS of an assignment.
|
IDefinition |
SemanticUtils.resolveType(IASNode iNode) |
static IDefinition |
SemanticUtils.resolveType(IASNode iNode,
ICompilerProject project) |
static IDefinition |
SemanticUtils.resolveUnaryExprType(IASNode iNode,
ICompilerProject project)
Resolve the type of the underlying expression in a UnaryOperatorNode.
|
Object |
SemanticUtils.transformNameToConstantValue(IASNode iNode)
Transform a leaf AST into a compile-time constant;
note that more complex constant folding is done by
a series of rules in the BURM.
|
static Object |
SemanticUtils.transformNameToConstantValue(IASNode iNode,
ICompilerProject project)
Transform a leaf AST into a compile-time constant;
note that more complex constant folding is done by
a series of rules in the BURM.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FlexTarget.codegenInfoMethod(ClassGeneratorHelper classGen,
Integer compatibilityVersion,
String mainClassQName,
IResolvedQualifiersReference preloaderReference,
IResolvedQualifiersReference runtimeDPIProviderReference,
org.apache.flex.compiler.internal.targets.FlexSplashScreenImage splashScreen,
IASNode rootNode,
ITargetAttributes targetAttributes,
Collection<String> compiledLocales,
org.apache.flex.compiler.internal.targets.FlexFrame1Info frame1Info,
Set<String> accessibilityClassNames,
String flexInitClassName,
String stylesClassName,
List<String> rsls,
org.apache.flex.compiler.internal.targets.FlexRSLInfo rslInfo,
Collection<ICompilerProblem> problemCollection,
boolean isAppFlexInfo)
Codegen the IFlexModuleFactory.info() method.
|
Constructor and Description |
---|
NodesToXMLStringFormatter(IASNode n)
Construct a NodeFormatter and generate a string
representation of the input tree, with the node
descriptions encoded as UTF-8.
|
NodesToXMLStringFormatter(IASNode n,
boolean escape_descriptions)
Construct a NodeFormatter and generate a string
representation of the input tree.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IInitializableDefinitionNode
AST node for a definition that can have a initializer.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessorNode
ActionScript parse tree node that acts as a base class for getters and
setters.
|
class |
ArrayLiteralNode
Represents a literal node array that contains nodes within an array literal
statement: [ foo, bar, baz ]
|
class |
BaseDefinitionNode |
class |
BaseLiteralContainerNode
Base container node for a literal that is made up of other literals, like XML
or arrays
|
class |
BaseStatementExpressionNode
Represents the base type for expression statements, such as a throw statement
or a return statement
|
class |
BaseStatementNode
Base class for statements that have a conditional, with contents
|
class |
BaseTypedDefinitionNode
Base class for definitions that have a type associated with them
|
class |
BaseVariableNode
Base class for variables, including both traditional variables as well as
arguments
|
class |
BinaryOperatorAsNode
Final subclass of
BinaryOperatorNodeBase for the 'as ' operator. |
class |
BinaryOperatorAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '= ' operator. |
class |
BinaryOperatorBitwiseAndAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '&= ' operator. |
class |
BinaryOperatorBitwiseAndNode
Subclass of
BinaryOperatorNodeBase for the '& ' operator. |
class |
BinaryOperatorBitwiseLeftShiftAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '<<= ' operator. |
class |
BinaryOperatorBitwiseLeftShiftNode
Subclass of
BinaryOperatorNodeBase for the '<< ' operator. |
class |
BinaryOperatorBitwiseOrAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '|= ' operator. |
class |
BinaryOperatorBitwiseOrNode
Subclass of
BinaryOperatorNodeBase for the '| ' operator. |
class |
BinaryOperatorBitwiseRightShiftAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '>>= ' operator. |
class |
BinaryOperatorBitwiseRightShiftNode
Subclass of
BinaryOperatorNodeBase for the '>> ' operator. |
class |
BinaryOperatorBitwiseUnsignedRightShiftAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '>>>= ' operator. |
class |
BinaryOperatorBitwiseUnsignedRightShiftNode
Subclass of
BinaryOperatorNodeBase for the '>>> ' operator. |
class |
BinaryOperatorBitwiseXorAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '^= ' operator. |
class |
BinaryOperatorBitwiseXorNode
Subclass of
BinaryOperatorNodeBase for the '^ ' operator. |
class |
BinaryOperatorCommaNode
Final subclass of
BinaryOperatorNodeBase for the ', ' operator. |
class |
BinaryOperatorDivisionAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '/= ' operator. |
class |
BinaryOperatorDivisionNode
Subclass of
BinaryOperatorNodeBase for the '/ ' operator. |
class |
BinaryOperatorEqualNode
Final subclass of
BinaryOperatorNodeBase for the '== ' operator. |
class |
BinaryOperatorGreaterThanEqualsNode
Final subclass of
BinaryOperatorNodeBase for the '>= ' operator. |
class |
BinaryOperatorGreaterThanNode
Final subclass of
BinaryOperatorNodeBase for the '> ' operator. |
class |
BinaryOperatorInNode
Final subclass of
BinaryOperatorNodeBase for the 'in ' operator. |
class |
BinaryOperatorInstanceOfNode
Final subclass of
BinaryOperatorNodeBase for the 'instanceof ' operator. |
class |
BinaryOperatorIsNode
Final subclass of
BinaryOperatorNodeBase for the 'is ' operator. |
class |
BinaryOperatorLessThanEqualsNode
Final subclass of
BinaryOperatorNodeBase for the '<= ' operator. |
class |
BinaryOperatorLessThanNode
Final subclass of
BinaryOperatorNodeBase for the '< ' operator. |
class |
BinaryOperatorLogicalAndAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '&&= ' operator. |
class |
BinaryOperatorLogicalAndNode
Subclass of
BinaryOperatorNodeBase for the '&& ' operator. |
class |
BinaryOperatorLogicalOrAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '||= ' operator. |
class |
BinaryOperatorLogicalOrNode
Subclass of
BinaryOperatorNodeBase for the '|| ' operator. |
class |
BinaryOperatorMinusAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '-= ' operator. |
class |
BinaryOperatorMinusNode
Subclass of
BinaryOperatorNodeBase for the '- ' operator. |
class |
BinaryOperatorModuloAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '%= ' operator. |
class |
BinaryOperatorModuloNode
Subclass of
BinaryOperatorNodeBase for the '% ' operator. |
class |
BinaryOperatorMultiplicationAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '*= ' operator. |
class |
BinaryOperatorMultiplicationNode
Subclass of
BinaryOperatorNodeBase for the '* ' operator. |
class |
BinaryOperatorNodeBase
Abstract base class for all binary operator nodes.
|
class |
BinaryOperatorNotEqualNode
Final subclass of
BinaryOperatorNodeBase for the '! |
class |
BinaryOperatorPlusAssignmentNode
Final subclass of
BinaryOperatorNodeBase for the '+= ' operator. |
class |
BinaryOperatorPlusNode
Subclass of
BinaryOperatorNodeBase for the '+ ' operator. |
class |
BinaryOperatorStrictEqualNode
Final subclass of
BinaryOperatorNodeBase for the '=== ' operator. |
class |
BinaryOperatorStrictNotEqualNode
Final subclass of
BinaryOperatorNodeBase for the '! |
class |
BlockNode
ActionScript parse tree node representing a block, but not one with an
explicit scope
|
class |
CatchNode
ActionScript parse tree node representing a catch block (catch (e:Exception)
{...})
|
class |
ChainedVariableNode |
class |
ClassNode
ActionScript parse tree node representing a class definition
|
class |
ClassReferenceNode
Node representing a ClassReference("...") expression.
|
class |
ConditionalNode
Conditional node, that contains a condition to be met and a block to execute
if the condition is met
|
class |
ConfigConditionBlockNode
Special block node for a block gated with a configuration condition.
|
class |
ConfigConstNode
A ConfigConstNode is a conditional compilation const that only exists at
compile time.
|
class |
ConfigExpressionNode |
class |
ConfigNamespaceNode
Represents a config directive definition
|
class |
ContainerNode
ActionScript parse tree node representing a container.
|
class |
DefaultXMLNamespaceNode
Represents a default xml namespace statement
|
class |
DoWhileLoopNode |
class |
DynamicAccessNode
ActionScript parse tree node representing an dynamic access expression
(e.g.
|
class |
EmbedNode
AS parse tree node representing Embed meta data.
|
class |
ExpressionNodeBase
ActionScript parse tree node representing an expression
|
class |
FileNode
ActionScript parse tree node representing a file
|
class |
FixedChildrenNode
An abstract node that has a fixed number of children
|
class |
ForLoopNode |
class |
FullNameNode
Node for a fully qualified name (e.g. mx.core.Button) used in a package or
class definition.
|
class |
FunctionCallNode
ActionScript parse tree node representing a function call (e.g. myFunction(),
new Object())
|
class |
FunctionNode
ActionScript parse tree node representing a function definition
|
class |
FunctionObjectNode
An anonymous function (e.g. function() {...}) is an expression, but acts like
a function definition where scopes are concerned.
|
class |
GetterNode
ActionScript parse tree node representing a getter definition (e.g. function
get foo():Number)
|
class |
IdentifierNode
ActionScript parse tree node representing an identifier
|
class |
IfNode
Represents an if statement, of the form
if(condition) doSomething(); else somethingElse();
if(condition) else if(otherCondition) else |
class |
ImportNode
ActionScript parse tree node representing an import statement
|
class |
InterfaceNode
ActionScript parse tree node representing an interface definition
|
class |
IterationFlowNode
Represents a statement that changes the flow within an iterative statement.
|
class |
KeywordNode |
class |
LabeledStatementNode
A LabeledStatementNode contains an ActionScript label and its associated
statements, and provides a specific node type to facilitate recognition in
the syntax tree.
|
class |
LanguageIdentifierNode
Represents identifiers that are built into the AS3 language.
|
class |
LiteralNode
ActionScript parse tree node representing a literal (e.g.
|
class |
MemberAccessExpressionNode
ActionScript parse tree node representing a member access expression of one
of the following types:
Member access -
object.fieldName
Query - object..descendantsName
E4X filter - {@code xmlObject. |
class |
MemberedNode |
class |
ModifierNode |
class |
ModifiersContainerNode |
class |
NamespaceAccessExpressionNode |
class |
NamespaceIdentifierNode
Identifier representing a namespace
|
class |
NamespaceNode
AST node for namespace definition.
|
class |
NilNode
A nil node is a placeholder used to distinguish a missing optional node.
|
class |
NodeBase
Base class for ActionScript parse tree nodes
|
class |
NonResolvingIdentifierNode
Represents an identifier that we will currently not resolve, such as - field
in an ObjectLiteral.
|
class |
NumericLiteralNode |
class |
ObjectLiteralNode
Represents an object literal.
|
class |
ObjectLiteralValuePairNode
ActionScript parse tree node representing a pair in an ObjectLiteral
|
class |
OperatorNodeBase
ActionScript parse tree node representing a binary operator expression (e.g.
|
class |
PackageNode
ActionScript parse tree node representing a package definition
|
class |
ParameterNode
ActionScript parse tree node representing one argument (e.g. str:String) in a
function definition
|
class |
QualifiedNameExpressionNode
A collapsed version of a FullNameNode.
|
class |
QualifiedNamespaceExpressionNode |
class |
RegExpLiteralNode |
class |
ReturnNode
Represents a return statement found in Actionscript.
|
class |
RuntimeNameExpressionNode
Runtime name expression used in qualified namespace expressions:
public::[name] |
class |
ScopedBlockNode
A BlockNode that is provided with a scope that collections definitions.
|
class |
SetterNode
ActionScript parse tree node representing a setter definition (e.g. function
set foo(f:Number):Void)
|
class |
SwitchNode
Represents a switch statement found in ActionScript.
|
class |
TerminalNode
Represents a terminal expression in a conditional node.
|
class |
TernaryOperatorNode
AST node of a ternary expression.
|
class |
ThrowNode |
class |
TransparentContainerNode
A transparent container node is identical to a regular ContainerNode except
that it is never returned from getContainingNode.
|
class |
TreeNode |
class |
TryNode
Represents a try/catch/finally node.
|
class |
TypedExpressionNode
AST node for generic type such as: {@code Vector.
|
class |
UnaryOperatorAtNode
Final subclass of
UnaryOperatorNodeBase for the '@ ' operator. |
class |
UnaryOperatorBitwiseNotNode
Final subclass of
UnaryOperatorNodeBase for the '~ ' operator. |
class |
UnaryOperatorDeleteNode
Final subclass of
UnaryOperatorNodeBase for the 'delete ' operator. |
class |
UnaryOperatorLogicalNotNode
Final subclass of
UnaryOperatorNodeBase for the '! |
class |
UnaryOperatorMinusNode
Final subclass of
UnaryOperatorNodeBase for the '- ' operator. |
class |
UnaryOperatorNodeBase
Abstract base class for all unary operator nodes.
|
class |
UnaryOperatorPlusNode
Final subclass of
UnaryOperatorNodeBase for the '+ ' operator. |
class |
UnaryOperatorPostDecrementNode
Final subclass of
UnaryOperatorNodeBase for the postfix '-- ' operator. |
class |
UnaryOperatorPostfixNodeBase
Abstract base class for all post-fix unary operator nodes.
|
class |
UnaryOperatorPostIncrementNode
Final subclass of
UnaryOperatorNodeBase for the postfix '++ ' operator. |
class |
UnaryOperatorPreDecrementNode
Final subclass of
UnaryOperatorNodeBase for the prefix '-- ' operator. |
class |
UnaryOperatorPreIncrementNode
Final subclass of
UnaryOperatorNodeBase for the prefix '++ ' operator. |
class |
UnaryOperatorTypeOfNode
Final subclass of
UnaryOperatorNodeBase for the 'typeof ' operator. |
class |
UnaryOperatorVoidNode
Final subclass of
UnaryOperatorNodeBase for the 'void ' operator. |
class |
UseNamespaceNode |
class |
VariableExpressionNode
Expression that represents a variable contained within an iterative loop.
|
class |
VariableNode
ActionScript parse tree node representing a variable definition (e.g. var
str:String)
|
class |
VectorLiteralNode |
class |
WhileLoopNode
Represents a while loop node, either starting with a
do or with
a while . |
class |
WithNode
ActionScript parse tree node representing a with block (with (x) {...})
|
class |
XMLListLiteralNode |
class |
XMLLiteralNode |
Modifier and Type | Field and Description |
---|---|
protected static IASNode[] |
NodeBase.emptyNodeArray
Used in calls to CheapArray functions.
|
protected IASNode |
NodeBase.parent
Parent node.
|
Modifier and Type | Method and Description |
---|---|
IASNode |
NodeBase.getAncestorOfType(Class<? extends IASNode> nodeType) |
IASNode |
VectorLiteralNode.getChild(int i) |
IASNode |
VariableExpressionNode.getChild(int i) |
IASNode |
UseNamespaceNode.getChild(int i) |
IASNode |
UnaryOperatorNodeBase.getChild(int i) |
IASNode |
TypedExpressionNode.getChild(int i) |
IASNode |
TreeNode.getChild(int i) |
IASNode |
TernaryOperatorNode.getChild(int i) |
IASNode |
TerminalNode.getChild(int i) |
IASNode |
RuntimeNameExpressionNode.getChild(int i) |
IASNode |
ObjectLiteralValuePairNode.getChild(int i) |
IASNode |
NodeBase.getChild(int i) |
IASNode |
LabeledStatementNode.getChild(int i) |
IASNode |
IterationFlowNode.getChild(int i) |
IASNode |
ImportNode.getChild(int i) |
IASNode |
FunctionObjectNode.getChild(int i) |
IASNode |
FunctionCallNode.getChild(int i) |
IASNode |
ForLoopNode.getChild(int i) |
IASNode |
DoWhileLoopNode.getChild(int i) |
IASNode |
DefaultXMLNamespaceNode.getChild(int i) |
IASNode |
ConditionalNode.getChild(int i) |
IASNode |
CatchNode.getChild(int i) |
IASNode |
BinaryOperatorNodeBase.getChild(int i) |
IASNode |
BaseStatementExpressionNode.getChild(int i) |
IASNode |
BaseLiteralContainerNode.getChild(int i) |
IASNode |
NodeBase.getContainingNode(int offset) |
IASNode |
QualifiedNamespaceExpressionNode.getParent() |
IASNode |
NodeBase.getParent() |
IASNode |
NamespaceIdentifierNode.getParent() |
IASNode |
TryNode.getStatementContentsNode() |
IASNode |
IfNode.getStatementContentsNode() |
IASNode |
ForLoopNode.getStatementContentsNode() |
IASNode |
BaseStatementNode.getStatementContentsNode() |
IASNode |
NodeBase.getSucceedingNode(int offset) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NodeBase.canContinueContainmentSearch(IASNode containingNode,
IASNode currentNode,
int childOffset,
boolean offsetsStillValid) |
boolean |
MemberAccessExpressionNode.isMemberReference(IASNode node)
Is the given node this node's member reference?
|
Modifier and Type | Method and Description |
---|---|
IASNode |
NodeBase.getAncestorOfType(Class<? extends IASNode> nodeType) |
Modifier and Type | Class and Description |
---|---|
class |
AccessibilityTagNode |
class |
AlternativeTagNode |
class |
BaseDefinitionMetaTagNode
For metatags that decorate a definition, such as Events, Effects and Styles,
we treat them internally as IDefinitions.
|
class |
BasicMetaTagNode |
class |
DefaultPropertyTagNode
Implementation of
IDefaultPropertyTagNode . |
class |
EffectTagNode |
class |
EventTagNode |
class |
EventTriggerTagNode
Implementation of
IEventTriggerTagNode . |
class |
InspectableTagNode
Implementation of
IInspectableTagNode . |
class |
MetaTagNode
MetaAttributeNode is a generic node holding info for one metadata attribute.
|
class |
MetaTagsNode |
class |
MultiValueMetaTagNode |
class |
ResourceBundleTagNode
Represents an ResourceBundle metadata tag, of the form
[ResourceBundle("bundlename")]
|
class |
SkinClassTagNode
Represents SkinClass metadata
|
class |
StyleTagNode |
class |
TypedTagNode |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MetaTagsNode.canContinueContainmentSearch(IASNode containingNode,
IASNode currentNode,
int childOffset,
boolean offsetStillValid) |
Modifier and Type | Class and Description |
---|---|
class |
MXMLClassDefinitionNode
MXMLClassDefinitionNode represents an MXML tag which defines a new
class. |
class |
MXMLDocumentNode
MXMLDocumentNode represents the root MXML tag in an MXML document. |
class |
MXMLFileNode |
class |
MXMLImplicitImportNode
Represents an implicit import in an MXML file.
|
class |
MXMLNodeBase
MXMLNodeBase is the abstract base class for all MXML nodes in an AST. |
class |
MXMLRepeaterNode
Implementation of the
IMXMLRepeaterNode interface. |
Modifier and Type | Method and Description |
---|---|
IASNode |
MXMLNodeBase.getChild(int i) |
IASNode |
MXMLFileNode.getChild(int i) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceBundleEntryNode
Node that represents a key-value pair in a properties file
|
class |
ResourceBundleFileNode |
Modifier and Type | Method and Description |
---|---|
protected void |
EmbedCompilationUnit.verifyAST(IASNode ast) |
protected void |
CompilationUnitBase.verifyAST(IASNode ast) |
Modifier and Type | Method and Description |
---|---|
IASNode |
SyntaxTreeRequestResult.getAST() |
Constructor and Description |
---|
SyntaxTreeRequestResult(IASNode tree,
com.google.common.collect.ImmutableSet<String> includedFiles,
long lastModified,
Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
protected void |
BeforeAfterStrategy.after(IASNode node)
Called before the
BeforeAfterStrategy.handle(IASNode) method. |
protected void |
BeforeAfterStrategy.before(IASNode node)
Called after the
BeforeAfterStrategy.handle(IASNode) method. |
void |
BeforeAfterStrategy.handle(IASNode node) |
void |
ASNodeSwitch.handle(IASNode node) |
void |
ASNodeHandler.handle(IASNode node) |
Modifier and Type | Method and Description |
---|---|
void |
MXMLNodeSwitch.handle(IASNode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
ICompilerProject.isValidTypeConversion(IASNode node,
IDefinition actualDefinition,
IDefinition expectedDefinition,
FunctionDefinition func) |
Modifier and Type | Interface and Description |
---|---|
interface |
IAccessorNode
An AST node representing a getter or a setter.
|
interface |
IBinaryOperatorNode
An AST node representing a binary operator.
|
interface |
IBlockNode
An AST node representing a block (e.g., a section of code
enclosed in curly braces).
|
interface |
ICatchNode
An AST node representing a
catch clause
in a try statement. |
interface |
IClassNode
An AST node representing a
class declaration. |
interface |
ICommonClassNode
This interface contains the APIs that are available for both ActionScript and
MXML class nodes.
|
interface |
IConditionalNode
An AST node representing a conditional clause within a statement.
|
interface |
IContainerNode
An AST node representing a container of other nodes, such as a parameter list.
|
interface |
IDefaultXMLNamespaceNode
An AST node representing a
default xml namespace statement. |
interface |
IDefinitionNode
An AST node representing a declaration of a package, class,
interface, function, parameter, variable, constant, or namespace.
|
interface |
IDocumentableDefinitionNode
An AST node representing a declaration that can have an ASDoc comment
associated with it.
|
interface |
IDynamicAccessNode
An AST node representing the dynamic-access ("[]") binary operator.
|
interface |
IEmbedNode
An AST node representing an embedded asset.
|
interface |
IExpressionNode
An AST node representing any kind of expression.
|
interface |
IFileNode
An AST node representing an ActionScript file being compiled.
|
interface |
IForLoopNode
An AST node representing a
for , for -in ,
or for -each -in statement. |
interface |
IFunctionCallNode
An AST node representing a function call.
|
interface |
IFunctionNode
An AST node representing a
function declaration,
either for a regular function, a getter, or a setter. |
interface |
IFunctionObjectNode
An anonymous function (e.g. function() {...}) is an expression, but acts like
a function definition where scopes are concerned.
|
interface |
IGetterNode
An AST node representing a getter.
|
interface |
IIdentifierNode
An AST node representing an identifier.
|
interface |
IIfNode
An AST node representing an
if statement. |
interface |
IImportNode
An AST node representing an
import directive. |
interface |
IInterfaceNode
An AST node representing a
interface declaration. |
interface |
IIterationFlowNode
An AST node representing a
break , continue ,
or goto statement. |
interface |
IKeywordNode
An AST node representing a keyword.
|
interface |
ILabeledStatementNode
An AST node representing the label block ("foo:{}").
|
interface |
ILiteralContainerNode
Base container node for a literal that is made up of other literals, like XML
or arrays
|
interface |
ILiteralNode
An AST node representing a literal value.
|
interface |
IMemberAccessExpressionNode
An AST node representing the member-access ("dot") operator.
|
interface |
IModifierNode
An AST node representing one of the modifiers that can be used with a
declaration:
dynamic , final , native ,
override , static , or virtual . |
interface |
INamespaceAccessExpressionNode |
interface |
INamespaceDecorationNode
An AST node representing a namespace attribute on a
class ,
interface , function , var ,
const or namespace declaration. |
interface |
INamespaceNode
An AST node representing a
namespace declaration. |
interface |
IOperatorNode
An AST node representing any kind of operator expression.
|
interface |
IPackageNode
An AST node representing a
package directive. |
interface |
IParameterNode
An AST node representing a parameter in a
function declaration. |
interface |
IRegExpLiteralNode
An AST node representing a
RegExp literal such as /abc/gi . |
interface |
IReturnNode
An AST node representing a
return statement. |
interface |
IScopedDefinitionNode
An AST node representing a declaration with a contained scope,
as for
package , class ,
interface , and function declarations. |
interface |
IScopedNode
An AST node that has an attached scope.
|
interface |
ISetterNode
An AST node representing a setter.
|
interface |
IStatementNode
An AST node representing a statement or clause
that contains a block of other statements.
|
interface |
ISwitchNode
An AST node representing a
switch statement. |
interface |
ITerminalNode
An AST node representing a
else clause in an if statement,
a default clause in a switch statement,
or a finally clause in a try statement. |
interface |
ITernaryOperatorNode
An AST node representing the ternary operator.
|
interface |
IThrowNode
An AST node representing a
throw statement. |
interface |
ITryNode
An AST node representing a
try statement. |
interface |
ITypedExpressionNode
An AST node representing a parameterized type such as {@code Vector.
|
interface |
ITypedNode
An AST node representing a declaration that can have a type annotation.
|
interface |
ITypeNode
An AST node representing a class or interface declaration.
|
interface |
IUnaryOperatorNode
An AST node representing a unary operator.
|
interface |
IUseNamespaceNode
An AST node representing a
use namespace directive. |
interface |
IVariableExpressionNode
Expression that represents a variable contained within an iterative loop.
|
interface |
IVariableNode
An AST node representing a
var or const declaration. |
interface |
IWhileLoopNode
An AST node representing a
while
or do |
interface |
IWithNode
An AST node representing an
with statement. |
Modifier and Type | Method and Description |
---|---|
IASNode |
IASNode.getAncestorOfType(Class<? extends IASNode> nodeType)
Get the nearest ancestor of this node that has the specified type.
|
IASNode |
IASNode.getChild(int i)
Get a particular child of this node
|
IASNode |
IASNode.getContainingNode(int offset)
Gets the child node that contains the offset
|
IASNode |
IASNode.getParent()
Get the parent of this node
|
IASNode |
IStatementNode.getStatementContentsNode()
returns the contents contained with the statement
|
IASNode |
IASNode.getSucceedingNode(int offset)
Get the first node that succeeds the offset (i.e. which starts after the
offset).
|
Modifier and Type | Method and Description |
---|---|
IASNode |
IASNode.getAncestorOfType(Class<? extends IASNode> nodeType)
Get the nearest ancestor of this node that has the specified type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IAccessibilityTagNode
Represents a metadata tag of the form
[AccessibilityClass(implementation="qualifed.name")]
|
interface |
IDefaultPropertyTagNode
Represents a DefaultProperty metadata tag, of the form
[DefaultProperty("propertyName")]
|
interface |
IEffectTagNode
Represents an Effect metadata tag, of the form [Effect(name="string",
event="eventName")]
|
interface |
IEventTagNode
Represents an Event metadata tag, of the form [Event(name="string",
type="eventName")]
|
interface |
IEventTriggerTagNode
represents a metadata tag that references to an event
|
interface |
IInspectableTagNode
Represents an Inspectable metadata tag
|
interface |
IMetaTagNode
An AST node representing a single metadata annotation on a declaration.
|
interface |
IMetaTagsNode
An AST node representing the collection of metadata annotations on a declaration.
|
interface |
IMultiValueMetaTagNode
Adds support for MetaTags that support multiple values
|
interface |
IResourceBundleTagNode
Represents an ResourceBundle metadata tag, of the form
[ResourceBundle("bundlename")]
|
interface |
IStyleTagNode
represents a Style metadata tag.
|
interface |
ITypedTagNode
represents a Metadata tag that has a type property
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMXMLApplicationNode
This AST node represents the root tag defining an MXML application.
|
interface |
IMXMLArrayNode
This AST node represents an MXML
<Array> tag. |
interface |
IMXMLBindingAttributeNode
This AST node represents the
source or destination
attribute on an MXML <Binding> tag. |
interface |
IMXMLBindingNode
This AST node represents an MXML
<Binding> tag. |
interface |
IMXMLBooleanNode
This AST node represents an MXML
<Boolean> tag. |
interface |
IMXMLClassDefinitionNode
This AST node represents an MXML tag which defines a new class.
|
interface |
IMXMLClassNode
This AST node represents an MXML
<Class> tag. |
interface |
IMXMLClassReferenceNode
This AST node represents an MXML tag which maps to an ActionScript class,
either as an instance of that class or a definition of a subclass of this
class.
|
interface |
IMXMLClearNode
This AST node represents an MXML
@Clear() compiler directive. |
interface |
IMXMLCompilerDirectiveNodeBase
This AST node represents an MXML compiler directive.
|
interface |
IMXMLComponentNode
This AST node represents an MXML
<Component> tag. |
interface |
IMXMLConcatenatedDataBindingNode
This AST node represents a concatenated expression involving text and
databindings (such as
My Name is {name.first} {name.last} ) in an
MXML tree. |
interface |
IMXMLDataBindingNode
Marker Interface for things that contain or are IMXMLSingleDataBindingNode
|
interface |
IMXMLDataBindingNodeContainer
Marker Interface for things that contain or are IMXMLDataBindingNode
|
interface |
IMXMLDeclarationsNode
This AST node represents an MXML
<Declarations> tag in an
AST. |
interface |
IMXMLDeferredInstanceNode
This AST node represents the instance of
mx.core.DeferredInstanceFromClass or
mx.core.DeferredInstanceFromFunction that the compiler
implicitly creates as the value for a property or style of type
mx.core.IDeferredInstance or
mx.core.ITransientDeferredInstance . |
interface |
IMXMLDefinitionNode
This AST node represents an MXML
<Definition> tag in an
AST. |
interface |
IMXMLDesignLayerNode
This AST node represents an MXML
<fx:DesignLayer> tag. |
interface |
IMXMLDocumentNode
This AST node represents the root tag in an MXML document.
|
interface |
IMXMLEffectSpecifierNode
This AST node represents an MXML tag or attribute that specifies an effect
trigger, such as
showEffect="Wipe" . |
interface |
IMXMLEmbedNode
This AST node represents an MXML
@Embed(...) |
interface |
IMXMLEventSpecifierNode
This AST node represents an MXML tag or attribute which specifies
event-handling code.
|
interface |
IMXMLExpressionNode
This is the base interface for AST nodes representing
<Boolean> , <int> ,
<uint> , <Number> ,
<String> , and <Class> tags. |
interface |
IMXMLFactoryNode
This AST node represents the instance of
mx.core.ClassFactory
that the compiler implicitly creates as the value for a property of type
mx.core.IFactory . |
interface |
IMXMLFileNode
This AST node represents an MXML file.
|
interface |
IMXMLFunctionNode
This AST node represents an MXML
<Function> tag. |
interface |
IMXMLHTTPServiceNode
This AST node represents an
<HTTPService> tag. |
interface |
IMXMLHTTPServiceRequestPropertyNode
AST node for
<s:request> tags under <s:HTTPService> tags. |
interface |
IMXMLImplementsNode
This AST node represents an
implements attribute on a class
definition tag in MXML. |
interface |
IMXMLInstanceNode
This AST node represents an MXML tag that creates an instance of an
ActionScript class.
|
interface |
IMXMLIntNode
This AST node represents an MXML
<int> tag. |
interface |
IMXMLLibraryNode
This AST node represents an MXML
<Library> tag. |
interface |
IMXMLMetadataNode
This AST node represents an MXML
<Metadata> tag. |
interface |
IMXMLModelNode
This AST node represents an MXML
<Model> tag. |
interface |
IMXMLModelPropertyContainerNode
This type of AST node represents tags inside an MXML
<Model> tag that contain other tags. |
interface |
IMXMLModelPropertyNode
This AST node represents hierarchical properties (expressed either as child
tags or as attributes). within an MXML
<Model> tag. |
interface |
IMXMLModelRootNode
This AST node represents the root tag inside an MXML
<Model> tag. |
interface |
IMXMLNode
This is the base interface for all MXML-specific AST nodes.
|
interface |
IMXMLNumberNode
This AST node represents an MXML
<Number> tag. |
interface |
IMXMLObjectNode
This AST node represents an MXML
<Object> tag. |
interface |
IMXMLPrivateNode
This AST node represents an MXML
<Private> tag. |
interface |
IMXMLPropertySpecifierNode
This AST node represents an MXML tag or attribute that specifies a property.
|
interface |
IMXMLRegExpNode
This AST node represents an MXML
<RegExp> tag. |
interface |
IMXMLRemoteObjectMethodNode
This AST node represents an MXML
<method> tag inside a
<RemoteObject> tag. |
interface |
IMXMLRemoteObjectNode
This AST node represents an MXML
<RemoteObject> tag. |
interface |
IMXMLReparentNode
This AST node represents an MXML
<Reparent> tag. |
interface |
IMXMLRepeaterNode
This AST node represents an MXML
<Repeater> tag in an
AST. |
interface |
IMXMLResourceNode
This AST node represents an MXML
@Resource(...) |
interface |
IMXMLScriptNode
This AST node represents an MXML
<Script> tag. |
interface |
IMXMLSingleDataBindingNode
This AST node represents a single databinding expression (such as
{name.first} ) in an MXML tree. |
interface |
IMXMLSpecifierNode
This AST node represents an MXML tag or attribute that specifies a property,
style, or event.
|
interface |
IMXMLStateNode
This AST node represents an MXML
<State> tag. |
interface |
IMXMLStringNode
This AST node represents an MXML
<String> tag. |
interface |
IMXMLStyleNode
This AST node represents an MXML
<Style> tag. |
interface |
IMXMLStyleSpecifierNode
This AST node represents an MXML tag or attribute that specifies a style.
|
interface |
IMXMLUintNode
This AST node represents an MXML
<uint> tag. |
interface |
IMXMLVectorNode
This AST node represents an MXML
<Vector> tag. |
interface |
IMXMLWebServiceNode
This AST node represents an MXML
<WebService> tag. |
interface |
IMXMLWebServiceOperationNode
This AST node represents an MXML
<operation> tag inside a
<WebService> tag. |
interface |
IMXMLXMLListNode
This AST node represents an MXML
<XMLList> tag. |
interface |
IMXMLXMLNode
This AST node represents an MXML
<XML> tag. |
interface |
IOldMXMLFileNode
Represents an
IFileNode that is an MXML file |
Modifier and Type | Method and Description |
---|---|
IASNode[] |
IMXMLScriptNode.getASNodes()
Gets the parsed ActionScript code for <Script> tag.
|
IASNode[] |
IMXMLEventSpecifierNode.getASNodes()
Gets the event-handling code as parsed ActionScript nodes.
|
IASNode |
IMXMLExpressionNode.getExpressionNode()
Gets the value of the node as an
IExpressionNode . |
Modifier and Type | Interface and Description |
---|---|
interface |
IResourceBundleEntryNode
Node that represents a key-value pair in a properties file
|
interface |
IResourceBundleFileNode
This AST node represents a .properties file.
|
Modifier and Type | Method and Description |
---|---|
IASNode |
ISyntaxTreeRequestResult.getAST() |
Modifier and Type | Method and Description |
---|---|
void |
IASNodeStrategy.handle(IASNode node)
The strategy will handle the specific
IASNode . |
void |
IBlockWalker.walk(IASNode node)
Traverses an
IASNode based on the semantics of the known node. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.