|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.antlr.runtime.MismatchedTokenException
org.antlr.runtime.UnwantedTokenException
public class UnwantedTokenException
An extra token while parsing a TokenStream
| Field Summary |
|---|
| Fields inherited from class org.antlr.runtime.MismatchedTokenException |
|---|
expecting |
| Fields inherited from class org.antlr.runtime.RecognitionException |
|---|
approximateLineInfo, c, charPositionInLine, index, input, line, node, token |
| Constructor Summary | |
|---|---|
UnwantedTokenException()
Used for remote debugger deserialization |
|
UnwantedTokenException(int expecting,
IntStream input)
|
|
| Method Summary | |
|---|---|
Token |
getUnexpectedToken()
|
String |
toString()
|
| Methods inherited from class org.antlr.runtime.RecognitionException |
|---|
extractInformationFromTreeNodeStream, getUnexpectedType |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnwantedTokenException()
public UnwantedTokenException(int expecting,
IntStream input)
| Method Detail |
|---|
public Token getUnexpectedToken()
public String toString()
toString in class MismatchedTokenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||