Package | Description |
---|---|
org.apache.flex.abc |
This package and its subpackages contain a support library
for manipulating ActionScript bytecode (ABC).
|
org.apache.flex.abc.diagnostics |
This package contains classes and interfaces used to report non-fatal
diagnostics from ABC processing.
|
org.apache.flex.abc.models |
This package contains higher-level models of a method body
and encoders to translate from the basic ABC model
into these higher-level models.
|
org.apache.flex.abc.optimize |
This package contains specialized visitors that transform their input
according to some figure of merit.
|
org.apache.flex.abc.visitors |
This package contains the most basic model of ABC, which uses visitors.
|
org.apache.flex.compiler.internal.semantics |
Modifier and Type | Method and Description |
---|---|
protected MethodBodyInfo |
PoolingABCVisitor.getMethodBodyForMethodInfo(MethodInfo mi)
Get the corresponding MethodBodyInfo for a given MethodInfo
|
Modifier and Type | Method and Description |
---|---|
List<MethodBodyInfo> |
PoolingABCVisitor.getMethodBodies()
Get a list of the method bodies
|
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticsAggregator.nativeMethodWithMethodBody(MethodInfo methodInfo,
MethodBodyInfo methodBodyInfo) |
void |
AbstractDiagnosticVisitor.nativeMethodWithMethodBody(MethodInfo methodInfo,
MethodBodyInfo methodBodyInfo) |
void |
DiagnosticsAggregator.operandStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex) |
void |
AbstractDiagnosticVisitor.operandStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex) |
void |
DiagnosticsAggregator.scopeStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex) |
void |
AbstractDiagnosticVisitor.scopeStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex) |
void |
DiagnosticsAggregator.unreachableBlock(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block) |
void |
AbstractDiagnosticVisitor.unreachableBlock(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block) |
Modifier and Type | Method and Description |
---|---|
MethodBodyInfo |
TreeModelEncoder.getMethodBodyInfo()
Get the MethodBodyInfo of the method being analyzed.
|
Constructor and Description |
---|
FrameModelEncoder(MethodBodyInfo mbi,
FrameModelVisitor<?> visitor,
IDiagnosticsVisitor diagnosticsVisitor)
Construct a new FrameModelEncoder.
|
TreeModelEncoder(MethodBodyInfo mbi,
TreeModelVisitor<T> visitor,
IDiagnosticsVisitor diagnosticsVisitor)
Construct a new TreeModelEncoder.
|
Modifier and Type | Field and Description |
---|---|
protected MethodBodyInfo |
DeadCodeFilter.mbi
The MethodBodyInfo under analysis.
|
Constructor and Description |
---|
DeadCodeFilter(MethodBodyInfo mbi,
IMethodBodyVisitor delegate,
IDiagnosticsVisitor diagnostics)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
IDiagnosticsVisitor.nativeMethodWithMethodBody(MethodInfo methodInfo,
MethodBodyInfo methodBodyInfo)
A
MethodInfo for a native method also has an associated
MethodBodyInfo . |
void |
IDiagnosticsVisitor.operandStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex)
An underflow of operand stack was detected in a basic block in a method.
|
void |
IDiagnosticsVisitor.scopeStackUnderflow(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block,
int instructionIndex)
An underflow of scope stack was detected in a basic block in a method.
|
void |
IDiagnosticsVisitor.unreachableBlock(MethodBodyInfo methodBodyInfo,
IFlowgraph cfg,
IBasicBlock block)
A basic block in a method has been found to be unreachable.
|
IMethodBodyVisitor |
NilMethodVisitor.visitBody(MethodBodyInfo mbi) |
IMethodBodyVisitor |
IMethodVisitor.visitBody(MethodBodyInfo mbi)
Generate a IMethodBodyVisitor.
|
IMethodBodyVisitor |
DelegatingMethodVisitor.visitBody(MethodBodyInfo mbi) |
Modifier and Type | Method and Description |
---|---|
void |
MethodBodySemanticChecker.checkControlFlow(IASNode iNode,
MethodInfo mi,
MethodBodyInfo mbi)
Perform semantic checks that require flow-aware analysis.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.