Package | Description |
---|---|
org.apache.flex.compiler.definitions |
This package contains interfaces for various kinds of definitions
found in AS and MXML files.
|
org.apache.flex.compiler.internal.abc | |
org.apache.flex.compiler.internal.as.codegen | |
org.apache.flex.compiler.internal.caches | |
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.definitions.mxml | |
org.apache.flex.compiler.internal.mxml |
This package is the internal counterpart of the external
org.apache.flex.compiler.mxml 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.internal.tree.mxml |
This package is the internal counterpart of the external
org.apache.flex.compiler.tree.mxml package. |
org.apache.flex.compiler.internal.units.requests |
This package is the internal counterpart of the external
org.apache.flex.compiler.units.requests package. |
org.apache.flex.compiler.projects |
This package contains interfaces representing projects.
|
org.apache.flex.compiler.scopes |
This package contains interfaces representing scopes.
|
org.apache.flex.compiler.tree.as | |
org.apache.flex.compiler.units.requests |
This package contains interfaces representing a compilation unit's
requests and results.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
IScopedDefinition.getContainedScope()
Returns the scope that is contained within this definition.
|
IASScope |
IDefinition.getContainingScope()
Gets the scope in which this definition exists.
|
Modifier and Type | Method and Description |
---|---|
List<IASScope> |
ABCScopeBuilder.build()
Build scopes and symbol tables from ABC.
|
Constructor and Description |
---|
ScopedDefinitionTraitsVisitor(ABCScopeBuilder owner,
IASScope scope,
boolean isStatic) |
ScopedDefinitionTraitsVisitor(ABCScopeBuilder owner,
IASScope scope,
boolean isStatic,
INamespaceReference interfNamespace) |
Modifier and Type | Method and Description |
---|---|
IASScope |
LexicalScope.getLocalASScope() |
Modifier and Type | Method and Description |
---|---|
InlineFunctionLexicalScope |
LexicalScope.pushInlineFunctionFrame(IASScope containingScope,
boolean storeClassBinding,
FunctionNode functionNode)
Push a new lexical scope for a function being inlined.
|
void |
LexicalScope.setLocalASScope(IASScope scope)
Set this LexicalScope's corresponding ASScope.
|
Constructor and Description |
---|
InlineFunctionLexicalScope(LexicalScope enclosingFrame,
IASScope containingScope,
boolean storeClassBinding,
FunctionNode functionNode) |
Modifier and Type | Method and Description |
---|---|
protected Collection<IASScope> |
FileScopeCache.createEntryValue(CacheStoreKeyBase key)
Get the
ASFileScope s associated with the key. |
Modifier and Type | Method and Description |
---|---|
IASScope |
DefinitionBase.getContainingScope() |
IASScope |
ClassTraitsDefinition.getContainingScope() |
Modifier and Type | Class and Description |
---|---|
class |
MXMLEventHandlerScope
Sub-class of
FunctionScope for MXML event handlers. |
Constructor and Description |
---|
StateDefinition(IMXMLStateNode node,
IASScope containingScope,
String name,
int nameStart,
int nameEnd)
Constructor.
|
StateDefinitionBase(String name,
IClassDefinition containingClass,
IASScope containingScope,
int nameStart,
int nameEnd)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ASFileScope
IASScope implementation for FileNodes.
|
class |
ASProjectScope
An ASProjectScope is the topmost scope for a particular project.
|
class |
ASScope
IASScope implementation for class, interface, function, and 'with' scopes.
|
class |
ASScopeBase
ASScopeBase is the abstract base class for all lexical scopes.
|
class |
CatchScope
ASScope subclass for Catch block scopes. |
class |
ClosureScope
Sub-class of ASScope used for function scopes. all definition in scope of
this type are local to a function.
|
class |
FunctionScope
Sub-class of ASScope used for function scopes. all definition in scope of
this type are local to a function.
|
class |
FXGFileScope
Sub-class of
ASFileScope for FXG file scope's. |
class |
MXMLFileScope
Subclass of
ASFileScope for MXML file scopes. |
class |
NoDefinitionScope
Base class for catch and with scopes.
|
class |
PackageScope
An
ASScope subclass for package scope's. |
class |
ScopeView
Base class for instance and class scopes.
|
static class |
SWCFileScopeProvider.SWCFileScope
This class is able to resolve the source file path of a given QName
defined in a SWC library, if the source directory is set for that SWC
library.
|
class |
TypeScope
IASScope implementation for class & interface Necessary to implement AS3 name
resolution semantics correctly because we are using 1 scope to represent
instance and static scopes.
|
class |
WithScope
Scope for a with block.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
ASProjectScope.getContainingScope() |
Modifier and Type | Method and Description |
---|---|
Collection<IASScope> |
ASProjectScope.clearCompilationUnitScopeList(ICompilationUnit compilationUnit)
Clears the list of
IASScope s associated with the specified
ICompilationUnit . |
Collection<IASScope> |
ASProjectScope.getCompilationUnitScopeList(ICompilationUnit compilationUnit)
Gets the
List of IASScope s that have an associated ASScopeCache or define
IDefinition s currently in the ASProjectScope for the specified ICompilationUnit . |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
ASProjectScope.getCompilationUnitForScope(IASScope scope)
Get the ICompilationUnit from which the scope is declared
|
Modifier and Type | Method and Description |
---|---|
static IDefinition |
SemanticUtils.findMemberByName(IASScope scope,
String member_name,
boolean match_static_to_static,
boolean is_static_reference,
ICompilerProject project)
Search a scope and its enclosing scopes for a member whose name is known.
|
static Collection<IDefinition> |
SemanticUtils.getPropertiesByNameForMemberAccess(IASScope scope,
String member_name,
ICompilerProject project)
Fetch the collection of definitions in the given scope or its underlying scopes
that match the given name.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
WithNode.getScope() |
IASScope |
ScopedBlockNode.getScope() |
IASScope |
CatchNode.getScope() |
IASScope |
BlockNode.getScope()
Get the scope associated with this node as an IASScope
|
IASScope |
FileNode.getTemporaryEnclosingScope(RecursionGuard scopeGuard)
Retrieve the temporary enclosing scope (which is used to make an included
file look like it's inside the scope where the include statement lives.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
MXMLFileNode.getScope() |
IASScope |
MXMLClassDefinitionNode.getScope() |
Modifier and Type | Method and Description |
---|---|
IASScope[] |
FileScopeRequestResultBase.getScopes() |
Constructor and Description |
---|
ABCFileScopeRequestResult(Collection<ICompilerProblem> problems,
Collection<IASScope> scopes)
ABCCompilationUnit allows multiple public visible definitions. |
FileScopeRequestResultBase(Collection<ICompilerProblem> problems,
Collection<? extends IASScope> scopes)
Create an immutable
IFileScopeRequestResult object. |
Modifier and Type | Method and Description |
---|---|
IASScope |
ICompilerProject.getScope() |
Modifier and Type | Interface and Description |
---|---|
interface |
IFileScope
Interface implemented by all file scope, which is the root scope for any
source file or SWC script.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
IASScope.getContainingScope()
Gets the scope that lexically contains this scope.
|
Modifier and Type | Method and Description |
---|---|
IASScope |
IScopedNode.getScope()
Get the scope associated with this node as an IASScope
|
Modifier and Type | Method and Description |
---|---|
IASScope[] |
IFileScopeRequestResult.getScopes() |
Copyright © 2016 The Apache Software Foundation. All rights reserved.