Package org.antlr.v4.tool
Class GrammarSyntaxMessage
- java.lang.Object
-
- org.antlr.v4.tool.ANTLRMessage
-
- org.antlr.v4.tool.GrammarSyntaxMessage
-
public class GrammarSyntaxMessage extends ANTLRMessage
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
Constructors Constructor Description GrammarSyntaxMessage(ErrorType etype, String fileName, org.antlr.runtime.Token offendingToken, org.antlr.runtime.RecognitionException antlrException, Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.antlr.runtime.RecognitionException
getCause()
-
Methods inherited from class org.antlr.v4.tool.ANTLRMessage
getArgs, getErrorType, getMessageTemplate, toString
-
-
-
-
Method Detail
-
getCause
public org.antlr.runtime.RecognitionException getCause()
- Overrides:
getCause
in classANTLRMessage
-
-