Note
This class must be public because it is instantiated by the ANTLR library. Ignore any suggestions by various code 'analyzers' about this class being package local.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | possibleID
True if this token could be an identifier. |
| private int | tokenType
The previous token type. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public boolean | Returns: True if the token could be interpreted as in identifier, false if not.Returns true if the token could be an identifier. |
| public void | setPossibleID(boolean
True if this is a keyword/identifier, false if not. possibleID)Set to true if this token can be interpreted as an identifier, false if not. |
| public void | setType(int
The new token type. t)Overrides antlr. |
| public String | Returns: String - The debug string.Overrides antlr. |
| possibleID | back to summary |
|---|---|
| private boolean possibleID True if this token could be an identifier. | |
| tokenType | back to summary |
|---|---|
| private int tokenType The previous token type. | |
| HqlToken | back to summary |
|---|---|
| public HqlToken() | |
| getPreviousType | back to summary |
|---|---|
| private int getPreviousType() Returns the previous token type.
| |
| isPossibleID | back to summary |
|---|---|
| public boolean isPossibleID() Returns true if the token could be an identifier.
| |
| setPossibleID | back to summary |
|---|---|
| public void setPossibleID(boolean possibleID) Set to true if this token can be interpreted as an identifier, false if not.
| |
| setType | back to summary |
|---|---|
| public void setType(int t) Overrides antlr. Sets the type of the token, remembering the previous type.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides antlr. Returns a string representation of the object. | |