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.definitions |
This package is the internal counterpart of the external
org.apache.flex.compiler.definitions 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.tree.as |
This package is the internal counterpart of the external
org.apache.flex.compiler.tree.as package. |
Modifier and Type | Interface and Description |
---|---|
static interface |
INamespaceDefinition.IAnyNamespaceDefinition
Interface implemented by the any namespace definition.
|
static interface |
INamespaceDefinition.ICodeModelImplicitDefinitionNamespaceDefinition
Interface implemented by the code model implicit definition namespace
definition.
|
static interface |
INamespaceDefinition.IFilePrivateNamespaceDefinition
Interface implemented by all file private namespace definitions.
|
static interface |
INamespaceDefinition.IInterfaceNamespaceDefinition
Interface implemented by all interface namespace definitions.
|
static interface |
INamespaceDefinition.IInternalNamespaceDefinition
Interface implemented by all internal namespace definitions.
|
static interface |
INamespaceDefinition.ILanguageNamespaceDefinition
Interface implemented by all language namespace definitions.
|
static interface |
INamespaceDefinition.INamespaceWithPackageName
Interface implemented by all language namespace definitions associated
with a package.
|
static interface |
INamespaceDefinition.IPrivateNamespaceDefinition
Interface implemented by all private namespace definitions.
|
static interface |
INamespaceDefinition.IProtectedNamespaceDefinition
Interface implemented by all protected namespace definitions.
|
static interface |
INamespaceDefinition.IPublicNamespaceDefinition
Interface implemented by all public namespace definitions.
|
static interface |
INamespaceDefinition.IStaticProtectedNamespaceDefinition
Interface implemented by all static protected namespace definitions.
|
Modifier and Type | Method and Description |
---|---|
INamespaceReference |
IDefinition.getNamespaceReference()
Gets the namespace that this definition belongs to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IDefinition.hasNamespace(INamespaceReference namespace,
ICompilerProject project)
Determines whether the specified namespace is present on this definition.
|
Constructor and Description |
---|
ScopedDefinitionTraitsVisitor(ABCScopeBuilder owner,
IASScope scope,
boolean isStatic,
INamespaceReference interfNamespace) |
Modifier and Type | Interface and Description |
---|---|
static interface |
NamespaceDefinition.IUseNamespaceDirective
Implemented by all namespace references from constructed use namespace
directives found in source code.
|
Modifier and Type | Class and Description |
---|---|
class |
NamespaceDefinition
Instances of this class represent definitions of ActionScript namespaces in
the symbol table.
|
Modifier and Type | Method and Description |
---|---|
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(ASScope scope,
String baseName,
INamespaceReference qualifier)
Create a new UserDefinedNamespaceReference with the given scope, baseName, and qualifier
|
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(ASScope scope,
String baseName,
INamespaceReference qualifier,
IReference base)
Create a new UserDefinedNamespaceReference with the given scope, baseName, qualifier, and base reference
|
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(IASScope scope,
INamespaceDecorationNode node) |
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(IASScope scope,
INamespaceDecorationNode node,
boolean isStatic) |
static INamespaceReference |
NamespaceDefinition.getAnyNamespaceReference() |
static INamespaceReference |
NamespaceDefinition.getAS3NamespaceReference() |
INamespaceReference |
DefinitionBase.getNamespaceReference() |
INamespaceReference |
ClassTraitsDefinition.getNamespaceReference() |
Modifier and Type | Method and Description |
---|---|
static Collection<INamespaceReference> |
NamespaceDefinition.createNamespaceReferencesForQualifier(ASScope scope,
INamespaceDecorationNode node)
Generate a collection of INamespaceReferences that are all the namespace references that the given
INamespaceDecorationNode refers to, when that node is used as the qualifier in an expression, such as:
qualifer::expr
This returns a collection because some qualifiers (public, protected) may actually refer to multiple
namespaces depending on the context where they are used
|
Modifier and Type | Method and Description |
---|---|
static NamespaceDefinition |
NamespaceDefinition.createNamespaceDefintionDirective(INamespaceReference qualifierNamespaceRef,
IASScope scope,
String name,
String uri,
INamespaceReference initializer)
Create a new usder defined namespace definition.
|
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(ASScope scope,
String baseName,
INamespaceReference qualifier)
Create a new UserDefinedNamespaceReference with the given scope, baseName, and qualifier
|
static INamespaceReference |
NamespaceDefinition.createNamespaceReference(ASScope scope,
String baseName,
INamespaceReference qualifier,
IReference base)
Create a new UserDefinedNamespaceReference with the given scope, baseName, qualifier, and base reference
|
boolean |
DefinitionBase.hasNamespace(INamespaceReference namespace,
ICompilerProject project) |
boolean |
ClassTraitsDefinition.hasNamespace(INamespaceReference namespace,
ICompilerProject project) |
static void |
NamespaceDefinition.setContainingDefinitionOfReference(INamespaceReference nsRef,
IDefinition containingDef)
Set the containing definition of an
INamespaceReference , if the INamespaceReference implementation
needs that information. |
void |
InterfaceDefinition.setNamespaceReference(INamespaceReference value) |
void |
DefinitionBase.setNamespaceReference(INamespaceReference value) |
Constructor and Description |
---|
ClassDefinition(String name,
INamespaceReference namespaceRef)
Constructs a new class definition with an auto generated protected
namespace.
|
ClassDefinition(String name,
INamespaceReference namespaceRef,
INamespaceDefinition.IProtectedNamespaceDefinition protectedNamespace)
Constructs a new class definition with an explicit protected namespace.
|
Modifier and Type | Method and Description |
---|---|
protected INamespaceReference[] |
ScopeView.getUsedNamespaces() |
protected INamespaceReference[] |
ASScope.getUsedNamespaces() |
Modifier and Type | Method and Description |
---|---|
INamespaceReference |
NamespaceAccessExpressionNode.computeNamespaceReference() |
INamespaceReference |
MemberAccessExpressionNode.computeNamespaceReference() |
INamespaceReference |
IdentifierNode.computeNamespaceReference() |
INamespaceReference |
ExpressionNodeBase.computeNamespaceReference()
Generate an INamespaceReference that can serve as the namespace reference for something
like a namespace initializer.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.