Class 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 Detail

      • GrammarSyntaxMessage

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

      • getCause

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