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"
  • Constructor Details

    • GrammarSyntaxMessage

      public GrammarSyntaxMessage(ErrorType etype, String fileName, org.antlr.runtime.Token offendingToken, org.antlr.runtime.RecognitionException antlrException, Object... args)
  • Method Details

    • getCause

      public org.antlr.runtime.RecognitionException getCause()
      Overrides:
      getCause in class ANTLRMessage