类 UnwantedTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.antlr.runtime.RecognitionException
-
- org.antlr.runtime.MismatchedTokenException
-
- org.antlr.runtime.UnwantedTokenException
-
- 所有已实现的接口:
java.io.Serializable
public class UnwantedTokenException extends MismatchedTokenException
An extra token while parsing a TokenStream- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.antlr.runtime.MismatchedTokenException
expecting
-
从类继承的字段 org.antlr.runtime.RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
-
-
构造器概要
构造器 构造器 说明 UnwantedTokenException()
Used for remote debugger deserializationUnwantedTokenException(int expecting, IntStream input)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Token
getUnexpectedToken()
java.lang.String
toString()
-
从类继承的方法 org.antlr.runtime.RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedType
-
-
-
-
构造器详细资料
-
UnwantedTokenException
public UnwantedTokenException()
Used for remote debugger deserialization
-
UnwantedTokenException
public UnwantedTokenException(int expecting, IntStream input)
-
-
方法详细资料
-
getUnexpectedToken
public Token getUnexpectedToken()
-
toString
public java.lang.String toString()
- 覆盖:
toString
在类中MismatchedTokenException
-
-