Package | Description |
---|---|
org.apache.flex.compiler.internal.as.codegen | |
org.apache.flex.compiler.internal.codegen.js.flexjs | |
org.apache.flex.compiler.internal.definitions |
This package is the internal counterpart of the external
org.apache.flex.compiler.definitions package. |
org.apache.flex.compiler.internal.projects |
This package is the internal counterpart of the external
org.apache.flex.compiler.projects package. |
org.apache.flex.compiler.internal.scopes |
This package is the internal counterpart of the external
org.apache.flex.compiler.scopes package. |
org.apache.flex.compiler.internal.semantics | |
org.apache.flex.compiler.internal.tree.as |
This package is the internal counterpart of the external
org.apache.flex.compiler.tree.as package. |
org.apache.flex.compiler.projects |
This package contains interfaces representing projects.
|
Modifier and Type | Method and Description |
---|---|
void |
InlineFunctionLexicalScope.assignActualsToFormals(FunctionDefinition functionDef,
InstructionList result) |
Modifier and Type | Method and Description |
---|---|
boolean |
JSFlexJSEmitter.isCustomNamespace(FunctionDefinition def) |
Modifier and Type | Class and Description |
---|---|
class |
AccessorDefinition
AccessorDefinition is the abstract base class for definitions that
represent getters and setters. |
class |
GetterDefinition |
class |
SetterDefinition |
class |
SyntheticBindableGetterDefinition
Getter definition created for a Bindable Variable
|
class |
SyntheticBindableSetterDefinition
Setter definition created for a Bindable Variable
|
Modifier and Type | Method and Description |
---|---|
FunctionDefinition |
SetterDefinition.resolveOverriddenFunction(ICompilerProject project)
Will return the setter this overrides, if any.
|
FunctionDefinition |
GetterDefinition.resolveOverriddenFunction(ICompilerProject project)
Will return the getter this overrides, if any.
|
FunctionDefinition |
FunctionDefinition.resolveOverriddenFunction(ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
ASScope.setAsContainingScopeOfAnonymousFunction(FunctionDefinition anonymousFunction)
Makes this scope be the containing scope of the specified anonymous
function.
|
Modifier and Type | Method and Description |
---|---|
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 FunctionDefinition |
SemanticUtils.getFunctionDefinition(IASNode iNode)
Locate a FunctionDefinition that encloses the given i-node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MethodBodySemanticChecker.canFunctionBeInlined(FunctionDefinition function)
Test whether the specified function can be inlined.
|
void |
MethodBodySemanticChecker.checkFunctionDefinition(IFunctionNode iNode,
FunctionDefinition def)
Check a function definition.
|
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.checkInterfaceFunctionForConflictingDefinitions(IASNode iNode,
FunctionDefinition funcDef)
Check for other definitions that might conflict with the function passed in.
|
Modifier and Type | Method and Description |
---|---|
protected FunctionDefinition |
SetterNode.createFunctionDefinition(String name) |
protected FunctionDefinition |
GetterNode.createFunctionDefinition(String name) |
protected FunctionDefinition |
FunctionNode.createFunctionDefinition(String name)
Method to create the correct Definition class - needed so we can create
different Definition types for getters, setters, and plain old functions
|
FunctionDefinition |
FunctionNode.getDefinition() |
Modifier and Type | Method and Description |
---|---|
boolean |
ICompilerProject.isValidTypeConversion(IASNode node,
IDefinition actualDefinition,
IDefinition expectedDefinition,
FunctionDefinition func) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.