| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| GenericToken |
|
| 1.0;1 |
| 1 | /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */ | |
| 2 | package org.webslinger.javacc; | |
| 3 | ||
| 4 | /** | |
| 5 | * Describes the input token stream. | |
| 6 | */ | |
| 7 | ||
| 8 | 6454 | public abstract class GenericToken { |
| 9 | ||
| 10 | /** | |
| 11 | * An integer that describes the kind of this token. This numbering | |
| 12 | * system is determined by JavaCCParser, and a table of these numbers is | |
| 13 | * stored in the file ...Constants.java. | |
| 14 | */ | |
| 15 | public int kind; | |
| 16 | ||
| 17 | /** | |
| 18 | * beginLine and beginColumn describe the position of the first character | |
| 19 | * of this token; endLine and endColumn describe the position of the | |
| 20 | * last character of this token. | |
| 21 | */ | |
| 22 | public int beginLine, beginColumn, endLine, endColumn; | |
| 23 | ||
| 24 | /** | |
| 25 | * The string image of the token. | |
| 26 | */ | |
| 27 | public String image; | |
| 28 | ||
| 29 | /** | |
| 30 | * Returns the image. | |
| 31 | */ | |
| 32 | public String toString() | |
| 33 | { | |
| 34 | 0 | return image; |
| 35 | } | |
| 36 | ||
| 37 | public abstract GenericToken getNextToken(); | |
| 38 | public abstract GenericToken getSpecialToken(); | |
| 39 | } |