| Package | Description |
|---|---|
| org.apache.royale.compiler.clients.problems | |
| org.apache.royale.compiler.problems.collections |
This package contains classes dealing with collections of compiler problems.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CodeGenErrorFilter
A problem filter that implements filtering out certain errors from
code gen, like StackUnderflow.
|
class |
ProblemFilterClassCriteria
IFilter problems based on their class; the filter supports
a negative set (don't accept any instances of a given class)
and a positive set (only accept instances of a given class).
|
class |
ProblemSettingsFilter
A problem filter that implements filtering based the values of the following
compiler options:
-allow-source-path-overlap
-show-actionscript-warnings
-show-binding-warnings
-show-deprecation-warnings
-show-multiple-definition-warnings
-show-unused-type-selector-warnings
-strict
-warn-assignment-within-conditional
-warn-bad-array-cast
-warn-bad-date-cast
-warn-bad-nan-comparision
-warn-bad-null-assignment
-warn-bad-undefined-comparision
-warn-const-not-initialized
-warn-duplicate-variable-def
-warn-instanceof-changes
-warn-missing-namespace-decl
-warn-no-type-decl
-warn-this-within-closure
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<ICompilerProblem> |
ProblemQuery.getProblemView(IProblemFilter filter)
Get a filtered view of the underlying problems.
|
boolean |
ProblemQuery.hasFilteredProblems(IProblemFilter filter)
Do any problems match the given filter?
|
int |
ProblemPrinter.printProblems(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Print problems and return number of problems printed after applying the
filter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeProblemFilter
A CompositeProblemFilter combines one more more filters
and a boolean operation to produce a new filter.
|
| Modifier and Type | Method and Description |
|---|---|
static IProblemFilter |
CompositeProblemFilter.and(IProblemFilter left,
IProblemFilter right)
Construct a composite filter that ands two filters' decisions to accept.
|
static IProblemFilter |
CompositeProblemFilter.not(IProblemFilter filter)
Construct a composite filter that negates a filter's decision to accept.
|
static IProblemFilter |
CompositeProblemFilter.or(IProblemFilter left,
IProblemFilter right)
Construct a composite filter that ors two filters' decisions to accept.
|
| Modifier and Type | Method and Description |
|---|---|
static IProblemFilter |
CompositeProblemFilter.and(IProblemFilter left,
IProblemFilter right)
Construct a composite filter that ands two filters' decisions to accept.
|
static Iterable<ICompilerProblem> |
FilteredIterator.getFilteredIterable(Collection<ICompilerProblem> problems,
IProblemFilter filter)
Convenience method extends the FilteredIterator concept to an Iterable.
|
static IProblemFilter |
CompositeProblemFilter.not(IProblemFilter filter)
Construct a composite filter that negates a filter's decision to accept.
|
static IProblemFilter |
CompositeProblemFilter.or(IProblemFilter left,
IProblemFilter right)
Construct a composite filter that ors two filters' decisions to accept.
|
| Constructor and Description |
|---|
FilteredIterator(Iterator<ICompilerProblem> problems,
IProblemFilter filter)
Construct a FilteredIterator.
|
Copyright © 2023 The Apache Software Foundation. All rights reserved.