Constructor and Description |
---|
AS3DebuggerReducer(Context context,
ICompilerProject project) |
DebuggerExpressionEvaluator(ICompilerProject project2) |
Modifier and Type | Method and Description |
---|---|
void |
IJSGoogDocEmitter.emitFieldDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
void |
IJSGoogDocEmitter.emitInterfaceDoc(IInterfaceNode node,
ICompilerProject project) |
void |
IJSGoogDocEmitter.emitInterfaceMemberDoc(IDefinitionNode node,
ICompilerProject project) |
void |
IJSGoogDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
void |
IJSGoogDocEmitter.emitVarDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
static Multiname |
Multiname.crackDottedQName(ICompilerProject project,
String name)
Constructs a
Multiname by parsing the specified name string. |
static Multiname |
Multiname.crackDottedQName(ICompilerProject project,
String name,
boolean includeInternal)
Constructs a
Multiname by parsing the specified name string. |
ICompilationUnit |
IEmbedResolver.resolveCompilationUnit(ICompilerProject project)
A variant of
resolveCompilationUnit() that ignores problems. |
ICompilationUnit |
IEmbedResolver.resolveCompilationUnit(ICompilerProject project,
Collection<ICompilerProblem> problems)
Resolve the ICompilationUnit which is related to the node which
implements this interface
|
Modifier and Type | Method and Description |
---|---|
IClassDefinition.IClassIterator |
IClassDefinition.classIterator(ICompilerProject project,
boolean includeThis)
Creates an iterator for enumerating the superclasses of this class.
|
IEffectDefinition[] |
IClassDefinition.findEffectDefinitions(ICompilerProject project)
Finds the effect definitions for effect declared on this class or any of
its superclasses.
|
IEventDefinition[] |
IClassDefinition.findEventDefinitions(ICompilerProject project)
Finds the event definitions for events declared on this class or any of
its superclasses.
|
IMetaTag[] |
IClassDefinition.findMetaTagsByName(String name,
ICompilerProject project)
Finds all metadata with a specified tag name.
|
IMetaTag[] |
IClassDefinition.findSkinParts(ICompilerProject project,
Collection<ICompilerProblem> problems)
Finds the skin parts declared on this class or any of its superclasses.
|
String[] |
IClassDefinition.findSkinStates(ICompilerProject project,
Collection<ICompilerProblem> problems)
Finds the skin state names declared on this class or any of its
superclasses.
|
Set<String> |
IClassDefinition.findStateNames(ICompilerProject project)
Finds the state names declared on this class or any of its superclasses.
|
IStyleDefinition[] |
IClassDefinition.findStyleDefinitions(ICompilerProject project)
Finds the style definitions for styles declared on this class or any of
its superclasses.
|
IClassDefinition[] |
IClassDefinition.getAlternativeClasses(ICompilerProject project,
Version version)
Returns the classes that are specified as replacing the given class.
|
String |
IDefinition.getContainingSourceFilePath(ICompilerProject project)
Gets the source file path in which this definition is defined.
|
String |
IClassDefinition.getDefaultPropertyName(ICompilerProject project)
Gets the name of the default property for this class.
|
boolean |
IDefinition.hasNamespace(INamespaceReference namespace,
ICompilerProject project)
Determines whether the specified namespace is present on this definition.
|
Iterator<IInterfaceDefinition> |
IClassDefinition.interfaceIterator(ICompilerProject project)
Creates an iterator for enumerating all of the interfaces that this class
implements.
|
Iterator<IInterfaceDefinition> |
IInterfaceDefinition.interfaceIterator(ICompilerProject project,
boolean includeThis)
Creates an iterator for enumerating all of the interfaces that this class
implements.
|
boolean |
IDefinition.isContingentNeeded(ICompilerProject project)
Check if the contingent definition is needed
|
boolean |
IFunctionDefinition.isImplementation(ICompilerProject project)
Determines whether this function is an implementation of a function from
an implements Interface
|
boolean |
IDefinition.isInProject(ICompilerProject project)
Debugging method that can be used to assert that a definition is a specified project.
|
boolean |
ITypeDefinition.isInstanceOf(ITypeDefinition type,
ICompilerProject project)
Determines whether an "is-a" relationship exists between two classes or
interfaces.
|
boolean |
ITypeDefinition.isInstanceOf(String qualifiedName,
ICompilerProject project)
A variant of
isInstanceOf which takes a fully-qualified type
name rather than an ITypeDefinition . |
boolean |
IClassDefinition.needsEventDispatcher(ICompilerProject project)
Determine if this class needs to add an implicit 'implements
flash.events.IEventDispatcher' due to the class, or some of its members
being marked bindable.
|
boolean |
IClassDefinition.needsStaticEventDispatcher(ICompilerProject project)
Determine if this class needs a static event dispatcher added to it.
|
static IAppliedVectorDefinition |
AppliedVectorDefinitionFactory.newVector(ICompilerProject project,
ITypeDefinition elementType) |
boolean |
IFunctionDefinition.overridesAncestor(ICompilerProject project)
Is this function actually overriding a function in a base class
|
Set<IInterfaceDefinition> |
ITypeDefinition.resolveAllInterfaces(ICompilerProject project) |
IClassDefinition[] |
IClassDefinition.resolveAncestry(ICompilerProject project)
Get the ancestral stack for this class, from this class all the way to
Object.
|
ITypeDefinition |
IStyleDefinition.resolveArrayType(ICompilerProject project)
Resolves the type specified by the
arrayType attribute
to a class or interface definitions. |
IClassDefinition |
IClassDefinition.resolveBaseClass(ICompilerProject project)
Finds the definition of the base class for this class.
|
IAccessorDefinition |
IAccessorDefinition.resolveCorrespondingAccessor(ICompilerProject project) |
Object |
IParameterDefinition.resolveDefaultValue(ICompilerProject project)
Attempt to resolve the default value assigned to this parameter.
|
ITypeDefinition |
IAppliedVectorDefinition.resolveElementType(ICompilerProject project)
Resolves the class or interface definition that represents
the type of the vector's elements.
|
IEventDefinition |
IEffectDefinition.resolveEvent(ICompilerProject project)
Resolves the value of this effect's
event attribute
to an event definition. |
IInterfaceDefinition[] |
IInterfaceDefinition.resolveExtendedInterfaces(ICompilerProject project)
Get the definitions of the extended interfaces.
|
IGetterDefinition |
ISetterDefinition.resolveGetter(ICompilerProject project) |
IClassDefinition |
IClassDefinition.resolveHostComponent(ICompilerProject project)
Finds the
IClassDefinition for the host component class, declared with [HostComponent(...)] |
IFunctionDefinition |
IFunctionDefinition.resolveImplementedFunction(ICompilerProject project)
Finds the definition of the IFunctionDefinition that defines this
function
|
IInterfaceDefinition[] |
IClassDefinition.resolveImplementedInterfaces(ICompilerProject project)
Get the definitions of the implemented interfaces.
|
Object |
IVariableDefinition.resolveInitialValue(ICompilerProject project)
Attempt to resolve the initial value assigned to this variable.
|
INamespaceDefinition |
IDefinition.resolveNamespace(ICompilerProject project)
Resolves the namespace specified for this definition to its
INamespaceDefinition.
|
IFunctionDefinition |
IFunctionDefinition.resolveOverriddenFunction(ICompilerProject project)
Finds the definition of the IFunctionDefinition that we are overriding
|
ITypeDefinition |
IFunctionDefinition.resolveReturnType(ICompilerProject project)
Resolve this function's return type in the given scope and find its
definition
|
ISetterDefinition |
IGetterDefinition.resolveSetter(ICompilerProject project) |
ITypeDefinition |
IDefinition.resolveType(ICompilerProject project)
Resolves the type of this definition to an
ITypeDefinition . |
Object |
IConstantDefinition.resolveValue(ICompilerProject project)
Try to calculate the constant value for this ConstantDefinition.
|
Iterable<ITypeDefinition> |
ITypeDefinition.typeIteratable(ICompilerProject project,
boolean skipThis)
Creates an Iterable for enumerating the types of this type.
|
Modifier and Type | Method and Description |
---|---|
Name |
IReference.getMName(ICompilerProject project,
ASScope scope)
Gets the AET {link Name} that this reference represents in the given
project and scope.
|
IDefinition |
IResolvedQualifiersReference.resolve(ICompilerProject project)
Resolves this reference to a definition in the given project.
|
IDefinition |
IReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith)
Resolves the reference to its
IDefinition in the given project
and scope. |
IDefinition |
IResolvedQualifiersReference.resolve(ICompilerProject project,
ICompilationUnit referencingCompilationUnit,
DependencyType dependencyType)
Resolves this reference to a definition in the given project.
|
Namespace |
INamespaceReference.resolveAETNamespace(ICompilerProject project) |
INamespaceDefinition |
INamespaceReference.resolveNamespaceReference(ICompilerProject project)
Resolves this namespace reference to a namespace definition.
|
Constructor and Description |
---|
FlexFXG2SWFTranscoder(ICompilerProject project)
Construct a Flex specific FXG to SWF tag transcoder.
|
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 | Method and Description |
---|---|
ICompilerProject |
LexicalScope.getProject() |
ICompilerProject |
GlobalLexicalScope.getProject() |
Modifier and Type | Method and Description |
---|---|
static MethodInfo |
MXMLClassDirectiveProcessor.createEventHandlerMethodInfo(ICompilerProject project,
IMXMLEventSpecifierNode eventNode,
String handlerName)
Creates a MethodInfo describing the signature for an autogenerated
MXML event handler method corresponding to an MXMLEventSpecifierNode.
|
static MethodInfo |
MXMLClassDirectiveProcessor.createVectorGeneratorMethodInfo(ICompilerProject project,
IMXMLVectorNode vectorNode,
String handlerName)
Creates a MethodInfo describing the signature for an autogenerated
vector generator method.
|
ABCBytesRequestResult |
ICodeGenerator.generate(ExecutorService executorService,
boolean useParallelCodegen,
String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project,
boolean inInvisibleCompilationUnit,
Map<String,String> encodedDebugFiles)
Generate an ABC file equivalent to the input syntax tree.
|
ABCBytesRequestResult |
ABCGenerator.generate(ExecutorService executorService,
boolean useParallelCodegen,
String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project,
boolean inInvisibleCompilationUnit,
Map<String,String> encodedDebugFiles) |
ABCBytesRequestResult |
ICodeGenerator.generate(String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project)
Generate an ABC file equivalent to the input syntax tree.
|
ABCBytesRequestResult |
ABCGenerator.generate(String synthetic_name_prefix,
IASNode root_node,
ICompilerProject project) |
ICodeGenerator.IConstantValue |
ICodeGenerator.generateConstantValue(IASNode subtree,
ICompilerProject project)
Helper method to expose the constant folding code to clients outside of the burm, such
as org.apache.flex.compiler.internal.as.definitions.ConstantDefinition.
|
ICodeGenerator.IConstantValue |
ABCGenerator.generateConstantValue(IASNode subtree,
ICompilerProject project)
Helper method to expose the constant folding code to clients outside of the burm, such
as org.apache.flex.compiler.internal.as.definitions.ConstantDefinition.
|
boolean |
InstructionListNode.isDynamicExpression(ICompilerProject project) |
IDefinition |
InstructionListNode.resolve(ICompilerProject project) |
ITypeDefinition |
InstructionListNode.resolveType(ICompilerProject project) |
Constructor and Description |
---|
GlobalLexicalScope(ICompilerProject project,
ICodeGenerator generator)
Construct a "global" scope to attempt to generate a constant value.
|
GlobalLexicalScope(ICompilerProject project,
ICodeGenerator generator,
String syntheticNamePrefix,
boolean inInvisibleCompilationUnit,
boolean useParallelCodegen,
Map<String,String> encodedDebugFiles)
Construct a global lexical scope to serve as the basis for generating
code for a compilation unit.
|
GlobalLexicalScope(ICompilerProject project,
ICodeGenerator generator,
String syntheticNamePrefix,
IABCVisitor emitter)
Construct a global scope with a specialized IABCVisitor.
|
Modifier and Type | Method and Description |
---|---|
static MethodInfo |
BindingCodeGenUtils.generatePropertyGetterFunction(IABCVisitor emitter,
ICompilerProject project,
ASScope scope)
generate this function: function(propertyName:String):* { return
target[propertyName]; } where target == "this"
|
Name |
StaticPropertyWatcherInfo.getContainingClass(ICompilerProject project) |
void |
StaticPropertyWatcherInfo.init(IDefinition definition,
ICompilerProject project)
After creating a StaticPropertyWatcherInfo, you should immediately call
init.
|
Constructor and Description |
---|
WatcherAnalyzer(BindingDatabase bindingDataBase,
Collection<ICompilerProblem> problems,
BindingInfo bindingInfo,
ICompilerProject project)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected ICompilerProject |
JSSubEmitter.getProject() |
Modifier and Type | Method and Description |
---|---|
static IExpressionNode |
TempTools.getNode(IASNode iNode,
Boolean toRight,
ICompilerProject project) |
static boolean |
TempTools.isBinding(IIdentifierNode node,
ICompilerProject project) |
static boolean |
TempTools.isValidThis(IIdentifierNode node,
ICompilerProject project) |
static String |
TempTools.toInitialValue(IVariableDefinition field,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
void |
JSFlexJSDocEmitter.emitFieldDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
void |
JSFlexJSDocEmitter.emitInterfaceMemberDoc(IDefinitionNode node,
ICompilerProject project) |
void |
JSFlexJSDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
Modifier and Type | Field and Description |
---|---|
ICompilerProject |
JSGoogEmitter.project |
Modifier and Type | Method and Description |
---|---|
void |
JSGoogDocEmitter.emitFieldDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
void |
JSGoogDocEmitter.emitInterfaceDoc(IInterfaceNode node,
ICompilerProject project) |
void |
JSGoogDocEmitter.emitInterfaceMemberDoc(IDefinitionNode node,
ICompilerProject project) |
void |
JSGoogDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
void |
JSGoogDocEmitter.emitVarDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
static IClassDefinition |
EmitterUtils.getSuperClassDefinition(IDefinitionNode node,
ICompilerProject project) |
static boolean |
EmitterUtils.hasSuperClass(ICompilerProject project,
IDefinitionNode node) |
static boolean |
EmitterUtils.isClassMember(ICompilerProject project,
IDefinition nodeDef,
IClassNode classNode) |
static boolean |
EmitterUtils.isSameClass(IDefinition pdef,
IDefinition thisClass,
ICompilerProject project) |
static boolean |
EmitterUtils.writeThis(ICompilerProject project,
JSSessionModel model,
IIdentifierNode node) |
Modifier and Type | Method and Description |
---|---|
void |
JSVF2JSDocEmitter.emitInterfaceMemberDoc(IDefinitionNode node,
ICompilerProject project) |
void |
JSVF2JSDocEmitter.emitMethodDoc(IFunctionNode node,
ICompilerProject project) |
void |
JSVF2JSDocEmitter.emitVarDoc(IVariableNode node,
IDefinition def,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
static void |
CSSModuleGenerator.generateMainClass(IABCVisitor emitter,
ICompilerProject project,
Name mainClassName)
Generate CSS module main class.
|
Modifier and Type | Method and Description |
---|---|
static void |
CSSSemanticAnalyzer.resolveDependencies(Map<CSSFunctionCallPropertyValue,EmbedCompilationUnit> resolvedEmbedProperties,
ICSSRule cssRule,
ICompilerProject project,
Set<IClassDefinition> classReferences,
Set<EmbedCompilationUnit> embedCompilationUnits,
Collection<ICompilerProblem> problems)
Try to resolve all the dependencies introduced by
ClassReference() and Embed() property values in a CSS
rule. |
Modifier and Type | Field and Description |
---|---|
protected ICompilerProject |
TypeDefinitionBase.TypeIterator.project |
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
AppliedVectorDefinition.getProject()
Gets the
ICompilerProject that this
AppliedVectorDefinition was created for. |
static ICompilerProject |
AppliedVectorDefinition.getProjectIfVectorInsantiation(IDefinition def)
Determines if the specified definition is a vector instantiation or a
contained by a vector instantiation.
|
Modifier and Type | Method and Description |
---|---|
void |
AppliedVectorDefinition.adjustVectorMethods(ICompilerProject project)
Copy down definitions from Vector$object into the instantiated class as
we go, modify to the parameter and return types to match what is actually
expected (Vector$object becomes Vector.
|
Iterable<IClassDefinition> |
ClassDefinitionBase.classIterable(ICompilerProject project,
boolean includeThis) |
IClassDefinition.IClassIterator |
ClassDefinitionBase.classIterator(ICompilerProject project,
boolean includeThis) |
boolean |
ClassDefinitionBase.computeNeedsEventDispatcher(ICompilerProject project)
Determine if this class needs to add an implicit 'implements
flash.events.IEventDispatcher' due to the class, or some of its members
being marked bindable.
|
IEffectDefinition[] |
ClassDefinition.findEffectDefinitions(ICompilerProject project) |
IEffectDefinition[] |
AppliedVectorDefinition.findEffectDefinitions(ICompilerProject project) |
IEventDefinition[] |
ClassDefinition.findEventDefinitions(ICompilerProject project) |
IEventDefinition[] |
AppliedVectorDefinition.findEventDefinitions(ICompilerProject project) |
IMetaTag[] |
ClassDefinitionBase.findMetaTagsByName(String name,
ICompilerProject project) |
IMetaTag[] |
ClassDefinition.findSkinParts(ICompilerProject project,
Collection<ICompilerProblem> problems) |
IMetaTag[] |
AppliedVectorDefinition.findSkinParts(ICompilerProject project,
Collection<ICompilerProblem> problems) |
String[] |
ClassDefinition.findSkinStates(ICompilerProject project,
Collection<ICompilerProblem> problems) |
String[] |
AppliedVectorDefinition.findSkinStates(ICompilerProject project,
Collection<ICompilerProblem> problems) |
Set<String> |
ClassDefinition.findStateNames(ICompilerProject project) |
Set<String> |
AppliedVectorDefinition.findStateNames(ICompilerProject project) |
IStyleDefinition[] |
ClassDefinition.findStyleDefinitions(ICompilerProject project) |
IStyleDefinition[] |
AppliedVectorDefinition.findStyleDefinitions(ICompilerProject project) |
IClassDefinition[] |
ClassDefinitionBase.getAlternativeClasses(ICompilerProject project,
Version version) |
String |
DefinitionBase.getContainingSourceFilePath(ICompilerProject project) |
String |
ClassTraitsDefinition.getContainingSourceFilePath(ICompilerProject project) |
String |
ClassDefinition.getDefaultPropertyName(ICompilerProject project) |
String |
AppliedVectorDefinition.getDefaultPropertyName(ICompilerProject project) |
Set<INamespaceDefinition> |
InterfaceDefinition.getInterfaceNamespaceSet(ICompilerProject project)
Generate a namespace set to use for references through a reference with a
static type of an interface.
|
Name |
DefinitionBase.getMName(ICompilerProject project)
Generate an AET Name object for this definition, and log any Problems
encountered while constructing the Name, to the list of problems passed
in.
|
Name |
ClassTraitsDefinition.getMName(ICompilerProject project)
Codegen should never ask for the AET Name of a class traits
|
Name |
ClassDefinition.getMName(ICompilerProject project) |
Name |
AppliedVectorDefinition.getMName(ICompilerProject project) |
boolean |
FunctionDefinition.hasCompatibleSignature(IFunctionDefinition other,
ICompilerProject project) |
boolean |
DefinitionBase.hasNamespace(INamespaceReference namespace,
ICompilerProject project) |
boolean |
ClassTraitsDefinition.hasNamespace(INamespaceReference namespace,
ICompilerProject project) |
Iterator<IInterfaceDefinition> |
ClassDefinitionBase.interfaceIterator(ICompilerProject project) |
Iterator<IInterfaceDefinition> |
InterfaceDefinition.interfaceIterator(ICompilerProject project,
boolean includeThis) |
Iterator<IInterfaceDefinition> |
InterfaceDefinition.interfaceIterator(ICompilerProject project,
boolean includeThis,
Collection<ICompilerProblem> problems) |
boolean |
DefinitionBase.isContingentNeeded(ICompilerProject project) |
boolean |
FunctionDefinition.isImplementation(ICompilerProject project) |
boolean |
DefinitionBase.isInProject(ICompilerProject project) |
boolean |
ClassTraitsDefinition.isInProject(ICompilerProject project) |
boolean |
ClassDefinition.isInProject(ICompilerProject project) |
boolean |
AppliedVectorDefinition.isInProject(ICompilerProject project) |
boolean |
AmbiguousDefinition.isInProject(ICompilerProject project) |
boolean |
InterfaceDefinition.isInstanceOf(ITypeDefinition type,
ICompilerProject project) |
boolean |
ClassTraitsDefinition.isInstanceOf(ITypeDefinition type,
ICompilerProject project)
isInstanceOf for the class traits - basically will return true if type is
Class or Object
|
boolean |
ClassDefinitionBase.isInstanceOf(ITypeDefinition type,
ICompilerProject project) |
boolean |
TypeDefinitionBase.isInstanceOf(String qualifiedName,
ICompilerProject project) |
static IClassDefinition |
AppliedVectorDefinition.lookupVectorImplClass(ICompilerProject project,
String baseName)
Returns the class definition for Vector$object, Vector$int, Vector$uint, or Vector$double.
|
boolean |
ClassDefinitionBase.needsEventDispatcher(ICompilerProject project)
Determine if this class needs to add an implicit 'implements
flash.events.IEventDispatcher' due to the class, or some of its members
being marked bindable.
|
boolean |
ClassDefinitionBase.needsStaticEventDispatcher(ICompilerProject project)
Determine if this class needs a static event dispatcher added to it.
|
boolean |
FunctionDefinition.overridesAncestor(ICompilerProject project) |
Set<IInterfaceDefinition> |
InterfaceDefinition.resolveAllInterfaces(ICompilerProject project) |
Set<IInterfaceDefinition> |
ClassTraitsDefinition.resolveAllInterfaces(ICompilerProject project) |
Set<IInterfaceDefinition> |
ClassDefinitionBase.resolveAllInterfaces(ICompilerProject project) |
static IDefinition |
AmbiguousDefinition.resolveAmbiguities(ICompilerProject project,
List<IDefinition> defs)
Helper method to resolve apparently ambiguous results - there are 2 cases
where we what looks like an ambiguity is not - getter/setter pairs, and
legally re-declared local variables If we have a getter and a setter, we
will end up with 2 resulting definitions, but we don't want to report
them as ambiguous if they are a getter & setter for the same property. in
this case, this method arbitrarily returns the first definition passed in
- this should be ok because getter and setter definitions have methods to
access the other one (resolveCorrespondingAccessor), so callers can use
that to get at the one they want.
|
IClassDefinition[] |
ClassDefinitionBase.resolveAncestry(ICompilerProject project) |
IClassDefinition[] |
AppliedVectorDefinition.resolveAncestry(ICompilerProject project) |
ITypeDefinition |
StyleDefinition.resolveArrayType(ICompilerProject project) |
IClassDefinition |
ClassDefinition.resolveBaseClass(ICompilerProject project) |
IClassDefinition |
AppliedVectorDefinition.resolveBaseClass(ICompilerProject project) |
INamespaceDefinition |
NamespaceDefinition.INamepaceDeclarationDirective.resolveConcreteDefinition(ICompilerProject project)
Resolve the initializer if it refers to another namespace, eg:
namespace ns1 = SomeOtherNamespace; This will just return itself if
no additional resolution is necessary.
|
INamespaceDefinition |
NamespaceDefinition.INamepaceDeclarationDirective.resolveConcreteDefinition(ICompilerProject project,
org.apache.flex.compiler.internal.definitions.NamespaceDefinition.NamespaceDirectiveResolver.NamespaceForwardReferencePredicate pred)
Resolve the initializer if it refers to another namespace, eg:
namespace ns1 = SomeOtherNamespace; This will just return itself if
no additional resolution is necessary.
|
AccessorDefinition |
AccessorDefinition.resolveCorrespondingAccessor(ICompilerProject project) |
Object |
ParameterDefinition.resolveDefaultValue(ICompilerProject project) |
ITypeDefinition |
AppliedVectorDefinition.resolveElementType(ICompilerProject project) |
IEventDefinition |
EffectDefinition.resolveEvent(ICompilerProject project) |
IInterfaceDefinition[] |
InterfaceDefinition.resolveExtendedInterfaces(ICompilerProject project) |
Collection<IDefinition> |
ClassDefinition.resolveExtraClasses(ICompilerProject project) |
IGetterDefinition |
SetterDefinition.resolveGetter(ICompilerProject project) |
IClassDefinition |
ClassDefinition.resolveHostComponent(ICompilerProject project) |
IClassDefinition |
AppliedVectorDefinition.resolveHostComponent(ICompilerProject project) |
IFunctionDefinition |
FunctionDefinition.resolveImplementedFunction(ICompilerProject project) |
InterfaceDefinition |
ClassDefinitionBase.resolveImplementedInterface(ICompilerProject project,
int i)
Resolve one of the implemented interfaces.
|
IInterfaceDefinition[] |
ClassDefinitionBase.resolveImplementedInterfaces(ICompilerProject project) |
InterfaceDefinition[] |
ClassDefinitionBase.resolveImplementedInterfaces(ICompilerProject project,
Collection<ICompilerProblem> problems)
Version of resolveImplementedInterfaces that will log Problems associated
with resolving the implemented interfaces This will not log any problems
if null is passed in for the problem collection.
|
InterfaceDefinition[] |
ClassDefinitionBase.resolveImplementedInterfaces(ICompilerProject project,
Collection<ICompilerProblem> problems,
boolean includeImplicits)
Version of resolveImplementedInterfaces that will log Problems associated
with resolving the implemented interfaces This will not log any problems
if null is passed in for the problem collection.
|
ClassDefinition |
ClassDefinition.resolveInheritedFactoryClass(ICompilerProject project) |
Object |
VariableDefinition.resolveInitialValue(ICompilerProject project)
Try to calculate the initial value for this VariableDefinition.
|
Object |
AccessorDefinition.resolveInitialValue(ICompilerProject project) |
abstract IInterfaceDefinition[] |
TypeDefinitionBase.resolveInterfacesImpl(ICompilerProject project)
Resolve the interfaces that this definition extends (if an interface), or implements (if a class).
|
IInterfaceDefinition[] |
InterfaceDefinition.resolveInterfacesImpl(ICompilerProject project)
resolve the interfaces this interface extends
|
IInterfaceDefinition[] |
ClassTraitsDefinition.resolveInterfacesImpl(ICompilerProject project) |
IInterfaceDefinition[] |
ClassDefinitionBase.resolveInterfacesImpl(ICompilerProject project)
Resolve the implemented interfaces of this Class
|
INamespaceDefinition |
DefinitionBase.resolveNamespace(ICompilerProject project) |
INamespaceDefinition |
NamespaceDefinition.resolveNamespaceReference(ICompilerProject project) |
FunctionDefinition |
SetterDefinition.resolveOverriddenFunction(ICompilerProject project)
Will return the setter this overrides, if any.
|
FunctionDefinition |
GetterDefinition.resolveOverriddenFunction(ICompilerProject project)
Will return the getter this overrides, if any.
|
FunctionDefinition |
FunctionDefinition.resolveOverriddenFunction(ICompilerProject project) |
List<IFunctionDefinition> |
FunctionDefinition.resolveOverridenInterfaceFunctions(ICompilerProject project)
Return a list of FunctionDefinitions from the base interfaces that this FunctionDefinition overrides.
|
ITypeDefinition |
FunctionDefinition.resolveReturnType(ICompilerProject project) |
ISetterDefinition |
GetterDefinition.resolveSetter(ICompilerProject project) |
protected static TypeDefinitionBase |
DefinitionBase.resolveType(DefinitionBase context,
IReference typeRef,
ICompilerProject project,
DependencyType dt) |
protected static TypeDefinitionBase |
DefinitionBase.resolveType(DefinitionBase context,
String typeName,
ICompilerProject project,
DependencyType dt)
Static version of
resolveType() to help sub-classes implement
their overrides of DefinitionBase.resolveType(String, ICompilerProject, DependencyType) . |
TypeDefinitionBase |
TypeDefinitionBase.resolveType(ICompilerProject project)
Resolve the type of this type - will return a Definition representing the
ctraits
|
TypeDefinitionBase |
DefinitionBase.resolveType(ICompilerProject project) |
TypeDefinitionBase |
DefinitionBase.resolveType(IReference typeRef,
ICompilerProject project,
DependencyType dt) |
protected TypeDefinitionBase |
DefinitionBase.resolveType(String typeName,
ICompilerProject project,
DependencyType dt)
This helper method resolves type references in definitions (i.e., Strings
such as "int", "Sprite", or "flash.events.IEventDispatcher" that are
stored as references to a class or interface) to the definition of the
specified type.
|
protected TypeDefinitionBase |
AppliedVectorDefinition.resolveType(String typeName,
ICompilerProject project,
DependencyType dt) |
Object |
ConstantDefinition.resolveValue(ICompilerProject project) |
Object |
ConstantDefinition.resolveValueFrom(ICompilerProject project,
NodeBase fromNode)
Try to calculate the constant value for this Constant Definition when
referenced from the passed in Node.
|
Object |
ConstantDefinition.resolveValueImpl(ICompilerProject project) |
Iterable<ITypeDefinition> |
TypeDefinitionBase.staticTypeIterable(ICompilerProject project,
boolean skipThis)
Get an iterator that will iterate over the static inheritance chain.
|
Iterable<ITypeDefinition> |
TypeDefinitionBase.typeIteratable(ICompilerProject project,
boolean skipThis) |
void |
InterfaceDefinition.validateClassImplementsAllMethods(ICompilerProject project,
ClassDefinition cls,
Collection<ICompilerProblem> problems)
Method to find all the methods declared in this interface, and validate
that the class definition passed in implements those methods, and that
they are implemented with compatible signatures
|
Constructor and Description |
---|
AppliedVectorDefinition(ICompilerProject project,
IClassDefinition baseClass,
ITypeDefinition elementType)
Constructor.
|
ClassDefinitionBase.ClassIterator(IClassDefinition thisClass,
ICompilerProject project,
boolean includeThis) |
InterfaceDefinition.InterfaceIterator(ClassDefinitionBase cls,
ICompilerProject project,
Collection<ICompilerProblem> problems)
Creates iterator for all interfaces implemented by a class
|
InterfaceDefinition.InterfaceIterator(IInterfaceDefinition thisInterface,
ICompilerProject project,
boolean includeThis,
Collection<ICompilerProblem> problems)
Creates iterator for all interfaces extended by an interface
|
TypeDefinitionBase.StaticTypeIterator(ICompilerProject project,
ITypeDefinition initialType,
boolean skipInitial) |
TypeDefinitionBase.TypeIterator(ICompilerProject project,
ITypeDefinition initialType,
boolean skipInitial) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceBundleMetaTag.resolveDependencies(Collection<ICompilerProblem> errors,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
Name |
ResolvedReference.getMName(ICompilerProject project,
ASScope scope) |
Name |
ResolvedQualifiersReference.getMName(ICompilerProject project,
ASScope scope) |
Name |
ParameterizedReference.getMName(ICompilerProject project,
ASScope scope) |
Name |
NotATypeReference.getMName(ICompilerProject project,
ASScope scope) |
Name |
LexicalReference.getMName(ICompilerProject project,
ASScope scope) |
Name |
BuiltinReference.getMName(ICompilerProject project,
ASScope scope) |
Set<INamespaceDefinition> |
LexicalReference.getNamespaceSet(ICompilerProject project,
ASScope scope) |
IDefinition |
ResolvedQualifiersReference.resolve(ICompilerProject project) |
IDefinition |
ResolvedReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith) |
IDefinition |
ResolvedQualifiersReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith) |
IDefinition |
ParameterizedReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith) |
IDefinition |
NotATypeReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith) |
IDefinition |
LexicalReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType depencencyType,
boolean canEscapeWith) |
IDefinition |
BuiltinReference.resolve(ICompilerProject project,
ASScope scope,
DependencyType dependencyType,
boolean canEscapeWith) |
IDefinition |
ResolvedQualifiersReference.resolve(ICompilerProject project,
ICompilationUnit referencingCompilationUnit,
DependencyType dt) |
Constructor and Description |
---|
EmbedData.SkinClassInfo(ICompilerProject project,
ClassDefinition definition) |
Modifier and Type | Method and Description |
---|---|
byte[] |
TranscoderBase.buildABC(ICompilerProject project,
Collection<ICompilerProblem> problems)
Build ABC to represent the embedded asset class
|
byte[] |
SkinTranscoder.buildABC(ICompilerProject project,
Collection<ICompilerProblem> problems)
Build ABC to represent the embedded asset class
|
Modifier and Type | Class and Description |
---|---|
class |
ASCProject
Implementation class for an asc style project.
|
class |
ASProject
Implementation base class to implement functionality common to all
IASProject implementations.
|
class |
CompilerProject
Abstract class used to share implementation of some ICompilerProject methods
across multiple concrete implementation classes.
|
class |
FlexJSProject |
class |
FlexProject
FlexProject extends ASProject to add support for compiling
.mxml, .css, and .properties files. |
Modifier and Type | Method and Description |
---|---|
static Collection<ICompilationUnit> |
ResourceBundleUtils.findCompilationUnits(String bundleName,
ICompilerProject project,
Collection<ICompilerProblem> errors)
Find all the compilation units associated with the specified resource bundle name.
|
static void |
ResourceBundleUtils.resolveDependencies(String bundleName,
ICompilationUnit refCompUnit,
ICompilerProject project,
ISourceLocation location,
Collection<ICompilerProblem> errors)
Resolving the references to the specified resourceBundleName and adds the
necessary dependency from the specified compilation unit to resolved
resource bundle's compilation unit.
|
Modifier and Type | Method and Description |
---|---|
void |
ASScope.addDependencyOnBuiltinType(ICompilerProject project,
IASLanguageConstants.BuiltinType builtinType,
DependencyType dependencyType)
Add a dependency to the given builtintype, from the compilation unit which contains this scope
|
void |
ASFileScope.addDependencyOnBuiltinType(ICompilerProject project,
IASLanguageConstants.BuiltinType builtinType,
DependencyType dependencyType) |
IDefinition |
ASScope.findProperty(ICompilerProject project,
String baseName,
DependencyType dt)
The main public entry point for the findprop operation in the compiler.
|
IDefinition |
ASScope.findProperty(ICompilerProject project,
String baseName,
DependencyType dt,
boolean canEscapeWith)
The main public entry point for the findprop operation in the compiler.
|
IDefinition |
ASScope.findProperty(ICompilerProject project,
String baseName,
com.google.common.base.Predicate<IDefinition> additional,
DependencyType dt,
boolean canEscapeWith)
An alternate entry point for findprop operations.
|
IDefinition |
ASScope.findProperty(ICompilerProject project,
String baseName,
com.google.common.base.Predicate<IDefinition> additional,
Set<INamespaceDefinition> nsSet,
DependencyType dt,
boolean canEscapeWith) |
IDefinition |
ASScope.findPropertyQualified(ICompilerProject project,
INamespaceDefinition qual,
String baseName,
DependencyType dt)
The main public entry point for the findprop operation in the compiler
with an explicit qualifier namespace.
|
IDefinition |
ASScope.findPropertyQualified(ICompilerProject project,
INamespaceDefinition qual,
String baseName,
DependencyType dt,
boolean canEscapeWith)
The main public entry point for the findprop operation in the compiler
with an explicit qualifier namespace.
|
IDefinition |
ASScope.findPropertyQualified(ICompilerProject project,
IQualifiers qual,
String baseName,
DependencyType dt,
boolean canEscapeWith)
The main public entry point for the findprop operation in the compiler
with an explicit set of qualifier namespaces.
|
IDefinition |
ASScope.findPropertyQualified(ICompilerProject project,
com.google.common.base.Predicate<IDefinition> additional,
INamespaceDefinition qual,
String baseName,
DependencyType dt)
The main public entry point for the findprop operation in the compiler
with an explicit qualifier namespace.
|
IASDocComment |
SWCFileScopeProvider.SWCFileScope.getComment(ICompilerProject project,
IDocumentableDefinition def) |
String |
TypeScope.getContainingSourcePath(String baseName,
ICompilerProject project) |
String |
SWCFileScopeProvider.SWCFileScope.getContainingSourcePath(String qName,
ICompilerProject project) |
String |
ScopeView.getContainingSourcePath(String baseName,
ICompilerProject project) |
String |
ASScope.getContainingSourcePath(String qName,
ICompilerProject project) |
String |
ASFileScope.getContainingSourcePath(String qName,
ICompilerProject project)
Resolve the source file path of the given definition QName.
|
protected void |
ASScopeBase.getLocalProperty(ICompilerProject project,
Collection<IDefinition> defs,
String baseName,
boolean getContingents)
Adds definitions with the specified base name to the specified collection of definitions.
|
void |
ASScopeBase.getLocalProperty(ICompilerProject project,
Collection<IDefinition> defs,
String baseName,
Set<INamespaceDefinition> namespaceSet)
Adds definitions with the specified base name whose namespaces match the
specified namespace set to the specified collection of definitions.
|
protected void |
ASScopeBase.getLocalProperty(ICompilerProject project,
Collection<IDefinition> defs,
String baseName,
Set<INamespaceDefinition> namespaceSet,
boolean getContingents)
Adds definitions with the specified base name whose namespaces match the
specified namespace set to the specified collection of definitions.
|
Set<INamespaceDefinition> |
NoDefinitionScope.getNamespaceSet(ICompilerProject project)
Get the namespace set of the containing scope
|
Set<INamespaceDefinition> |
ASScope.getNamespaceSet(ICompilerProject project)
Computes and returns the namespace set for this scope.
|
Set<INamespaceDefinition> |
ASScope.getNamespaceSetForName(ICompilerProject project,
String name)
Calculate the namespace set to use to resolve name.
|
Set<INamespaceDefinition> |
ASScope.getNamespaceSetForSuper(ICompilerProject project,
IDefinition superDef)
Helper method to get the namespace set to use for a super reference.
|
IDefinition |
ASScope.getPropertyFromDef(ICompilerProject project,
IDefinition def,
String name,
boolean isSuperRef)
Find a property in an IDefinition, using the open namespaces & packages
of this scope.
|
IDefinition |
ASScope.getPropertyFromDef(ICompilerProject project,
IDefinition def,
String name,
com.google.common.base.Predicate<IDefinition> additional,
boolean isSuperRef)
Find a property in an IDefinition, using the open namespaces & packages
of this scope, and any additional constraints that are passed in as a
Predicate . |
IDefinition |
ASScope.getQualifiedPropertyFromDef(ICompilerProject project,
IDefinition def,
String name,
INamespaceDefinition qualifier,
boolean isSuperRef)
Find a property in an IDefinition, using the namespace passed in as the
qualifier.
|
IDefinition |
ASScope.getQualifiedPropertyFromDef(ICompilerProject project,
IDefinition def,
String name,
IQualifiers qualifiers,
boolean isSuperRef)
Find a property in an IDefinition, using the qualifiers passed in to provide the namespace set.
|
boolean |
ASScopeBase.isContingentDefinitionNeeded(ICompilerProject project,
IDefinition definition)
Check whether there is a matching definition in the class hierarchy
already defined in which case the contingent definition is not needed.
|
boolean |
ASProjectScope.DefinitionPromise.isInProject(ICompilerProject project) |
ASScope |
ScopeView.resolveSuperScope(ICompilerProject project)
Get the scope of the super class - this method will do the right thing depending on
if this scope is the instance of static scope.
|
ASScope |
TypeScope.resolveSuperScope(ICompilerProject project,
org.apache.flex.compiler.internal.scopes.TypeScope.ScopeKind kind)
Get the scope of the super class - this method will do the right thing depending on
if this scope is the instance of static scope.
|
Constructor and Description |
---|
NamespaceSetPredicate(ICompilerProject project,
Set<INamespaceDefinition> namespaceSet)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
MethodBodySemanticChecker.checkNamespaceOfDefinition(IASNode iNode,
IDefinition def,
ICompilerProject project)
Check that the namespace of the definition is valid
|
static boolean |
SemanticUtils.definitionCanBeAnalyzed(Binding binding,
ICompilerProject project)
Is this Binding's definition statically analyzable?
|
static IDefinition |
SemanticUtils.findMemberByName(IASNode iNode,
String member_name,
boolean match_static_to_static,
ICompilerProject project)
Find a member definition, given its name.
|
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 List<IDefinition> |
SemanticUtils.findPotentialFunctionConflicts(ICompilerProject project,
IFunctionDefinition funcDef)
Find potential conflict for a FunctionDefinition.
|
static IDefinition |
SemanticUtils.findProperty(ASScope scope,
String member_name,
ICompilerProject project,
boolean lookForStatics)
Find a qualified property by name in a scope.
|
static IDefinition |
SemanticUtils.findPropertyQualified(ASScope scope,
IDefinition member_def,
ICompilerProject project)
Find a qualified property in a scope.
|
static IDefinition |
SemanticUtils.findPropertyQualified(IDefinition member_def,
ICompilerProject project)
Find a property in a defintion's containing scope.
|
static IDefinition |
SemanticUtils.findPropertyQualified(IScopedDefinition enclosing_def,
IDefinition member_def,
ICompilerProject project)
Find a property in a (presumably) enclosing defintion's scope.
|
static boolean |
SemanticUtils.functionMustReturnValue(IASNode iNode,
ICompilerProject project)
Does the subject function require a non-void return value?
|
static Name |
SemanticUtils.getAETName(IDefinition def,
ICompilerProject project)
Downcast an IDefinition and get an AET name from it.
|
static IDefinition |
SemanticUtils.getBaseClassDefinition(IASNode iNode,
ICompilerProject project)
Fetch the definition of the given node's
class' base class.
|
static IDefinition |
SemanticUtils.getBuiltinType(IASLanguageConstants.BuiltinType builtin,
ICompilerProject project)
Fetch a builtin type.
|
static ASScope |
SemanticUtils.getClassScope(IASNode iNode,
ICompilerProject project)
Get the ASScope of the class that contains an inode.
|
static IDefinition |
SemanticUtils.getDefinition(IASNode iNode,
ICompilerProject project)
Get the definition associated with a IASNode.
|
static IDefinition |
SemanticUtils.getDefinitionOfUnderlyingType(IASNode iNode,
boolean allow_unknown_iNode,
ICompilerProject project)
Get the definition of the explicit or implicit type underlying
an iNode's reference(s).
|
static String |
SemanticUtils.getEnclosingClassName(IASNode iNode,
ICompilerProject project)
Get the name of the class enclosing an instance function in which
some problematic construct resides.
|
static FunctionDefinition |
SemanticUtils.getEnclosingFunctionDefinition(IASNode iNode,
ICompilerProject project)
Find the definition of the function that encloses the given node, if any.
|
static SemanticUtils.MultiDefinitionType |
SemanticUtils.getMultiDefinitionType(IDefinition def,
ICompilerProject project)
Is the given multiply defined, or ambiguous?
|
static INamespaceDefinition |
SemanticUtils.getNamespaceInClassContext(IDefinition def,
ICompilerProject project)
Resolve a definition's namespace, and if its parent is a class, normalize
that namespace against the parent class' superclass' protected namespace.
|
static Nsset |
SemanticUtils.getOpenNamespaces(IASNode iNode,
ICompilerProject project)
Get the set of open namespaces for the given node.
|
static Nsset |
SemanticUtils.getOpenNamespacesForSuper(IASNode iNode,
ICompilerProject project,
IDefinition superDef)
Get the set of open namespaces for the given node,
as appropriate for
super[...] |
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.
|
static IDefinition |
SemanticUtils.getPropertyQualified(ASScope scope,
IDefinition member_def,
ICompilerProject project)
Get a qualified property in a scope - this will look for properties with the same qualified name as member_def
in the scope passed in.
|
static IDefinition |
SemanticUtils.getPropertyQualified(ASScope scope,
INamespaceDefinition namespace,
String baseName,
ICompilerProject project)
Get a qualified property in a scope, given the namespace and base name to search for.
|
static IDefinition |
SemanticUtils.getPropertyQualified(IScopedDefinition enclosing_def,
IDefinition member_def,
ICompilerProject project) |
static ASScope |
SemanticUtils.getSuperClassScope(ICompilerProject project,
IDefinition member_def)
Get the super class scope for the definition passed in.
|
static String |
SemanticUtils.getTypeOfBase(IASNode node,
ICompilerProject project)
Get the type of a node's base expression as a string.
|
static String |
SemanticUtils.getTypeOfStem(IASNode iNode,
ICompilerProject project)
Get the type of an expression's stem.
|
static boolean |
SemanticUtils.hasBaseClassDefinition(IASNode iNode,
ICompilerProject project)
Is the given node in a class with a base class definition?
|
static boolean |
SemanticUtils.hasDynamicBase(Binding binding,
ICompilerProject project)
Check an ExpressionNodeBase's base expression (if any)
to determine if it's a dynamic expression, which
means we don't know much about its definition.
|
static boolean |
SemanticUtils.hasUnderlyingType(IASNode iNode,
ICompilerProject project)
Does the given inode have an underlying type that could
resolve its references?
|
static boolean |
SemanticUtils.isBuiltin(IDefinition def,
IASLanguageConstants.BuiltinType builtin,
ICompilerProject project)
Determine if an IDefinition is a specific builtin type.
|
static boolean |
SemanticUtils.isConst(IASNode iNode,
ICompilerProject project)
Is the given definition const?
|
static boolean |
SemanticUtils.isGetterSetterPair(IDefinition def0,
IDefinition def1,
ICompilerProject project)
Determines if a pair of definitions consists of a matched getter/setter pair.
|
static boolean |
SemanticUtils.isGetterSetterPair(List<IDefinition> defs,
ICompilerProject project)
Determines if a list of definitions consists of a matched getter/setter pair.
|
static boolean |
SemanticUtils.isInaccessible(IASNode iNode,
Binding member,
ICompilerProject project)
Is the given binding an inaccessible reference?
|
static boolean |
SemanticUtils.isInInstanceFunction(IASNode iNode,
ICompilerProject project)
Is the given inode in an instance function?
|
static boolean |
SemanticUtils.isInstanceOf(IDefinition maybe_derived,
IDefinition maybe_base,
ICompilerProject project)
Determine if one IDefinition is a subclass of another.
|
static boolean |
SemanticUtils.isInStaticClassFunction(IASNode iNode,
ICompilerProject project)
Is the given inode in a static function?
|
static boolean |
SemanticUtils.isNumericType(IDefinition def,
ICompilerProject project) |
static boolean |
SemanticUtils.isNumericTypeOrBoolean(IDefinition def,
ICompilerProject project) |
static boolean |
SemanticUtils.isValidImplicitOpAssignment(IDefinition lhsType,
IDefinition rhsType,
int opcode,
ICompilerProject project,
boolean compareNormalized)
Check that implicit conversion done as part of an op= style assignment is valid.
|
static boolean |
SemanticUtils.isValidImport(IImportNode importNode,
ICompilerProject project,
boolean inInvisibleCompilationUnit) |
static boolean |
SemanticUtils.isValidTypeConversion(IDefinition expected,
IDefinition actual,
ICompilerProject project,
boolean normalizeDefinitions)
Check that a implicit conversion from actual to expected type is valid.
|
static IDefinition |
SemanticUtils.numberType(ICompilerProject project)
Get the current number type.
|
static int |
SemanticUtils.qualifierIsCompileTimeConstant(IASNode iNode,
ICompilerProject project)
Get the definition associated with a node's qualifier
and decide if the qualifier is a compile-time constant.
|
static int |
SemanticUtils.qualifierIsInterface(IASNode iNode,
ICompilerProject project)
Get the definition associated with a node's qualifier
and decide if the qualifier is an interface name.
|
static ClassDefinition |
SemanticUtils.resolveBaseClass(ICommonClassNode classNode,
ClassDefinition classDefinition,
ICompilerProject project,
Collection<ICompilerProblem> problems)
This is similar to the
resolveBaseClass() method of IClassDefinition ,
except it reports problems if the base class doesn't exist,
if it isn't actually a class, or if it is final;
it also returns the class definition for Object in these error cases. |
static IDefinition |
SemanticUtils.resolveCorrespondingAccessor(IDefinition def,
ICompilerProject project)
Given the definition of a getter or setter, resolve its
corresponding accessor (e.g., the setter for a getter).
|
static ITypeDefinition |
SemanticUtils.resolveRHSTypeOfAssignment(ICompilerProject project,
IASNode iNode)
Calculate the type of the RHS of an assignment.
|
static IDefinition |
SemanticUtils.resolveType(IASNode iNode,
ICompilerProject project) |
static IDefinition |
SemanticUtils.resolveUnaryExprType(IASNode iNode,
ICompilerProject project)
Resolve the type of the underlying expression in a UnaryOperatorNode.
|
static Object |
SemanticUtils.transformNameToConstantValue(IASNode iNode,
ICompilerProject project)
Transform a leaf AST into a compile-time constant;
note that more complex constant folding is done by
a series of rules in the BURM.
|
Constructor and Description |
---|
SemanticUtils(ICompilerProject project)
Construct a new SemanticUtils object.
|
Constructor and Description |
---|
LinkageChecker(ICompilerProject project,
ITargetSettings targetSettings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
IdentifierNode.canEarlyBind(ICompilerProject project,
IDefinition def)
Can this Node be early bound to the Definition it refers to.
|
Name |
TypedExpressionNode.getMName(ICompilerProject project) |
Name |
NamespaceIdentifierNode.getMName(ICompilerProject project) |
Name |
MemberAccessExpressionNode.getMName(ICompilerProject project) |
Name |
LanguageIdentifierNode.getMName(ICompilerProject project) |
Name |
IdentifierNode.getMName(ICompilerProject project) |
Name |
ExpressionNodeBase.getMName(ICompilerProject project)
Gets the AET
Name object to be used for an expression. |
String |
EmbedNode.getName(ICompilerProject project,
Collection<ICompilerProblem> problems) |
ITargetAttributes |
FileNode.getTargetAttributes(ICompilerProject project) |
boolean |
XMLLiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
XMLListLiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
VectorLiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
VariableExpressionNode.isDynamicExpression(ICompilerProject project) |
boolean |
UnaryOperatorNodeBase.isDynamicExpression(ICompilerProject project) |
boolean |
ThrowNode.isDynamicExpression(ICompilerProject project) |
boolean |
RuntimeNameExpressionNode.isDynamicExpression(ICompilerProject project) |
boolean |
ReturnNode.isDynamicExpression(ICompilerProject project) |
boolean |
ObjectLiteralValuePairNode.isDynamicExpression(ICompilerProject project) |
boolean |
ObjectLiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
NilNode.isDynamicExpression(ICompilerProject project) |
boolean |
MemberAccessExpressionNode.isDynamicExpression(ICompilerProject project) |
boolean |
LiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
IdentifierNode.isDynamicExpression(ICompilerProject project) |
boolean |
FunctionObjectNode.isDynamicExpression(ICompilerProject project) |
boolean |
ExpressionNodeBase.isDynamicExpression(ICompilerProject project) |
boolean |
DynamicAccessNode.isDynamicExpression(ICompilerProject project) |
boolean |
ArrayLiteralNode.isDynamicExpression(ICompilerProject project) |
boolean |
IdentifierNode.isLegacyCodegen(ICompilerProject project) |
static boolean |
IdentifierNode.isXMLish(IDefinition def,
ICompilerProject project)
Determine if the definition passed in is one of the XML types (XML or
XMLList) These classes are unrelated, but behave in similar manners.
|
IDefinition |
VectorLiteralNode.resolve(ICompilerProject project) |
IDefinition |
TypedExpressionNode.resolve(ICompilerProject project) |
IDefinition |
NamespaceIdentifierNode.resolve(ICompilerProject project) |
IDefinition |
NamespaceAccessExpressionNode.resolve(ICompilerProject project) |
IDefinition |
MemberAccessExpressionNode.resolve(ICompilerProject project) |
IDefinition |
LanguageIdentifierNode.resolve(ICompilerProject project) |
IDefinition |
IdentifierNode.resolve(ICompilerProject project) |
IDefinition |
ExpressionNodeBase.resolve(ICompilerProject project) |
protected ITypeDefinition |
BinaryOperatorNodeBase.resolveAssignmentType(ICompilerProject project)
Utility method called by
BinaryOperatorNodeBase.resolveType(ICompilerProject)
in subclasses for assignment operators. |
IDefinition |
FunctionCallNode.resolveCalledExpression(ICompilerProject project) |
EmbedCompilationUnit |
EmbedNode.resolveCompilationUnit(ICompilerProject project) |
EmbedCompilationUnit |
EmbedNode.resolveCompilationUnit(ICompilerProject project,
Collection<ICompilerProblem> problems) |
Object |
ConfigExpressionNode.resolveConfigValue(ICompilerProject project) |
IDefinition |
ImportNode.resolveImport(ICompilerProject project) |
protected ITypeDefinition |
UnaryOperatorNodeBase.resolveIncrementOrDecrementType(ICompilerProject project)
Utility method called by
UnaryOperatorNodeBase.resolveType(ICompilerProject) in subclasses
for the ++ and -- operators. |
protected ITypeDefinition |
BinaryOperatorNodeBase.resolveLogicalType(ICompilerProject project)
Utility method called by
BinaryOperatorNodeBase.resolveType(ICompilerProject)
in subclasses for the && and || operators. |
IQualifiers |
NamespaceIdentifierNode.resolveQualifier(ICompilerProject project)
Helper method to determine if this node references one of the builtin
access namespaces these consist of public, private, protected, internal,
and the any namespace - '*'
Helper method to determine if this node references one of the built-in
access namespaces.
|
ITypeDefinition |
XMLLiteralNode.resolveType(ICompilerProject project) |
ITypeDefinition |
XMLListLiteralNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorTypeOfNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorPreIncrementNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorPreDecrementNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorPostIncrementNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorPostDecrementNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorPlusNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorNodeBase.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorMinusNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorLogicalNotNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorDeleteNode.resolveType(ICompilerProject project) |
ITypeDefinition |
UnaryOperatorBitwiseNotNode.resolveType(ICompilerProject project) |
ITypeDefinition |
TypedExpressionNode.resolveType(ICompilerProject project) |
ITypeDefinition |
TernaryOperatorNode.resolveType(ICompilerProject project) |
ITypeDefinition |
ObjectLiteralNode.resolveType(ICompilerProject project) |
ITypeDefinition |
NamespaceAccessExpressionNode.resolveType(ICompilerProject project) |
ITypeDefinition |
MemberAccessExpressionNode.resolveType(ICompilerProject project) |
ITypeDefinition |
LiteralNode.resolveType(ICompilerProject project) |
ITypeDefinition |
LanguageIdentifierNode.resolveType(ICompilerProject project) |
ITypeDefinition |
IdentifierNode.resolveType(ICompilerProject project) |
ITypeDefinition |
FunctionObjectNode.resolveType(ICompilerProject project) |
ITypeDefinition |
FunctionCallNode.resolveType(ICompilerProject project) |
ITypeDefinition |
ExpressionNodeBase.resolveType(ICompilerProject project) |
ITypeDefinition |
EmbedNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorStrictNotEqualNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorStrictEqualNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorPlusNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorPlusAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorNotEqualNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorNodeBase.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMultiplicationNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMultiplicationAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorModuloNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorModuloAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMinusNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMinusAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalOrNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalOrAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalAndNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalAndAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLessThanNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLessThanEqualsNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorIsNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorInstanceOfNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorInNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorGreaterThanNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorGreaterThanEqualsNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorEqualNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorDivisionNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorDivisionAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorCommaNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseXorNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseXorAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseUnsignedRightShiftNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseUnsignedRightShiftAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseRightShiftNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseRightShiftAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseOrNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseOrAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseLeftShiftNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseLeftShiftAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseAndNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseAndAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorAssignmentNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorAsNode.resolveType(ICompilerProject project) |
ITypeDefinition |
ArrayLiteralNode.resolveType(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorPlusAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMultiplicationAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorModuloAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorMinusAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalOrAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorLogicalAndAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorDivisionAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseXorAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseUnsignedRightShiftAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseRightShiftAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseOrAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseLeftShiftAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
ITypeDefinition |
BinaryOperatorBitwiseAndAssignmentNode.resolveTypeOfRValue(ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
IEventDefinition |
EventTriggerTagNode.resolveEventTag(ICompilerProject project)
Resolves this metadata tag to the event definition it produced.
|
IVariableDefinition |
DefaultPropertyTagNode.resolveProperty(ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
MXMLFileNode.getCompilerProject() |
Modifier and Type | Method and Description |
---|---|
ITargetAttributes |
MXMLFileNode.getTargetAttributes(ICompilerProject project) |
Constructor and Description |
---|
MXMLImplicitImportNode(ICompilerProject project,
String importName) |
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
InvisibleCompilationUnit.getProject() |
Modifier and Type | Method and Description |
---|---|
static void |
EmbedCompilationUnitFactory.collectEmbedDatas(ICompilerProject project,
IFileNodeAccumulator fileNode,
Set<EmbedData> embeds,
Collection<ICompilerProblem> problems)
Collect any embed datas in the file
|
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.get(String sortKey,
ICompilerProject project)
Gets the a
Collection of ICompilationUnit 's that refer to
the specified file as their root source file for a specific project |
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.getInvisible(String sortKey,
ICompilerProject project)
Gets the a
Collection of invisible ICompilationUnit 's that refer to
the specified file as their root source file for a specific project |
Modifier and Type | Method and Description |
---|---|
boolean |
ServicesXMLCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
ServicesXMLCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
InvisibleCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
InvisibleCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
CompilationUnitBase.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
CompilationUnitBase.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
protected void |
SWCCompilationUnit.handleClean(boolean cleanFileScope,
Map<ICompilerProject,Set<File>> invalidatedSWCFiles) |
protected void |
CompilationUnitBase.handleClean(boolean clearFileScope,
Map<ICompilerProject,Set<File>> invalidatedSWCFiles)
This method is overriden by base classes to
clean additional processing results not cleaned by
the clean method above.
|
Modifier and Type | Method and Description |
---|---|
void |
Workspace.deleteProject(ICompilerProject compilerProject)
Delete the reference of compiler project from the workspace
|
Collection<ICompilationUnit> |
Workspace.getCompilationUnits(String path,
ICompilerProject project) |
Collection<ICompilationUnit> |
Workspace.getIncludingCompilationUnits(String path,
ICompilerProject project)
Get all compilation units from which the filename is included related to the specified
project
|
Iterable<ICompilationUnit> |
Workspace.getInvisibleAndVisibleCompilationUnits(String path,
ICompilerProject project) |
Modifier and Type | Method and Description |
---|---|
void |
Workspace.endIdleState(Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate) |
Modifier and Type | Interface and Description |
---|---|
interface |
IASCProject
IASCProject can create ISWFTargets that build SWF from AS3 files in a manner
similar to asc.
|
interface |
IASProject
Base interface for all project types that use a source manager and library
manager to create ICompilationUnits.
|
interface |
IFlexProject
Base interface for all project types that support all flex source file types
( mxml, fxg, css, etc ).
|
Modifier and Type | Method and Description |
---|---|
ITargetAttributes |
IFileNode.getTargetAttributes(ICompilerProject project)
If this
IFileNode can be used as the MXML main application or
ActionScript main class, it returns attributes related to SWF target. |
boolean |
IExpressionNode.isDynamicExpression(ICompilerProject project)
Does this expression evaluate to a dynamic value
|
IDefinition |
IExpressionNode.resolve(ICompilerProject project)
If this expression is statically known to refer to a definition return a
reference to that definition.
|
IDefinition |
IFunctionCallNode.resolveCalledExpression(ICompilerProject project)
Resolves the expression being called to a definition.
|
ITypeDefinition |
ITypedClassNode.resolveCollectionType(ICompilerProject project)
Resolves the type of the collection that this IAppliedVectorDefinition
contains
|
IDefinition |
IImportNode.resolveImport(ICompilerProject project)
Returns the definition being imported, or
null
if this is a wildcard import or if the import name
cannot be resolved. |
ITypeDefinition |
IExpressionNode.resolveType(ICompilerProject project)
The type of the result of this expression.
|
ITypeDefinition |
ICompoundAssignmentNode.resolveTypeOfRValue(ICompilerProject project)
Determines the compile-time type of the r-value
of the assignment.
|
Modifier and Type | Method and Description |
---|---|
IVariableDefinition |
IDefaultPropertyTagNode.resolveProperty(ICompilerProject project)
Resolves the property to an
IVariableNode |
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
IMXMLFileNode.getCompilerProject()
Returns the project that created this file node.
|
Modifier and Type | Method and Description |
---|---|
IClassDefinition |
IMXMLClassReferenceNode.getClassReference(ICompilerProject project)
Gets the definition of the ActionScript class corresponding to this MXML
tag.
|
IFunctionDefinition |
IMXMLFunctionNode.getValue(ICompilerProject project)
Gets the value of the <Function> tag, which is the function
definition that its content refers to.
|
ITypeDefinition |
IMXMLClassNode.getValue(ICompilerProject project)
Gets the value of the
<Class> tag, which is the class
or interface that its content specifies. |
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
ICompilationUnit.getProject() |
Modifier and Type | Method and Description |
---|---|
boolean |
ICompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope)
Removes all data created during a compile Clients should not call this
method directly, as it can potentially leave the ICompilationUnit in an
invalid state.
|
boolean |
ICompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope)
Removes all data created during a compile Clients should not call this
method directly, as it can potentially leave the ICompilationUnit in an
invalid state.
|
Modifier and Type | Method and Description |
---|---|
ICompilerProject |
IBlockWalker.getProject()
Returns the current
ICompilerProject for the traverse state. |
Modifier and Type | Field and Description |
---|---|
static Map<ICompilerProject,Set<ICompilationUnit>> |
IWorkspace.NIL_COMPILATIONUNITS_TO_UPDATE
Empty map that can be passed to
IWorkspace.endIdleState(Map) by callers who do not have
a map containing ICompilationUnit s whose updates to project
symbol tables have been deferred. |
Modifier and Type | Method and Description |
---|---|
Collection<ICompilationUnit> |
IWorkspace.getCompilationUnits(String path,
ICompilerProject project)
Get all compilation units in the specified project related to the
specified file name.
|
Iterable<ICompilationUnit> |
IWorkspace.getInvisibleAndVisibleCompilationUnits(String path,
ICompilerProject project)
Gets an iterator that iterates first over all invisible
ICompilationUnit 's for the specified file path in the specified
ICompilerProject and then over all visible
ICompilationUnit 's for the specified file path in the specified
ICompilerProject . |
Modifier and Type | Method and Description |
---|---|
void |
IInvalidationListener.definitionsChanged(Map<ICompilerProject,Collection<IInvalidationListener.InvalidatedDefinition>> changedDefinitions)
Called before any compilation units have been cleaned, but after the
complete set of compilation units to be cleaned has been computed.
|
void |
IWorkspace.endIdleState(Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate)
Updates symbol table entries for all the
ICompilationUnit s in the
specified map and unlocks the lock acquired by calling
IWorkspace.startIdleState() . |
Copyright © 2016 The Apache Software Foundation. All rights reserved.