Uses of Class
org.antlr.v4.tool.ErrorType
-
Packages that use ErrorType Package Description org.antlr.v4.parse org.antlr.v4.semantics org.antlr.v4.tool -
-
Uses of ErrorType in org.antlr.v4.parse
Methods in org.antlr.v4.parse with parameters of type ErrorType Modifier and Type Method Description void
ANTLRLexer. grammarError(ErrorType etype, org.antlr.runtime.Token token, Object... args)
void
ANTLRParser. grammarError(ErrorType etype, org.antlr.runtime.Token token, Object... args)
void
ToolANTLRLexer. grammarError(ErrorType etype, org.antlr.runtime.Token token, Object... args)
void
ToolANTLRParser. grammarError(ErrorType etype, org.antlr.runtime.Token token, Object... args)
-
Uses of ErrorType in org.antlr.v4.semantics
Methods in org.antlr.v4.semantics with parameters of type ErrorType Modifier and Type Method Description protected void
SymbolChecks. checkDeclarationRuleConflicts(Rule r, AttributeDict attributes, Set<String> ruleNames, ErrorType errorType)
protected void
SymbolChecks. checkLocalConflictingDeclarations(Rule r, AttributeDict attributes, AttributeDict referenceAttributes, ErrorType errorType)
-
Uses of ErrorType in org.antlr.v4.tool
Fields in org.antlr.v4.tool with type parameters of type ErrorType Modifier and Type Field Description Set<ErrorType>
ErrorManager. errorTypes
All errors that have been generatedMethods in org.antlr.v4.tool that return ErrorType Modifier and Type Method Description ErrorType
ANTLRMessage. getErrorType()
static ErrorType
ErrorType. valueOf(String name)
Returns the enum constant of this type with the specified name.static ErrorType[]
ErrorType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.antlr.v4.tool with parameters of type ErrorType Modifier and Type Method Description void
ErrorManager. emit(ErrorType etype, ANTLRMessage msg)
void
ErrorManager. grammarError(ErrorType etype, String fileName, org.antlr.runtime.Token token, Object... args)
void
ErrorManager. panic(ErrorType errorType, Object... args)
void
ErrorManager. syntaxError(ErrorType etype, String fileName, org.antlr.runtime.Token token, org.antlr.runtime.RecognitionException antlrException, Object... args)
void
ErrorManager. toolError(ErrorType errorType, Object... args)
Raise a predefined message with some number of parameters for the StringTemplate but for which there is no location information possible.void
ErrorManager. toolError(ErrorType errorType, Throwable e, Object... args)
Constructors in org.antlr.v4.tool with parameters of type ErrorType Constructor Description ANTLRMessage(ErrorType errorType)
ANTLRMessage(ErrorType errorType, Throwable e, org.antlr.runtime.Token offendingToken, Object... args)
ANTLRMessage(ErrorType errorType, org.antlr.runtime.Token offendingToken, Object... args)
GrammarSemanticsMessage(ErrorType etype, String fileName, org.antlr.runtime.Token offendingToken, Object... args)
GrammarSyntaxMessage(ErrorType etype, String fileName, org.antlr.runtime.Token offendingToken, org.antlr.runtime.RecognitionException antlrException, Object... args)
ToolMessage(ErrorType errorType)
ToolMessage(ErrorType errorType, Object... args)
ToolMessage(ErrorType errorType, Throwable e, Object... args)
-