| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final Token | |
| public static final int | |
| public static final Token | |
| private int | |
| private int | |
| public static final int | |
| public static final Token | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public String | |
| public int | |
| public int | |
| pack-priv void | |
| pack-priv void | |
| public String |
| EOF | back to summary |
|---|---|
| public static final int EOF | |
| EOF_TOKEN | back to summary |
|---|---|
| public static final Token EOF_TOKEN | |
| INVALID | back to summary |
|---|---|
| public static final int INVALID | |
| INVALID_TOKEN | back to summary |
|---|---|
| public static final Token INVALID_TOKEN | |
| line | back to summary |
|---|---|
| private int line | |
| offset | back to summary |
|---|---|
| private int offset | |
| SKIP | back to summary |
|---|---|
| public static final int SKIP | |
| SKIP_TOKEN | back to summary |
|---|---|
| public static final Token SKIP_TOKEN | |
| text | back to summary |
|---|---|
| private final String text | |
| type | back to summary |
|---|---|
| private final int type | |
| Token | back to summary |
|---|---|
| public Token(int type, String text, int line, int offset) | |
| Token | back to summary |
|---|---|
| public Token(int type, String text) | |
| Token | back to summary |
|---|---|
| pack-priv Token(int type) | |
| Token | back to summary |
|---|---|
| private Token() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getLine | back to summary |
|---|---|
| public int getLine() | |
| getOffset | back to summary |
|---|---|
| public int getOffset() | |
| getText | back to summary |
|---|---|
| public String getText() | |
| getType | back to summary |
|---|---|
| public int getType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setLine | back to summary |
|---|---|
| pack-priv void setLine(int line) | |
| setOffset | back to summary |
|---|---|
| pack-priv void setOffset(int offset) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |