| Package | Description |
|---|---|
| org.apache.royale.compiler.config | |
| org.apache.royale.compiler.definitions | |
| org.apache.royale.compiler.definitions.references | |
| org.apache.royale.compiler.embedding | |
| org.apache.royale.compiler.embedding.transcoders | |
| org.apache.royale.compiler.internal.config |
This package is the internal counterpart of the external
org.apache.royale.compiler.config package. |
| org.apache.royale.compiler.internal.mxml | |
| org.apache.royale.compiler.projects | |
| org.apache.royale.compiler.tree.as | |
| org.apache.royale.compiler.units | |
| org.apache.royale.compiler.workspaces |
| Modifier and Type | Field and Description |
|---|---|
protected ICompilerProject |
Configurator.project |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Configurator.applyToProject(ICompilerProject project) |
| Modifier and Type | Method and Description |
|---|---|
String |
IVariableDefinition.getArrayElementType(ICompilerProject project)
If this
IVariableDefinition is of type Array and has
[ArrayElementType("...")] metadata, this method returns the
specified type for the array elements. |
String |
IDefinition.getContainingSourceFilePath(ICompilerProject project)
Gets the source file path in which this definition is defined.
|
String |
IVariableDefinition.getInstanceType(ICompilerProject project)
If this
IVariableDefinition is of type
IDeferredInstance and has [InstanceType("...")}
metadata, this method returns the specified type for the deferred
instance. |
String |
IVariableDefinition.getPercentProxy(ICompilerProject project)
If this
IVariableDefinition has
[PercentProxy(...)] metadata,
this method returns the specified property name. |
boolean |
IVariableDefinition.hasCollapseWhiteSpace(ICompilerProject project)
If this
IVariableDefinition has [CollapseWhiteSpace]
metadata, this method returns true Otherwise, it returns
false |
boolean |
IDefinition.hasNamespace(INamespaceReference namespace,
ICompilerProject project)
Determines whether the specified namespace is present on this definition.
|
boolean |
IVariableDefinition.hasRichTextContent(ICompilerProject project)
If this
IVariableDefinition has [RichTextContent]
metadata, this method returns true Otherwise, it returns
false |
Iterator<IInterfaceDefinition> |
IInterfaceDefinition.interfaceIterator(ICompilerProject project,
boolean includeThis)
Creates an iterator for enumerating all of the interfaces that this class
implements.
|
boolean |
IVariableDefinition.isColor(ICompilerProject project)
Returns
true if this IVariableDefinition has
[Inspectable(...)] metadata that specifies
format="Color" Otherwise, returns false. |
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 |
IFunctionDefinition.overridesAncestor(ICompilerProject project)
Is this function actually overriding a function in a base class
|
Set<IInterfaceDefinition> |
ITypeDefinition.resolveAllInterfaces(ICompilerProject project) |
Object |
IParameterDefinition.resolveDefaultValue(ICompilerProject project)
Attempt to resolve the default value assigned to this parameter.
|
IInterfaceDefinition[] |
IInterfaceDefinition.resolveExtendedInterfaces(ICompilerProject project)
Get the definitions of the extended interfaces.
|
IFunctionDefinition |
IFunctionDefinition.resolveImplementedFunction(ICompilerProject project)
Finds the definition of the IFunctionDefinition that defines this
function
|
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
|
ITypeDefinition |
IDefinition.resolveType(ICompilerProject project)
Resolves the type of this definition to an
ITypeDefinition. |
Iterable<ITypeDefinition> |
ITypeDefinition.typeIteratable(ICompilerProject project,
boolean skipThis)
Creates an Iterable for enumerating the types of this type.
|
| Modifier and Type | Method and Description |
|---|---|
IDefinition |
IReference.resolve(ICompilerProject project,
IASScope scope,
DependencyType dependencyType,
boolean canEscapeWith)
Resolves the reference to its
IDefinition in the given project
and scope. |
INamespaceDefinition |
INamespaceReference.resolveNamespaceReference(ICompilerProject project)
Resolves this namespace reference to a namespace definition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IEmbedData.addAttribute(ICompilerProject project,
ISourceLocation location,
String key,
String value,
Collection<ICompilerProblem> problems)
Add an attribute
|
boolean |
IEmbedData.createTranscoder(ICompilerProject project,
ISourceLocation location,
Collection<ICompilerProblem> problems) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ITranscoder.buildABC(ICompilerProject project,
Collection<ICompilerProblem> problems)
Build ABC to represent the embedded asset class
|
| Modifier and Type | Field and Description |
|---|---|
protected ICompilerProject |
TargetSettings.project |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IConfigurator.applyToProject(ICompilerProject project)
Apply the current configuration settings to a given project.
|
| Constructor and Description |
|---|
TargetSettings(Configuration configuration,
ICompilerProject project) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICompilerProjectWithNamedColor
All IProject implementations aggregate a project scope containing global
definitions, a set of CompilationUnits, and a graph of dependencies between
the CompilationUnits.
|
| 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 |
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.
|
| 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 | 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 ICompilationUnits 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
ICompilationUnits in the
specified map and unlocks the lock acquired by calling
IWorkspace.startIdleState(). |
Copyright © 2023 The Apache Software Foundation. All rights reserved.