Package org.antlr.v4.tool
Class GrammarSyntaxMessage
java.lang.Object
org.antlr.v4.tool.ANTLRMessage
org.antlr.v4.tool.GrammarSyntaxMessage
A problem with the syntax of your antlr grammar such as
"The '{' came as a complete surprise to me at this point in your program"
-
Field Summary
Fields inherited from class org.antlr.v4.tool.ANTLRMessage
charPosition, fileName, g, line, offendingToken
-
Constructor Summary
ConstructorsConstructorDescriptionGrammarSyntaxMessage
(ErrorType etype, String fileName, org.antlr.runtime.Token offendingToken, org.antlr.runtime.RecognitionException antlrException, Object... args) -
Method Summary
Methods inherited from class org.antlr.v4.tool.ANTLRMessage
getArgs, getErrorType, getMessageTemplate, toString
-
Constructor Details
-
GrammarSyntaxMessage
-
-
Method Details
-
getCause
public org.antlr.runtime.RecognitionException getCause()- Overrides:
getCause
in classANTLRMessage
-