| Package | Description |
|---|---|
| org.apache.royale.compiler.clients.problems | |
| org.apache.royale.compiler.config | |
| 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.mxml | |
| org.apache.royale.compiler.problems | |
| org.apache.royale.compiler.problems.collections |
This package contains classes dealing with collections of compiler problems.
|
| org.apache.royale.compiler.projects | |
| org.apache.royale.compiler.targets | |
| org.apache.royale.compiler.tree.as | |
| org.apache.royale.compiler.units | |
| org.apache.royale.compiler.units.requests | |
| org.apache.royale.swc | |
| org.apache.royale.swf |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ICompilerProblem> |
ProblemQuery.compareByPositionAndPhase
This Comparator compares problems based on three criteria:
file path
line number
problem class - IParserProblems are "less than" semantic problems.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<ICompilerProblem> |
ProblemQuery.getFilteredProblems()
Get an iterator over the set of problems that
are to be reported based on the current settings.
|
Iterable<ICompilerProblem> |
ProblemQuery.getInternalErrors()
Get an iterator over all internal errors.
|
List<ICompilerProblem> |
ProblemQuery.getProblems()
Gets the list of compiler problems, with no filtering or sorting.
|
Iterable<ICompilerProblem> |
ProblemQuery.getProblemView(IProblemFilter filter)
Get a filtered view of the underlying problems.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CodeGenErrorFilter.accept(ICompilerProblem p) |
boolean |
IProblemFilter.accept(ICompilerProblem p)
Determines if the specified
ICompilerProblem passes the
filter. |
boolean |
ProblemFilterClassCriteria.accept(ICompilerProblem p) |
boolean |
ProblemSettingsFilter.accept(ICompilerProblem p) |
void |
ProblemQuery.add(ICompilerProblem problem)
Add a single problem to the problems collection.
|
void |
ProblemQuery.addAll(ICompilerProblem[] newProblems)
Add an array of compiler problems to the problems collection.
|
String |
ProblemFormatter.format(ICompilerProblem problem)
Returns a readable description of the problem, by substituting field
values for named placeholders such as ${name} in the message specified
for this compiler problem.
|
CompilerProblemClassification |
CompilerProblemCategorizer.getProblemClassification(ICompilerProblem problem) |
CompilerProblemSeverity |
CompilerProblemCategorizer.getProblemSeverity(ICompilerProblem problem)
Get the severity of the compiler problem.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProblemQuery.addAll(Iterable<ICompilerProblem> newProblems)
Add a collection of compiler problems to the problems collection.
|
void |
ProblemQuery.getErrorsAndWarnings(Collection<ICompilerProblem> errors,
Collection<ICompilerProblem> warnings)
Categorize the compiler problems into two bins, errors and warning.
|
void |
ProblemQuery.getErrorsAndWarnings(Collection<ICompilerProblem> errors,
Collection<ICompilerProblem> warnings)
Categorize the compiler problems into two bins, errors and warning.
|
boolean |
CodeGenErrorFilter.hasOtherErrors(Iterable<ICompilerProblem> problems) |
int |
ProblemPrinter.printProblems(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Print problems and return number of problems printed after applying the
filter.
|
int |
ProblemPrinter.printProblems(Iterable<ICompilerProblem> problems)
Print a pre-filtered sequence of problems.
|
void |
ProblemQuery.setShowProblemByClass(Class<? extends ICompilerProblem> problemClass,
boolean enable)
Enable or disable display of a specific problem class or superclass.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<ICompilerProblem> |
Configurator.configurationProblems |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
Configuration.getConfigurationProblems()
Get the configuration problems.
|
Collection<ICompilerProblem> |
Configurator.getConfigurationProblems() |
Collection<Class<ICompilerProblem>> |
Configuration.getErrorProblems()
Get the collection of user specified problem classes that should be treated as errors.
|
Collection<Class<ICompilerProblem>> |
ICompilerProblemSettings.getErrorProblems()
A collection of problem classes that should be report as errors.
|
Collection<Class<ICompilerProblem>> |
Configuration.getIgnoreProblems()
Get the collection of user specified problem classes that should be ignored.
|
Collection<Class<ICompilerProblem>> |
ICompilerProblemSettings.getIgnoreProblems()
A collection of problem classes that should not be reported.
|
Collection<Class<ICompilerProblem>> |
Configuration.getWarningProblems()
Get the collection of user specified problem classes that should be treated as warnings.
|
Collection<Class<ICompilerProblem>> |
ICompilerProblemSettings.getWarningProblems()
A collection of problem classes that should be report as warnings.
|
Collection<ICompilerProblem> |
Configurator.validateConfiguration(String[] args,
ITarget.TargetType targetType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConfigurationBuffer.commit(Object config,
Collection<ICompilerProblem> problems)
commit - bake the resolved map to the configuration
|
| 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
|
byte[] |
ITranscoder.buildABC(ICompilerProject project,
Collection<ICompilerProblem> problems)
Build ABC to represent the embedded asset class
|
IFileNode |
ITranscoder.buildAST(Collection<ICompilerProblem> problems,
String filename)
Build an AST to represent the embedded asset class
|
Map<String,ICharacterTag> |
ITranscoder.getTags(Collection<ITag> tags,
Collection<ICompilerProblem> problems)
The relevant SWF tags
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
IConfigurator.getConfigurationProblems()
Get the configuration problems.
|
Collection<Class<ICompilerProblem>> |
CompilerProblemSettings.getErrorProblems() |
Collection<Class<ICompilerProblem>> |
CompilerProblemSettings.getIgnoreProblems() |
Collection<Class<ICompilerProblem>> |
CompilerProblemSettings.getWarningProblems() |
Collection<ICompilerProblem> |
IConfigurator.validateConfiguration(String[] args,
ITarget.TargetType targetType)
Validates that the specified compiler options are syntactically correct.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
IMXMLData.getProblems()
Gets the compiler problems found during the creation of this
MXMLData
|
| Modifier and Type | Method and Description |
|---|---|
ISourceFragment[] |
IMXMLTagAttributeData.getValueFragments(Collection<ICompilerProblem> problems)
Gets the galue of this attribute as an array of source fragments.
|
| Modifier and Type | Interface and Description |
|---|---|
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!
}
|
| Modifier and Type | Method and Description |
|---|---|
ICompilerProblem |
FilteredIterator.next()
Find and fetch the next element of the underlying sequence
that the filter accepts.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<ICompilerProblem> |
FilteredIterator.getFilteredIterable(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Convenience method extends the FilteredIterator concept to an Iterable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CompositeProblemFilter.accept(ICompilerProblem problem) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<ICompilerProblem> |
FilteredIterator.getFilteredIterable(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Convenience method extends the FilteredIterator concept to an Iterable.
|
| Constructor and Description |
|---|
FilteredIterator(Iterator<ICompilerProblem> problems,
IProblemFilter filter)
Construct a FilteredIterator.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
ICompilerProject.getProblems() |
| Modifier and Type | Method and Description |
|---|---|
void |
ICompilerProject.setProblems(Collection<ICompilerProblem> problems) |
| Modifier and Type | Method and Description |
|---|---|
ISWF |
ISWFTarget.build(Collection<ICompilerProblem> problems)
Adds frames and tags to those frames for all the content generated by the
target.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
IFileNode.getProblems()
Returns the problems that are contained in this file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ICompilationUnit.waitForBuildFinish(Collection<ICompilerProblem> problems,
ITarget.TargetType targetType)
Wait till the compilation unit finishes building, and collect compiler
problems.
|
| Modifier and Type | Field and Description |
|---|---|
static ICompilerProblem[] |
IOutgoingDependenciesRequestResult.NO_PROBLEMS |
static ICompilerProblem[] |
IABCBytesRequestResult.ZEROPROBLEMS
A static
ICompilerProblem array of length zero. |
| Modifier and Type | Method and Description |
|---|---|
ICompilerProblem[] |
IRequestResult.getProblems() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
IFileScopeRequestResult.checkExternallyVisibleDefinitions(String dottedQName)
Create compiler problems if the a definition with the specified dotted
qualified name is not defined in the
IASScopes in this result
object or if there is an externally visible definition other than the
named definition. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
ISWC.getProblems()
The problems found while reading a SWC from disk or writing a SWC to disk.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
ITagContainer.getProblems() |
Collection<ICompilerProblem> |
SWFFrame.getProblems() |
Copyright © 2023 The Apache Software Foundation. All rights reserved.