| Modifier and Type | Field and Description |
|---|---|
| private String | after
Last correct input before error occurs. |
| private int | column
Error column. |
| private int | line
Error line. |
| private static final long | serialVersionUID
The version identifier.
|
| Access | Constructor and Description |
|---|---|
| public | ParseException(Token
This is the last token that has been consumed successfully. If
this object has been created due to a parse error, the token
followng this token will (therefore) be the first error token. currentToken, int[][] Each entry in this array is an array of integers. Each array
of integers represents a sequence of tokens (by their ordinal
values) that is expected at this point of the parse. expectedTokenSequences, String[] This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred. This array is
defined in the generated ...Constants interface. tokenImage)This constructor is used by the method "generateParseException" in the generated parser. |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | |
| public int |
| after | back to summary |
|---|---|
| private String after Last correct input before error occurs. | |
| column | back to summary |
|---|---|
| private int column Error column. | |
| line | back to summary |
|---|---|
| private int line Error line. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. The version identifier. | |
| ParseException | back to summary |
|---|---|
| public ParseException(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage) This constructor is used by the method "generateParseException" in the generated parser. Calling this constructor generates a new object of this type with the fields "currentToken", "expectedTokenSequences", and "tokenImage" set.
| |
| ParseException | back to summary |
|---|---|
| public ParseException() Default ctor. | |
| ParseException | back to summary |
|---|---|
| public ParseException(String message) Constructor with message. | |
| getAfter | back to summary |
|---|---|
| public String getAfter() Gets the last correct input.
| |
| getColumn | back to summary |
|---|---|
| public int getColumn() Gets the column number.
| |
| getLine | back to summary |
|---|---|
| public int getLine() Gets the line number.
| |