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.definitions.references |
This package contains interfaces related to inter-definition references.
|
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.definitions.references | |
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 | Method and Description |
---|---|
IReference |
IClassDefinition.getBaseClassReference()
Gets a reference to the base class for this class.
|
IReference[] |
IInterfaceDefinition.getExtendedInterfaceReferences()
Returns
IReference objects that will resolve to any interface this
interface directly extends. |
IReference[] |
IClassDefinition.getImplementedInterfaceReferences()
Returns
IReference objects that will resolve to any interface this
class directly implements. |
IReference |
IFunctionDefinition.getReturnTypeReference()
Gets a reference to the return type for this function.
|
IReference |
IDefinition.getTypeReference()
Gets a reference to the type of this definition.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IResolvedQualifiersReference
A subinterface of
IReference where all the qualifiers in the
reference are already resolved to namespace definitions. |
Modifier and Type | Method and Description |
---|---|
static IReference |
ReferenceFactory.builtinReference(IASLanguageConstants.BuiltinType type)
|
static IReference |
ReferenceFactory.lexicalReference(IWorkspace workspace,
String baseName)
Generates an
IReference for an unqualified base name. |
static IReference |
ReferenceFactory.notATypeReference(IWorkspace workspace,
String baseName)
Generates an
IReference for a type reference that will always be
an error. |
static IReference |
ReferenceFactory.parameterizedReference(IWorkspace workspace,
IReference base,
IReference param)
Generates an
IReference for a parameterized type, such as
{@code Vector. |
static IReference |
ReferenceFactory.resolvedReference(IDefinition definition)
Generates an
IReference that always resolves to the
IDefinition passed in. |
Modifier and Type | Method and Description |
---|---|
static IReference |
ReferenceFactory.parameterizedReference(IWorkspace workspace,
IReference base,
IReference param)
Generates an
IReference for a parameterized type, such as
{@code Vector. |
Modifier and Type | Method and Description |
---|---|
IReference |
ClassDefinition.getBaseClassReference() |
IReference |
AppliedVectorDefinition.getBaseClassReference() |
IReference[] |
InterfaceDefinition.getExtendedInterfaceReferences() |
abstract IReference[] |
ClassDefinitionBase.getImplementedInterfaceReferences() |
IReference[] |
ClassDefinition.getImplementedInterfaceReferences() |
IReference[] |
AppliedVectorDefinition.getImplementedInterfaceReferences() |
IReference |
FunctionDefinition.getReturnTypeReference() |
IReference |
DefinitionBase.getTypeReference() |
Modifier and Type | Method and Description |
---|---|
VariableDefinition |
ClassDefinition.buildOuterDocumentMember(IReference outerClass) |
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
|
protected static TypeDefinitionBase |
DefinitionBase.resolveType(DefinitionBase context,
IReference typeRef,
ICompilerProject project,
DependencyType dt) |
TypeDefinitionBase |
DefinitionBase.resolveType(IReference typeRef,
ICompilerProject project,
DependencyType dt) |
void |
ClassDefinition.setBaseClassReference(IReference baseClassReference)
Sets a reference to the base class for this class.
|
void |
InterfaceDefinition.setExtendedInterfaceReferences(IReference[] extendedInterfaces) |
void |
ClassDefinition.setImplementedInterfaceReferences(IReference[] interfaceReferences) |
void |
FunctionDefinition.setReturnTypeReference(IReference returnTypeReference)
Sets a reference to the return type for this function.
|
void |
DefinitionBase.setTypeReference(IReference typeReference)
Sets the type reference for this definition.
|
Modifier and Type | Method and Description |
---|---|
void |
MXMLEventHandlerScope.buildEventParameter(IReference typeRef) |
Modifier and Type | Class and Description |
---|---|
class |
BuiltinReference
Implementation of
IReference representing one of the builtin types,
such as Object , String or Array . |
class |
LexicalReference
Implementation of
IReference representing a simple, unqualified
reference from a source file such as the type annotation in
var x:String . |
class |
NotATypeReference
Implementation of
IReference representing the presence of a type
annotation that can not possibly be resolved to a type. |
class |
ParameterizedReference
Implementation of
IReference representing a parameterized type, such
as {@code Vector. |
class |
ResolvedQualifiersReference
Implementation of
IReference representing a reference where all the
qualifiers have been resolved to namespace definitions. |
class |
ResolvedReference
Implementation of
IReference representing a reference that always
resolves to the definition passed to the constructor. |
Constructor and Description |
---|
ParameterizedReference(IReference name,
IReference param)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IReference |
MXMLFileScope.resolveTagToReference(IMXMLTagData tag)
Resolves an MXMLTagData to the IReference class the tag refers to.
|
Modifier and Type | Method and Description |
---|---|
IReference |
TypedExpressionNode.computeTypeReference() |
Modifier and Type | Method and Description |
---|---|
DefinitionBase |
BaseTypedDefinitionNode.buildBindableSetter(String definitionName,
ASScope containingScope,
IReference typeRef) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.