| Modifier and Type | Field and Description |
|---|---|
| public RecognitionException | |
| public Grammar | |
| public Token | offendingToken
Most of the time, we'll have a token and so this will be set. |
| Access | Constructor and Description |
|---|---|
| public | GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, RecognitionException exception)
|
| public | GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, Object arg, RecognitionException exception)
|
| Modifier and Type | Method and Description |
|---|---|
| public String |
| exception | back to summary |
|---|---|
| public RecognitionException exception | |
| g | back to summary |
|---|---|
| public Grammar g | |
| offendingToken | back to summary |
|---|---|
| public Token offendingToken Most of the time, we'll have a token and so this will be set. | |
| GrammarSyntaxMessage | back to summary |
|---|---|
| public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, RecognitionException exception) | |
| GrammarSyntaxMessage | back to summary |
|---|---|
| public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, Object arg, RecognitionException exception) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |