|
||||||||||
| 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.MissingTokenException
public class MissingTokenException
We were expecting a token but it's not found. The current token is actually what we wanted next. Used for tree node errors too.
| Field Summary | |
|---|---|
Object |
inserted
|
| 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 | |
|---|---|
MissingTokenException()
Used for remote debugger deserialization |
|
MissingTokenException(int expecting,
IntStream input,
Object inserted)
|
|
| Method Summary | |
|---|---|
int |
getMissingType()
|
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 |
| Field Detail |
|---|
public Object inserted
| Constructor Detail |
|---|
public MissingTokenException()
public MissingTokenException(int expecting,
IntStream input,
Object inserted)
| Method Detail |
|---|
public int getMissingType()
public String toString()
toString in class MismatchedTokenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||