Package | Description |
---|---|
org.apache.flex.compiler.internal.parsing.as | |
org.apache.flex.compiler.problems |
This package contains classes representing various problems
that can be encountered during compilation.
|
Modifier and Type | Field and Description |
---|---|
protected List<SyntaxProblem> |
BaseRepairingTokenBuffer.errors |
Modifier and Type | Method and Description |
---|---|
void |
IRepairingTokenBuffer.addError(SyntaxProblem error)
Adds a syntax error that we encountered during parsing
|
void |
BaseRepairingTokenBuffer.addError(SyntaxProblem error) |
Modifier and Type | Class and Description |
---|---|
class |
AttributesNotAllowedOnPackageDefinitionProblem
Attributes are not allowed on package definition.
|
class |
CanNotInsertSemicolonProblem
The optional semicolon match failed in
IRepairingTokenBuffer.matchOptionalSemicolon() . |
class |
ExpectDefinitionKeywordAfterAttributeProblem
Expecting a definition keyword such as "function", "var", "class" after a
modifier attribute such as "static", "final", etc.
|
class |
ExpectXmlBeforeNamespaceProblem
Error #1072: Syntax error: expecting xml before namespace.
|
class |
ExtraCharactersAfterEndOfProgramProblem
The parser found extra characters after the end of the program.
|
class |
InvalidAttributeProblem
Invalid attribute problem.
|
class |
InvalidLabelProblem
Error #1078: Label must be a simple identifier.
|
class |
InvalidTypeProblem
Error #1135: Syntax error: "X" is not a valid type.
|
class |
MissingLeftBraceBeforeFunctionBodyProblem
Problem reported when the parser fails to match an optional function body
which is either a (virtual) semicolon or a function block (with curly
braces).
|
class |
MultipleNamespaceAttributesProblem
A definition can only have at most one user-defined namespace attributes.
|
class |
MultipleReservedNamespaceAttributesProblem
Only one of public, private, protected, or internal can be specified on a
definition.
|
class |
NamespaceAttributeNotAllowedProblem
Access specifiers are not allowed with namespace attributes.
|
class |
NestedClassProblem
Diagnostic emitted when a class is declared inside another class or
interface.
|
class |
NestedInterfaceProblem
Diagnostic emitted when an interface is declared inside another class or
interface.
|
class |
NestedPackageProblem
Diagnostic emitted when a package is declared inside another package
|
class |
UnexpectedEOFProblem |
class |
UnexpectedTokenProblem |
class |
XMLOpenCloseTagNotMatchProblem
XML does not have matching begin and end tags.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.