|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.antlr.tool.Message
org.antlr.tool.GrammarSyntaxMessage
public class GrammarSyntaxMessage
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 | |
|---|---|
RecognitionException |
exception
|
Grammar |
g
|
Token |
offendingToken
Most of the time, we'll have a token 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 |
| Constructor Summary | |
|---|---|
GrammarSyntaxMessage(int msgID,
Grammar grammar,
Token offendingToken,
Object arg,
RecognitionException exception)
|
|
GrammarSyntaxMessage(int msgID,
Grammar grammar,
Token offendingToken,
RecognitionException exception)
|
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class org.antlr.tool.Message |
|---|
getLocationTemplate, getMessageTemplate, setColumn, setLine, setMessageID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Grammar g
public Token offendingToken
public RecognitionException exception
| Constructor Detail |
|---|
public GrammarSyntaxMessage(int msgID,
Grammar grammar,
Token offendingToken,
RecognitionException exception)
public GrammarSyntaxMessage(int msgID,
Grammar grammar,
Token offendingToken,
Object arg,
RecognitionException exception)
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||