Package | Description |
---|---|
org.apache.flex.compiler.internal.abc | |
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.embedding | |
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.targets |
This package is the internal counterpart of the external
org.apache.flex.compiler.targets package. |
org.apache.flex.compiler.internal.tree.as |
This package is the internal counterpart of the external
org.apache.flex.compiler.tree.as package. |
Constructor and Description |
---|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> constructorParamTypes,
InstructionList constructorInstructions,
boolean hasProtectedMembers)
Generate an ABC class with constructor instructions.
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> iinitParameterTypes,
InstructionList iinitInstructions,
InstructionList cinitInstructions,
boolean hasProtectedMembers)
Constructor
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
InstructionList constructorInstructions)
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
InstructionList constructorInstructions)
|
Modifier and Type | Method and Description |
---|---|
ClassDefinition |
ClassDefinition.resolveInheritedFactoryClass(ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
void |
FunctionDefinition.setAsConstructor(ClassDefinition classDef) |
void |
InterfaceDefinition.validateClassImplementsAllMethods(ICompilerProject project,
ClassDefinition cls,
Collection<ICompilerProblem> problems)
Method to find all the methods declared in this interface, and validate
that the class definition passed in implements those methods, and that
they are implemented with compatible signatures
|
Constructor and Description |
---|
EmbedData.SkinClassInfo(ICompilerProject project,
ClassDefinition definition) |
Modifier and Type | Method and Description |
---|---|
ClassDefinition |
MXMLFileScope.addFXComponent(String mainClassQName,
int componentTagStart,
String componentClassName,
String componentBaseClassQName)
Creates a new class definition for an <fx:Component> tag and adds
it to this scope.
|
ClassDefinition |
MXMLFileScope.addFXDefinition(String mainClassQName,
IMXMLTagData definitionTag,
String definitionName,
String definitionBaseClassQName)
Creates a new class definition for an <fx:Definition> tag and adds
it to this scope.
|
ClassDefinition |
MXMLFileScope.getClassDefinitionForComponentTag(IMXMLTagData componentTag)
Gets the
ClassDefinition for a class defined by a
<fx:Component> tag. |
ClassDefinition |
MXMLFileScope.getClassDefinitionForComponentTagName(XMLName componentTagName)
Gets the
ClassDefinition for a class defined by a
<fx:Component> tag. |
ClassDefinition |
MXMLFileScope.getClassDefinitionForDefinitionTag(IMXMLTagData definitionTag)
Gets the
ClassDefinition for a class defined by a
<fx:Definition> tag. |
ClassDefinition |
MXMLFileScope.getClassDefinitionForDefinitionTagName(XMLName definitionTagName)
Gets the
ClassDefinition for a class defined by a
<fx:Definition> tag. |
ClassDefinition |
MXMLFileScope.getMainClassDefinition()
Returns the main class definition in this file scope.
|
Modifier and Type | Method and Description |
---|---|
void |
MXMLFileScope.setMainClassDefinition(ClassDefinition mainClassDefinition)
Called by the MXML scope-building code to set the main class definition
in this file scope.
|
Modifier and Type | Method and Description |
---|---|
static ClassDefinition |
SemanticUtils.resolveBaseClass(ICommonClassNode classNode,
ClassDefinition classDefinition,
ICompilerProject project,
Collection<ICompilerProblem> problems)
This is similar to the
resolveBaseClass() method of IClassDefinition ,
except it reports problems if the base class doesn't exist,
if it isn't actually a class, or if it is final;
it also returns the class definition for Object in these error cases. |
Modifier and Type | Method and Description |
---|---|
static ClassDefinition |
SemanticUtils.resolveBaseClass(ICommonClassNode classNode,
ClassDefinition classDefinition,
ICompilerProject project,
Collection<ICompilerProblem> problems)
This is similar to the
resolveBaseClass() method of IClassDefinition ,
except it reports problems if the base class doesn't exist,
if it isn't actually a class, or if it is final;
it also returns the class definition for Object in these error cases. |
Modifier and Type | Method and Description |
---|---|
protected ClassDefinition |
AppSWFTarget.getRootClassDefinition() |
Modifier and Type | Method and Description |
---|---|
protected SWFFrame |
SWFTarget.createWithClassesAndItsDependencies(SWFFrame frame,
Collection<ClassDefinition> frameRootClasses,
ASProjectScope projectScope,
boolean allowExternals,
Set<ICompilationUnit> emittedCompilationUnits)
Add a set of root classes and its dependencies to a new frame or to an existing
frame.
|
Modifier and Type | Method and Description |
---|---|
ClassDefinition |
ClassNode.getDefinition() |
Copyright © 2016 The Apache Software Foundation. All rights reserved.