java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
de.grogra.grammar.RecognitionException
de.grogra.grammar.RecognitionExceptionList
de.grogra.xl.compiler.ProblemReporter
- All Implemented Interfaces:
DetailedException
,Disposable
,UserException
,Serializable
,Comparable<RecognitionException>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final I18NBundle
Resource bundle for messages.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final long
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final long
static final long
static final String
static final String
Fields inherited from class de.grogra.grammar.RecognitionException
IS_ERROR, MIN_UNUSED, warningBits
Fields inherited from class antlr.RecognitionException
column, fileName, line
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecognitionException
createSemanticError
(String msg, antlr.collections.AST pos) static String
Methods inherited from class de.grogra.grammar.RecognitionExceptionList
add, addAll, addAll, addLexicalError, addLexicalError, addLexicalError, addLexicalError, addLexicalWarning, addLexicalWarning, addLexicalWarning, addLexicalWarning, addSemanticError, addSemanticError, addSemanticError, addSemanticError, addSemanticWarning, addSemanticWarning, addSemanticWarning, addSemanticWarning, addSyntacticError, addSyntacticError, addSyntacticError, addSyntacticError, addSyntacticWarning, addSyntacticWarning, addSyntacticWarning, addSyntacticWarning, addWarning, addWarning, check, containsErrors, containsWarnings, disableAdd, dispose, enableAdd, getDetailedMessage, getErrorCount, getMessage, isAddEnabled, isEmpty, isWarning, reset
Methods inherited from class de.grogra.grammar.RecognitionException
compareTo, complete, convert, getCategoryDescription, getColumn, getDetailedMessage, getLine, isError, set, set, set, set, set
Methods inherited from class antlr.RecognitionException
getErrorMessage, getFilename, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
I18N
Resource bundle for messages. -
MEMBER
- See Also:
-
MEMBERS
- See Also:
-
VARIABLE
- See Also:
-
VARIABLES
- See Also:
-
FIELD
- See Also:
-
FIELDS
- See Also:
-
METHOD
- See Also:
-
METHODS
- See Also:
-
CONSTRUCTOR
- See Also:
-
CONSTRUCTORS
- See Also:
-
PATTERN
- See Also:
-
PATTERNS
- See Also:
-
TYPE
- See Also:
-
TYPES
- See Also:
-
PACKAGE
- See Also:
-
PACKAGES
- See Also:
-
TWO_SINGULARS
- See Also:
-
TWO_PLURALS
- See Also:
-
THREE_SINGULARS
- See Also:
-
THREE_PLURALS
- See Also:
-
TWO_MEMBERS
- See Also:
-
ADD_MEMBER
- See Also:
-
THREE_OR_MORE_MEMBERS
- See Also:
-
NO_MEMBER_IN_TYPE
- See Also:
-
NO_MEMBER_IN_PACKAGE
- See Also:
-
NO_MEMBER_IN_SCOPE
- See Also:
-
STATIC_MEMBERS_EXPECTED
- See Also:
-
INSTANCE_MEMBERS_EXPECTED
- See Also:
-
AMBIGUOUS_MEMBERS
- See Also:
-
SHADOWED_MEMBERS
- See Also:
-
INACCESSIBLE_MEMBERS
- See Also:
-
HIDDEN_MEMBERS
- See Also:
-
INAPPLICABLE_MEMBERS
- See Also:
-
INAPPLICABLE_INVISIBLE_MEMBERS
- See Also:
-
THIS_IN_STATIC
- See Also:
-
SUPER_IN_STATIC
- See Also:
-
NONSTATIC_IN_STATIC_CONTEXT
- See Also:
-
NO_ENCLOSING_INSTANCE
- See Also:
-
NO_ENCLOSING_INSTANCE_FOR_MEMBER
- See Also:
-
QUALIFIED_NEW_OF_STATIC
- See Also:
-
QUALIFIED_SUPER_OF_STATIC
- See Also:
-
STATIC_MEMBER_IN_INNER
- See Also:
-
ABSTRACT_IN_CONCRETE
- See Also:
-
NONFINAL_LOCAL
- See Also:
-
ASSIGNMENT_TO_FINAL
- See Also:
-
USE_BEFORE_DECLARATION
- See Also:
-
EXPR_NEEDS_BLOCK
- See Also:
-
ANNOTATION_CONSTANT_EXPECTED
- See Also:
-
ELEMENT_NOT_INITIALIZED
- See Also:
-
NO_ELEMENT
- See Also:
-
OVERLOADED_ELEMENT
- See Also:
-
NAME_NOT_CANONICAL
- See Also:
-
TOP_LEVEL_TYPE_CONFLICT
- See Also:
-
ILLEGAL_SUPERCLASS
- See Also:
-
CLASS_EXTENDS_INTERFACE
- See Also:
-
NO_INTERFACE_TYPE
- See Also:
-
CLASS_EXTENDS_FINAL
- See Also:
-
MISMATCHED_CONSTRUCTOR_NAME
- See Also:
-
DUPLICATE_PARAMETER
- See Also:
-
DUPLICATE_LOCAL
- See Also:
-
DUPLICATE_FIELD
- See Also:
-
DUPLICATE_CONSTRUCTOR
- See Also:
-
DUPLICATE_METHOD
- See Also:
-
DUPLICATE_TYPE
- See Also:
-
DUPLICATE_LABEL
- See Also:
-
DUPLICATE_ELEMENT
- See Also:
-
CONFLICTING_RETURN_TYPE
- See Also:
-
FINAL_METHOD_OVERRIDEN
- See Also:
-
WEAKER_ACCESS_PRIVILEGES
- See Also:
-
CONCRETE_CLASS_EXPECTED
- See Also:
-
PUBLIC_CLASS_EXPECTED
- See Also:
-
PUBLIC_MEMBER_EXPECTED
- See Also:
-
NO_DEFAULT_CONSTRUCTOR
- See Also:
-
DEFAULT_CONSTRUCTOR_NOT_PUBLIC
- See Also:
-
INSTANTIATION_EXCEPTION
- See Also:
-
LHS_VARIABLE
- See Also:
-
LHS_XL_FIELD
- See Also:
-
INC_VARIABLE
- See Also:
-
IMPLICIT_VOID_VARIABLE
- See Also:
-
INCOMPATIBLE_TYPES
- See Also:
-
ILLEGAL_RETURN_CONVERSION
- See Also:
-
ILLEGAL_ASSIGNMENT_CONVERSION
- See Also:
-
AMBIGUOUS_CONVERSIONS
- See Also:
-
UNEXPECTED_TYPE
- See Also:
-
ARRAYINIT_FOR_NONARRAY
- See Also:
-
NOT_NUMERIC
- See Also:
-
ILLEGAL_UNOP_TYPE
- See Also:
-
ILLEGAL_BINOP_TYPE
- See Also:
-
ILLEGAL_SWITCH_TYPE
- See Also:
-
ILLEGAL_LABEL_TYPE
- See Also:
-
WRONG_OPERAND_NUMBER_FOR_OP
- See Also:
-
INT_EXPECTED_FOR_DUMMY
- See Also:
-
AMBIGUOUS_OPERATOR_OVERLOAD
- See Also:
-
NO_REFERENCE_TYPE
- See Also:
-
NO_ARRAY_TYPE
- See Also:
-
NO_ANNOTATION_TYPE
- See Also:
-
EMPTY_TYPE_INTERSECTION
- See Also:
-
ABSTRACT_INSTANTIATION
- See Also:
-
ABSTRACT_METHOD_INVOCATION
- See Also:
-
NEVER_INSTANCE
- See Also:
-
ILLEGAL_CAST
- See Also:
-
LABEL_NOT_CONSTANT
- See Also:
-
DUPLICATE_DEFAULT_LABEL
- See Also:
-
DUPLICATE_SWITCH_LABEL
- See Also:
-
NO_LABEL_IN_SCOPE
- See Also:
-
NO_BREAK_TARGET
- See Also:
-
NO_CONTINUE_TARGET
- See Also:
-
NONLOOP_CONTINUE_TARGET
- See Also:
-
RETURN_OUTSIDE_METHOD
- See Also:
-
ITERATING_NONVOID_RETURN
- See Also:
-
NONITERATING_YIELD
- See Also:
-
NONVOID_RETURN
- See Also:
-
VOID_RETURN
- See Also:
-
NONVOID_YIELD
- See Also:
-
VOID_YIELD
- See Also:
-
ILLEGAL_MODIFIER
- See Also:
-
DUPLICATE_MODIFIER
- See Also:
-
DUPLICATE_ACCESS_MODIFIER
- See Also:
-
REDUNDANT_MODIFIER
- See Also:
-
INCOMPATIBLE_MODIFIERS
- See Also:
-
DUPLICATE_ANNOTATION
- See Also:
-
NO_CLASSPATH_ANNOTATION
- See Also:
-
ILLEGAL_INT
- See Also:
-
ILLEGAL_LONG
- See Also:
-
ILLEGAL_FLOAT
- See Also:
-
ILLEGAL_DOUBLE
- See Also:
-
NONNULL_TYPE_CONSTANT_EXPECTED
- See Also:
-
CANNOT_WRAP_TYPE
- See Also:
-
SINGLE_ARGTERM_FOR_TYPE_EXPECTED
- See Also:
-
LABEL_FOR_VOID
- See Also:
-
NO_ITERATION_TARGET
- See Also:
-
NOT_TRAVERSABLE
- See Also:
-
CLOSED_NOT_TRAVERSABLE
- See Also:
-
CONFLICTING_JOIN_TERMS
- See Also:
-
DANGLING_OUT_TERM
- See Also:
-
DANGLING_IN_TERM
- See Also:
-
MISSING_PARENT
- See Also:
-
OUT_TERM_OF_PARENT_NOT_CLOSED
- See Also:
-
PATTERN_NOT_LABELABLE
- See Also:
-
DUPLICATE_PLACE_LABEL
- See Also:
-
QUERY_VARIABLE_EXPECTED
- See Also:
-
QUERY_VARIABLE_AT_HIGHER_LEVEL
- See Also:
-
NO_PRODUCTION_CONTEXT
- See Also:
-
VOID_PRODUCER
- See Also:
-
NO_QUERY_MODEL
- See Also:
-
NO_QUERY_MODEL_IN_GRAPH
- See Also:
-
NO_INSTANTIATION_PRODUCER_TYPE
- See Also:
-
DECLARATION_HIDES_FIELD
- See Also:
-
DEPRECATED_MEMBER
- See Also:
-
UNIMPLEMENTED_METHOD
- See Also:
-
WARN_ON_HIDDEN_FIELDS
public static final long WARN_ON_HIDDEN_FIELDS- See Also:
-
WARN_ON_DEPRECATED
public static final long WARN_ON_DEPRECATED- See Also:
-
MIN_UNUSED_WARNING
public static final long MIN_UNUSED_WARNING- See Also:
-
-
Constructor Details
-
ProblemReporter
public ProblemReporter(long warningBits, long errorBits)
-
-
Method Details
-
createSemanticError
-
enumerate
-