org.antlr.tool
Class GrammarSemanticsMessage
java.lang.Object
org.antlr.tool.Message
org.antlr.tool.GrammarSemanticsMessage
public class GrammarSemanticsMessage
- extends Message
A problem with the symbols and/or meaning of a grammar such as rule
redefinition.
|
Field Summary |
Grammar |
g
|
Token |
offendingToken
Most of the time, we'll have a token such as an undefined rule ref
and so this will be set. |
| Fields inherited from class org.antlr.tool.Message |
arg, arg2, column, e, file, line, locationST, messageFormatST, msgID, msgST, reportST |
g
public Grammar g
offendingToken
public Token offendingToken
- Most of the time, we'll have a token such as an undefined rule ref
and so this will be set.
GrammarSemanticsMessage
public GrammarSemanticsMessage(int msgID,
Grammar g,
Token offendingToken)
GrammarSemanticsMessage
public GrammarSemanticsMessage(int msgID,
Grammar g,
Token offendingToken,
Object arg)
GrammarSemanticsMessage
public GrammarSemanticsMessage(int msgID,
Grammar g,
Token offendingToken,
Object arg,
Object arg2)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.