Modifier and Type | Class and Description |
---|---|
class |
FoldedExpressionNode |
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 |
---|---|
void |
ICodeGenerator.generateMXMLDataBindingSetterFunction(MethodInfo mi,
IExpressionNode setterExpression,
LexicalScope enclosing_scope)
Helper method used by mxml databinding codegen to emit an anonymous
function used by an mxml data binding destination function.
|
void |
ABCGenerator.generateMXMLDataBindingSetterFunction(MethodInfo mi,
IExpressionNode setterExpression,
LexicalScope enclosing_scope)
Helper method used by mxml databinding codegen to emit an anonymous
function used by an mxml data binding destination function.
|
Modifier and Type | Method and Description |
---|---|
void |
ICodeGenerator.generateMXMLDataBindingGetterFunction(MethodInfo mi,
List<IExpressionNode> nodes,
LexicalScope enclosing_scope)
Helper method used by databinding codegen to emit an anonymous function
based on a list of
IExpressionNode 's. |
void |
ABCGenerator.generateMXMLDataBindingGetterFunction(MethodInfo mi,
List<IExpressionNode> nodes,
LexicalScope enclosing_scope)
Helper method used by databinding codegen to emit an anonymous function
based on a list of
IExpressionNode 's. |
Modifier and Type | Method and Description |
---|---|
protected void |
ASEmitter.emitAssignedValue(IExpressionNode node) |
protected void |
ASEmitter.emitType(IExpressionNode node) |
void |
ASBlockWalker.visitExpression(IExpressionNode node) |
Modifier and Type | Field and Description |
---|---|
IExpressionNode |
BindingDestinationMaker.Destination.destinationASTNode |
IExpressionNode[] |
FunctionWatcherInfo.params |
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
BindingInfo.getExpressionNodeForDestination()
Get the IExpressionNode that represents the destination
|
static IExpressionNode |
BindingDestinationMaker.makeDestinationFunctionInstructionList(IMXMLDataBindingNode dbnode,
MXMLClassDirectiveProcessor host)
Generate destination function from an IMXMLConcatenatedDataBindingNode
or IMXMLDataBindingNode
Do this by walking up and down the tree, building up instruction list
|
Modifier and Type | Method and Description |
---|---|
List<IExpressionNode> |
BindingInfo.getExpressionNodesForGetter() |
Modifier and Type | Method and Description |
---|---|
static void |
BindingCodeGenUtils.generateSetter(InstructionList ret,
IExpressionNode expression,
LexicalScope enclosing_scope)
emits the code for anonymous setter function, then adds to the instruction list for instantiating one onto the stack
|
static void |
BindingCodeGenUtils.makeFunctionWatcher(InstructionList insns,
FlexProject project,
IABCVisitor emitter,
String functionName,
List<String> eventNames,
List<BindingInfo> bindingInfo,
IExpressionNode[] params)
Generates the ABC to instantiate a FunctionReturnWatcher
* VM context:
on entry: nothing on stack
local1 = this.
|
static void |
BindingCodeGenUtils.makeParameterFunction(IABCVisitor emitter,
InstructionList ret,
IExpressionNode[] params)
Generated the "parameter function" required by the FunctionReturnWatcher
constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
BindingCodeGenUtils.generateGetter(IABCVisitor emitter,
InstructionList ret,
List<IExpressionNode> expressions,
LexicalScope enclosing_scope)
emits the code for anonymous getter function, then adds to the instruction list for instantiating one onto the stack
|
Constructor and Description |
---|
BindingDestinationMaker.Destination(IExpressionNode destinationASTNode,
boolean transformationRequired) |
Modifier and Type | Method and Description |
---|---|
static IExpressionNode |
TempTools.getNode(IASNode iNode,
Boolean toRight,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSAMDEmitter.emitType(IExpressionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
JSFlexJSEmitter.emitIsAs(IExpressionNode node,
IExpressionNode left,
IExpressionNode right,
ASTNodeID id,
boolean coercion) |
boolean |
JSFlexJSEmitter.isDateProperty(IExpressionNode obj)
resolveType on an XML expression returns null
(see IdentiferNode.resolveType).
|
boolean |
JSFlexJSEmitter.isLeftNodeXMLish(IExpressionNode leftNode) |
boolean |
JSFlexJSEmitter.isProxy(IExpressionNode obj)
resolveType on an XML expression returns null
(see IdentiferNode.resolveType).
|
boolean |
JSFlexJSEmitter.isXML(IExpressionNode obj)
resolveType on an XML expression returns null
(see IdentiferNode.resolveType).
|
Modifier and Type | Method and Description |
---|---|
void |
JSGoogEmitter.emitAssignedValue(IExpressionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
AsIsEmitter.emitIsAs(IExpressionNode node,
IExpressionNode left,
IExpressionNode right,
ASTNodeID id,
boolean coercion) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EmitterUtils.isScalar(IExpressionNode node) |
Modifier and Type | Method and Description |
---|---|
IExpressionNode[] |
AppliedVectorDefinition.getImplementedInterfaceNodes() |
protected IExpressionNode |
VariableDefinition.getInitExpression() |
Modifier and Type | Method and Description |
---|---|
void |
VariableDefinition.setInitializer(IExpressionNode initExpr) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayLiteralNode
Represents a literal node array that contains nodes within an array literal
statement: [ foo, bar, baz ]
|
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 |
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 |
ClassReferenceNode
Node representing a ClassReference("...") expression.
|
class |
ConfigExpressionNode |
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 |
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 |
FunctionObjectNode
An anonymous function (e.g. function() {...}) is an expression, but acts like
a function definition where scopes are concerned.
|
class |
IdentifierNode
ActionScript parse tree node representing an identifier
|
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 |
NamespaceAccessExpressionNode |
class |
NamespaceIdentifierNode
Identifier representing a namespace
|
class |
NilNode
A nil node is a placeholder used to distinguish a missing optional node.
|
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 |
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 |
TernaryOperatorNode
AST node of a ternary expression.
|
class |
ThrowNode |
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 |
VariableExpressionNode
Expression that represents a variable contained within an iterative loop.
|
class |
VectorLiteralNode |
class |
XMLListLiteralNode |
class |
XMLLiteralNode |
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
BaseDefinitionMetaTagNode.getNameExpressionNode() |
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
MXMLImplicitImportNode.getImportNameNode() |
IExpressionNode |
MXMLClassDefinitionNode.getNameExpressionNode() |
Modifier and Type | Interface and Description |
---|---|
interface |
IBinaryOperatorNode
An AST node representing a binary operator.
|
interface |
IDynamicAccessNode
An AST node representing the dynamic-access ("[]") binary operator.
|
interface |
IEmbedNode
An AST node representing an embedded asset.
|
interface |
IFunctionCallNode
An AST node representing a function call.
|
interface |
IFunctionObjectNode
An anonymous function (e.g. function() {...}) is an expression, but acts like
a function definition where scopes are concerned.
|
interface |
IIdentifierNode
An AST node representing an identifier.
|
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 |
INamespaceAccessExpressionNode |
interface |
INamespaceDecorationNode
An AST node representing a namespace attribute on a
class ,
interface , function , var ,
const or namespace declaration. |
interface |
IOperatorNode
An AST node representing any kind of operator expression.
|
interface |
IRegExpLiteralNode
An AST node representing a
RegExp literal such as /abc/gi . |
interface |
IReturnNode
An AST node representing a
return statement. |
interface |
ITernaryOperatorNode
An AST node representing the ternary operator.
|
interface |
IThrowNode
An AST node representing a
throw statement. |
interface |
ITypedExpressionNode
An AST node representing a parameterized type such as {@code Vector.
|
interface |
IUnaryOperatorNode
An AST node representing a unary operator.
|
interface |
IVariableExpressionNode
Expression that represents a variable contained within an iterative loop.
|
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
IExpressionNode.copyForInitializer(IScopedNode scopeNode)
Return a copy of this IExpressionNode and all it's children that can be used
by VariableDefinition to resolve it's initial value without having to hold onto
the entire syntax tree for a source file.
|
IExpressionNode[] |
IFunctionCallNode.getArgumentNodes()
Returns an array of
IExpressionNode nodes that are passed in as
parameters to this function call |
IExpressionNode |
IVariableNode.getAssignedValueNode() |
IExpressionNode |
IClassNode.getBaseClassExpressionNode() |
IExpressionNode |
ITypedExpressionNode.getCollectionNode()
Returns the node representing the type of collection that this typed
collection contains
|
IExpressionNode |
ITypedClassNode.getCollectionTypeNode() |
IExpressionNode |
IConditionalNode.getConditionalExpressionNode()
Returns the
IExpressionNode that contains the conditional
expression within this conditional |
IExpressionNode[] |
IForLoopNode.getConditionalExpressionNodes()
Returns an array containing the conditional expression(s)
for the
for statement. |
IExpressionNode |
ITernaryOperatorNode.getConditionalNode()
returns the conditional expression that determines branch for this
expression
|
IExpressionNode |
IDefaultXMLNamespaceNode.getExpressionNode()
Gets the child node representing the namespace expression
on the right-hand-side of the statement.
|
IExpressionNode[] |
IInterfaceNode.getExtendedInterfaceNodes()
Returns the names of any interfaces that this
IInterfaceNode
directly references. |
IExpressionNode[] |
IClassNode.getImplementedInterfaceNodes() |
IExpressionNode |
IImportNode.getImportNameNode()
Returns the expression underlying this import node
|
IExpressionNode |
ITernaryOperatorNode.getLeftOperandNode()
Returns the left side of the expression
|
IExpressionNode |
IBinaryOperatorNode.getLeftOperandNode()
Get expression to the left of the operator
|
IExpressionNode |
IDefinitionNode.getNameExpressionNode()
Gets the expression that represents the name of this
IDefinitionNode |
IExpressionNode |
IObjectLiteralValuePairNode.getNameNode()
Represents the name part of a ObjectLiteralValuePair.
|
IExpressionNode |
IFunctionCallNode.getNameNode()
The expression being called.
|
IExpressionNode |
INamespaceNode.getNamespaceURINode()
Return the initializer for this namespace decl
|
IExpressionNode |
IUnaryOperatorNode.getOperandNode()
Get expression acted on by the unary operator
|
IExpressionNode |
IFunctionNode.getReturnTypeNode()
Returns the
IExpressionNode that corresponds to the return type
node of this IFunctionNode |
IExpressionNode |
IReturnNode.getReturnValueNode()
Represents the condition that is being returned by the return statement
|
IExpressionNode |
ITernaryOperatorNode.getRightOperandNode()
Returns the right side of the expression
|
IExpressionNode |
IBinaryOperatorNode.getRightOperandNode()
Get expression to the right of the operator
|
IExpressionNode |
IUseNamespaceNode.getTargetNamespaceNode()
Returns the expression underlying this use node
|
IExpressionNode |
IWithNode.getTargetNode()
Returns the
IExpressionNode that contains the target expression
within this with statement |
IExpressionNode |
IThrowNode.getThrownExpressionNode()
Represents the condition that is being thrown by the throw statement
|
IExpressionNode |
ITypedNode.getTypeNode()
Returns the child node that contains the type information for this node.
|
IExpressionNode |
ITypedExpressionNode.getTypeNode()
Returns the node representing the type of this expression, which in AS3
will always resolve to Vector
|
IExpressionNode |
IObjectLiteralValuePairNode.getValueNode()
Represents the value part of a ObjectLiteralValuePair
|
IExpressionNode |
IVariableNode.getVariableTypeNode()
Returns the
IExpressionNode that corresponds to the type node of
this IVariableNode |
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
IMXMLSingleDataBindingNode.getExpressionNode()
Gets the sole child of this node, which represents the expression within
the databinding.
|
IExpressionNode |
IMXMLBindingAttributeNode.getExpressionNode()
Gets the sole child of this node, which represents a binding expression.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ASNodeUtils.isString(IExpressionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
IASBlockVisitor.visitExpression(IExpressionNode node) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.