程序包 org.antlr.tool
类 GrammarSyntaxMessage
- java.lang.Object
-
- org.antlr.tool.Message
-
- org.antlr.tool.GrammarSyntaxMessage
-
public class GrammarSyntaxMessage extends Message
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"
-
-
字段概要
字段 修饰符和类型 字段 说明 RecognitionException
exception
Grammar
g
Token
offendingToken
Most of the time, we'll have a token and so this will be set.
-
构造器概要
构造器 构造器 说明 GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, java.lang.Object arg, RecognitionException exception)
GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, RecognitionException exception)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.String
toString()
-
从类继承的方法 org.antlr.tool.Message
getLocationTemplate, getMessageTemplate, setColumn, setLine, setMessageID, toString
-
-
-
-
字段详细资料
-
g
public Grammar g
-
offendingToken
public Token offendingToken
Most of the time, we'll have a token and so this will be set.
-
exception
public RecognitionException exception
-
-
构造器详细资料
-
GrammarSyntaxMessage
public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, RecognitionException exception)
-
GrammarSyntaxMessage
public GrammarSyntaxMessage(int msgID, Grammar grammar, Token offendingToken, java.lang.Object arg, RecognitionException exception)
-
-