| java.lang.Object org.antlr.tool.Message org.antlr.tool.GrammarSyntaxMessage
GrammarSyntaxMessage | public class GrammarSyntaxMessage extends Message (Code) | | 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 | |
public antlr.RecognitionException | exception | public Grammar | g | public Token | offendingToken Most of the time, we'll have a token and so this will be set. |
exception | public antlr.RecognitionException exception(Code) | | |
offendingToken | public Token offendingToken(Code) | | Most of the time, we'll have a token and so this will be set.
|
GrammarSyntaxMessage | public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, antlr.RecognitionException exception)(Code) | | |
GrammarSyntaxMessage | public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, Object arg, antlr.RecognitionException exception)(Code) | | |
|
|