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 |
AccessUndefinedMemberProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects an access to an undefined member
with a known base type.
|
class |
AccessUndefinedPropertyInPackageProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects an access to an undefined property
in a known package "namespace."
|
class |
AccessUndefinedPropertyProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects an access to an undefined property.
|
class |
AssignToConstProblem
Strict semantics diagnostic emitted when the method body
semantic checker sees an attempt to delete a property of
an object whose type is not dynamic.
|
class |
AssignToFunctionProblem
Strict semantics diagnostic emitted when the method body
semantic checker sees an attempt to delete a property of
an object whose type is not dynamic.
|
class |
AssignToNonReferenceValueProblem
Strict semantics diagnostic emitted when the method body
semantic checker sees an attempt to write to a non-reference
value, e.g., assignment to this.
|
class |
AssignToReadOnlyPropertyProblem
Strict semantics diagnostic emitted when the method body
semantic checker sees an attempt to write to a property
that only has a get method.
|
class |
AttemptToDeleteFixedPropertyProblem
Strict semantics diagnostic emitted when the method body
semantic checker sees an attempt to delete a property of
an object whose type is not dynamic.
|
class |
CallNonFunctionProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects a call to function that isn't of type function.
|
class |
CallUndefinedMethodProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects a call to an undefined method.
|
class |
ComparisonBetweenUnrelatedTypesProblem
Example int == null.
|
class |
DuplicateFunctionDefinitionProblem
Strict semantics diagnostic emitted when two functions with
the same name are declared in the same scope.
|
class |
DuplicateVariableDefinitionProblem
Strict semantics diagnostic emitted when two variable with
the same name are declared in the same scope.
|
class |
IllegalAssignmentToClassProblem
InvalidIncrementOperandProblem is emitted when
the MethodBodySemanticChecker detects a explicit
assignment to a class definition.
|
class |
ImplicitCoercionToSubtypeProblem
Diagnostic emitted when the method body semantic checker detects
coercion from a supertype to a subtype.
|
class |
ImplicitCoercionToUnrelatedTypeProblem
Diagnostic emitted when the method body semantic checker detects
a coercion from a type to an unrelated type.
|
class |
InaccessibleMethodReferenceProblem
Diagnostic emitted when the semantic analyzer detects
an attempt to call an inaccessible method (e.g., a
private method call outside the class).
|
class |
InaccessiblePropertyReferenceProblem
Diagnostic emitted when the semantic analyzer detects
an attempted access to an inaccessible property, e.g.,
a private var in a superclass.
|
class |
LossyConversionProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects loss of precision in a Vector
literal's initializers.
|
class |
MethodCannotBeConstructorProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects an attempt to call a non-constructor
instance method as a constructor.
|
class |
NoDefaultConstructorInBaseClassProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects an implicit or explicit super()
to a base class with no default constructor.
|
class |
RestParamAndArgumentsUsedTogetherProblem |
class |
RestParameterMustBeLastProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects other formal parameters following
a ... style parameter.
|
class |
ReturnMustReturnValueProblem
Semantic diagnostic emitted when the method body
semantic checker detects a return statement without
a value in a function that declares it does return a value.
|
class |
ReturnValueInConstructorProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects a return statement that returns
a value in a constructor.
|
class |
ReturnValueMustBeUndefinedProblem
Strict semantics diagnostic emitted when the method body
semantic checker detects a return statement that returns
a value in a function that declares it does not return any value.
|
class |
StrictUndefinedMethodProblem
Diagnostic emitted when the semantic analyzer detects
an attempt to call an inaccessible method.
|
class |
TooFewFunctionParametersProblem
Strict semantics diagnostic emitted when a function call
has too many actual parameters.
|
class |
TooManyFunctionParametersProblem
Strict semantics diagnostic emitted when a function call
has too many actual parameters.
|
class |
VariableDefinitionDuplicatesParameterProblem
Strict semantics diagnostic emitted when a local variable has the same name
as a function parameter.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.