| Modifier and Type | Method and Description |
|---|---|
IASDocComment |
IASDocDelegate.createASDocComment(ISourceLocation location,
IDocumentableDefinition definition)
Called by MXML tree building code to create an
IASDocComment for
classes defined by MXML files. |
| Modifier and Type | Class and Description |
|---|---|
class |
SourceLocation
Common class to store file/location information across all source types
such as AS, CSS etc
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceLocation.setSourceLocation(ISourceLocation src)
Copies source location information from another instance
into this instance.
|
void |
SourceLocation.span(ISourceLocation location)
Span the location range from
start to end. |
void |
SourceLocation.span(ISourceLocation start,
ISourceLocation end)
Span the location range from
start to end. |
| Constructor and Description |
|---|
SourceLocation(ISourceLocation location)
Copy Constructor for a known source location.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMetaTag
One IMetaTag corresponds to a single metadata annoation (such as
[Event(name="click", type="flash.events.MouseEvent")])
that applies to a given class, interface, variable, or method. |
| 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 |
|---|---|
boolean |
ITranscoder.analyze(ISourceLocation location,
Collection<ICompilerProblem> problems)
Analyze the attributes
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMXMLTagAttributeData
Represents an attribute in MXML.
|
interface |
IMXMLTagData
Represents an open tag, a close tag, or an empty tag in MXML.
|
interface |
IMXMLUnitData
Represents one unit of MXML.
|
| Modifier and Type | Method and Description |
|---|---|
ISourceLocation |
IMXMLTagData.getLocationOfChildUnits()
Gets the source location of this tag's child units.
|
ISourceLocation |
IMXMLTagAttributeData.getValueLocation()
Gets the source location of the start of the value of this attribute.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IASToken
A token returned back by an
IASTokenizer created when we scan text |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICompilerProblem
All classes representing problems reported by the compiler implement this
interface.
|
interface |
IOperandStackUnderflowProblem
Marker interface to break dependencies in ProblemQuery
|
interface |
IParserProblem
Marker interface to break dependencies in ProblemQuery
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDeprecatedAPIProblem
Abstract problem for all of the deprecated API problems.
|
class |
AbstractSemanticProblem
Abstract superclass of SemanticProblem and SemanticWarning;
used to filter semantic errors and warnings out of the problem
stream as necessary.
|
class |
ANELibraryNotAllowedProblem
ANE libraries contain native code and are only allowed on the external
library path.
|
class |
ArrayCastProblem
Problem generated by usage of
Array(...),
except in the case covered by ArrayDowncastProblem. |
class |
ArrayLikeConfigurationErrorProblem
When a class or interface is annotated with [ArrayLike] metadata, it needs
to provide the required minimum set of arguments to allow instances of the class
to be treated as 'ArrayLike' when encountered in other source code.
|
class |
ArrayLikeUsageErrorProblem
When an instance of an ArrayLike class is used in an unsupported way, an ArrayLikeUsageErrorProblem
is created.
|
class |
AssignmentInConditionalProblem
Diagnostic emitted when an assignment expression is a child of
a conditional expression without a guarding equality-type test, e.g.,
(x = 3) is a problem, but (y != x = 3) is not.
|
class |
CodegenInternalProblem
A CodegenInternalProblem represents a
logic error or caught exception.
|
class |
CodegenProblem
Base class of all code-generator problems.
|
class |
CompilerProblem
CompilerProblem is the base class for all error and warning classes in the compiler,
which are collectively called "problems".
|
class |
ConfigurationProblem
This class is the base class for all problems found during configuration processing.
|
class |
ConstNotInitializedProblem
Diagnostic emitted when a const declaration does not have an initializer
|
class |
DateCastProblem
Problem generated by usage of
Date(...). |
class |
DeprecatedConfigurationOptionProblem
Problem indicates a deprecated configuration option usage.
|
class |
DuplicateQNameInSourcePathProblem
CompilerProblem subclass for source path entries that are not
directories. |
class |
DuplicateVariableDefinitionProblem
Strict semantics diagnostic emitted when two variable with
the same name are declared in the same scope.
|
class |
FilePrivateItemsWithMainVarWarningProblem
When a variable is the externally accessible package scoped definition, there is a
namespace implementation issue in javascript for other file-private members.
|
class |
IllogicalComparionWithNaNProblem |
class |
IllogicalComparisonWithUndefinedProblem |
class |
InstanceOfProblem
Diagnostic emitted when instanceof is used
|
class |
MainDefinitionQNameProblem
CompilerProblem subclass for source path entries that are not
directories. |
class |
MXMLDatabindingSourceNotBindableProblem
Problem generated when code attempts to bind to something that isn't bindable.
|
class |
NullUsedWhereOtherExpectedProblem |
class |
OverlappingSourcePathProblem
CompilerProblem subclass for overlapping source path entries. |
class |
ParameterHasNoTypeDeclarationProblem
Example:
function foo(baz) : void {
}
|
class |
ProjectSpecificErrorProblem
A generic problem type for problems that can be specific to a particular target.
|
class |
PublicVarWarningProblem
Public vars don't work well in JS minified output.
|
class |
RemovedConfigurationOptionProblem
Problem indicates that the command line option is no longer supported.
|
class |
RoyaleOnlyConfigurationOptionNotSupported
Warn the user that using a "Royale only" configuration option is not fully
supported.
|
class |
ScopedToDefaultNamespaceProblem |
class |
SemanticProblem
This class is the base class for all problems found during semantic analysis.
|
class |
SemanticWarningProblem
Abstract superclass of all semantic warnings.
|
class |
StrictSemanticsProblem
Base class of all strict mode semantic problems.
|
class |
ThisUsedInClosureProblem
Diagnostic emitted when the method body semantic checker detects
a reference to "this" in a closure
|
class |
UnexpectedExceptionProblem
Unexpected exception in the compiler code.
|
class |
UnfoundPropertyProblem
Problem for an unresolved reference
|
class |
UnresolvedClassReferenceProblem
Problem for unresolved classes used in
ClassReference(). |
class |
VariableHasNoTypeDeclarationProblem
Example:
function foo() : void {
var baz; // no type declaration!
}
|
| Constructor and Description |
|---|
AbstractSemanticProblem(ISourceLocation site) |
ArrayLikeConfigurationErrorProblem(ISourceLocation site,
String description) |
ArrayLikeUsageErrorProblem(ISourceLocation site,
String description) |
CodegenProblem(ISourceLocation site) |
CompilerProblem(ISourceLocation site)
Constructor for a problem associated with an object
implementing
ISourceLocation. |
ConstNotInitializedProblem(ISourceLocation site,
String name) |
FilePrivateItemsWithMainVarWarningProblem(ISourceLocation site) |
InstanceOfProblem(ISourceLocation site) |
ProjectSpecificErrorProblem(ISourceLocation site,
String description,
String projectTypeDetail) |
PublicVarWarningProblem(ISourceLocation site) |
SemanticProblem(ISourceLocation site) |
SemanticWarningProblem(ISourceLocation site) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IASNode
The base interface for all AST (abstract syntax tree) nodes.
|
interface |
IContainerNode
An AST node representing a container of other nodes, such as a parameter list.
|
interface |
IDefinitionNode
An AST node representing a declaration of a package, class,
interface, function, parameter, variable, constant, or namespace.
|
interface |
IDocumentableDefinitionNode
An AST node representing a declaration that can have an ASDoc comment
associated with it.
|
interface |
IExpressionNode
An AST node representing any kind of expression.
|
interface |
IFileNode
An AST node representing an ActionScript file being compiled.
|
interface |
IFunctionNode
An AST node representing a
function declaration,
either for a regular function, a getter, or a setter. |
interface |
IImportNode
An AST node representing an
import directive. |
interface |
IModifierNode
An AST node representing one of the modifiers that can be used with a
declaration:
dynamic, final, native,
override, static, or virtual. |
interface |
INamespaceNode
An AST node representing a
namespace declaration. |
interface |
IParameterNode
An AST node representing a parameter in a
function declaration. |
interface |
IScopedDefinitionNode
An AST node representing a declaration with a contained scope,
as for
package, class,
interface, and function declarations. |
interface |
IScopedNode
An AST node that has an attached scope.
|
interface |
ITypeNode
An AST node representing a class or interface declaration.
|
interface |
IVariableNode
An AST node representing a
var or const declaration. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IMetaTagNode
An AST node representing a single metadata annotation on a declaration.
|
interface |
IMetaTagsNode
An AST node representing the collection of metadata annotations on a declaration.
|
Copyright © 2023 The Apache Software Foundation. All rights reserved.