Package | Description |
---|---|
org.apache.flex.abc |
This package and its subpackages contain a support library
for manipulating ActionScript bytecode (ABC).
|
org.apache.flex.abc.print |
This package contains specialized visitors and supporting classes that transform their input into a human readable form.
|
org.apache.flex.abc.visitors |
This package contains the most basic model of ABC, which uses visitors.
|
org.apache.flex.compiler.internal.abc | |
org.apache.flex.compiler.internal.as.codegen | |
org.apache.flex.compiler.internal.codegen.databinding | |
org.apache.flex.compiler.internal.css.codegen |
Modifier and Type | Class and Description |
---|---|
class |
ABCEmitter
The ABCEmitter is an IABCVisitor that collects information about
the ABC and emits it as a byte array.
|
class |
PoolingABCVisitor
This class implements an IABCVisitor which will simply collect
all of the structures of an ABC block, such as constant pools, method
infos, class infos, etc into various pools so they can be processed later
in a different order than the IABCVisitor events are received in.
|
Modifier and Type | Method and Description |
---|---|
void |
ABCParser.parseABC(IABCVisitor vabc)
Parse the ABC and send its information to the visitor.
|
Modifier and Type | Class and Description |
---|---|
class |
ABCDumpVisitor
ABC Visitor implementation that can take an ABC and
dump out a textual representation of it.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingABCVisitor
A DelegatingABCVisitor wraps another IABCVisitor and delegates actions to it.
|
class |
NilABCVisitor
An IABCVisitor that ignores its input as far as possible.
|
Modifier and Type | Field and Description |
---|---|
static IABCVisitor |
NilVisitors.NIL_ABC_VISITOR
Nil
IABCVisitor . |
Constructor and Description |
---|
DelegatingABCVisitor(IABCVisitor delegate)
Construct a DelegatingABCVisitor.
|
Modifier and Type | Class and Description |
---|---|
class |
ABCScopeBuilder
Populates symbol table from an ABC file.
|
Modifier and Type | Method and Description |
---|---|
static void |
FunctionGeneratorHelper.generateFunction(IABCVisitor abcVisitor,
MethodInfo mi,
InstructionList functionBody)
Adds the specified
MethodInfo with the specified
InstructionList as its body to the specified IABCVisitor
After calling the method, the specified MethodInfo and
InstructionList must not be modified. |
Constructor and Description |
---|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> constructorParamTypes,
InstructionList constructorInstructions,
boolean hasProtectedMembers)
Generate an ABC class with constructor instructions.
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
Collection<Name> iinitParameterTypes,
InstructionList iinitInstructions,
InstructionList cinitInstructions,
boolean hasProtectedMembers)
Constructor
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
Collection<Name> implementedInterfaces,
InstructionList constructorInstructions)
|
ClassGeneratorHelper(ICompilerProject project,
IABCVisitor visitor,
Name className,
ClassDefinition baseClass,
InstructionList constructorInstructions)
|
Modifier and Type | Field and Description |
---|---|
static IABCVisitor |
GlobalLexicalScope.USE_DEFAULT_EMITTER
No IABCVisitor supplied, this scope should supply a default implementation.
|
Constructor and Description |
---|
GlobalLexicalScope(ICompilerProject project,
ICodeGenerator generator,
String syntheticNamePrefix,
IABCVisitor emitter)
Construct a global scope with a specialized IABCVisitor.
|
Modifier and Type | Method and Description |
---|---|
static void |
BindingCodeGenUtils.generateGetter(IABCVisitor emitter,
InstructionList ret,
List<IExpressionNode> expressions,
LexicalScope enclosing_scope)
emits the code for anonymous getter function, then adds to the instruction list for instantiating one onto the stack
|
static MethodInfo |
BindingCodeGenUtils.generatePropertyGetterFunction(IABCVisitor emitter,
ICompilerProject project,
ASScope scope)
generate this function: function(propertyName:String):* { return
target[propertyName]; } where target == "this"
|
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.
|
Constructor and Description |
---|
MXMLBindingDirectiveHelper(MXMLClassDirectiveProcessor ddp,
IABCVisitor emitter) |
Modifier and Type | Method and Description |
---|---|
ICSSCodeGenResult |
CSSCompilationSession.emitStyleDataClass(IFlexProject project,
IABCVisitor abcVisitor)
Generate code for CSS data.
|
static void |
CSSModuleGenerator.generateMainClass(IABCVisitor emitter,
ICompilerProject project,
Name mainClassName)
Generate CSS module main class.
|
static void |
CSSModuleGenerator.generateStyleDataClass(IABCVisitor abcEmitter,
FlexProject project,
ICSSDocument cssDocument,
CSSCompilationSession cssCompilationSession,
Name stylesDataClassName)
Generating CSS module style data class.
|
Constructor and Description |
---|
CSSReducer(IFlexProject project,
ICSSDocument cssDocument,
IABCVisitor abcVisitor,
CSSCompilationSession session,
boolean isDefaultFactory,
int styleTagIndex)
Create a CSS reducer.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.