Serializable
public class UnwantedTokenException extends MismatchedTokenException
expecting
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
Constructor | Description |
---|---|
UnwantedTokenException() |
Used for remote debugger deserialization
|
UnwantedTokenException(int expecting,
IntStream input) |
Modifier and Type | Method | Description |
---|---|---|
Token |
getUnexpectedToken() |
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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–2018 ANTLR. All rights reserved.