public class UnwantedTokenException extends MismatchedTokenException
expecting
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
Constructor and Description |
---|
UnwantedTokenException()
Used for remote debugger deserialization
|
UnwantedTokenException(int expecting,
IntStream input) |
Modifier and Type | Method and Description |
---|---|
Token |
getUnexpectedToken() |
String |
toString() |
extractInformationFromTreeNodeStream, getUnexpectedType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public UnwantedTokenException()
public UnwantedTokenException(int expecting, IntStream input)
public Token getUnexpectedToken()
public String toString()
toString
in class MismatchedTokenException
Copyright © 1992–2015 ANTLR. All rights reserved.