Package | Description |
---|---|
org.apache.flex.compiler.problems |
This package contains classes representing various problems
that can be encountered during compilation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDeprecatedAPIProblem
Abstract problem for all of the deprecated API problems.
|
class |
ArrayCastProblem
Problem generated by usage of
Array(...) |
class |
ArrayDowncastProblem
Problem generated by Array(value)
when |
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 !
|
class |
ConstNotInitializedProblem
Diagnostic emitted when a const declaration does not have an initializer
|
class |
ConstructorInInterfaceProblem
Diagnostic emitted when an interface has a constructor.
|
class |
DateCastProblem
Problem generated by usage of
Date(...) |
class |
DefinitionShadowedByPackageNameProblem |
class |
DeprecatedAPIProblem
Reported when a class, interface, function, variable, constant, or namespace
annotated with
[Deprecated] metadata is used. |
class |
DeprecatedAPIWithMessageProblem
Reported when a class, interface, function, variable, constant, or namespace
annotated with
[Deprecated(message="...")] |
class |
DeprecatedAPIWithReplacementProblem
Reported when a class, interface, function, variable, constant, or namespace
annotated with
[Deprecated(replacement="...")] |
class |
DeprecatedAPIWithSinceAndReplacementProblem
Reported when a class, interface, function, variable, constant, or namespace
annotated with
[Deprecated(since=" |
class |
DeprecatedAPIWithSinceProblem
Reported when a class, interface, function, variable, constant, or namespace
annotated with
[Deprecated(since="...")] |
class |
IllogicalComparionWithNaNProblem |
class |
IllogicalComparisonWithUndefinedProblem |
class |
IncompatibleInitializerTypeProblem
Semantic diagnostic emitted when the method body semantic checker detects a
constant initializer whose type does not match the declared type of the var,
const, or parameter that contains the initializer.
|
class |
InitializerValueNotAnIntegerProblem
Semantic diagnostic emitted when the method body semantic checker detects a
constant initializer that is a Number and the declared type of the var,
const, or parameter that contains the initializer is int or uint.
|
class |
InitializerValueOutOfRangeProblem
Semantic diagnostic emitted when the method body semantic checker detects a
numeric constant initializer can not be converted to the type of the var,
const, or paramter that contains the initializer without loss of information.
|
class |
InstanceOfProblem
Diagnostic emitted when instanceof is used
|
class |
NullUsedWhereOtherExpectedProblem |
class |
ReturnValueHasNoTypeDeclarationProblem
"coach mode" warning that a function declaration has no return type
|
class |
ScopedToDefaultNamespaceProblem |
class |
UnknownImportProblem
Diagnostic emitted when an non-wildcard import directive specifies an unknown definition.
|
class |
UnknownWildcardImportProblem
Diagnostic emitted when a wildcard import directive specifies an unknown package
or a known package with no definitions.
|
class |
UnreachableBlockProblem
Compiler problem created when the code generator detects unreachable code.
|
class |
VariableHasNoTypeDeclarationProblem
Example:
function foo() : void {
var baz; // no type declaration!
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.