public class HqlToken
extends antlr.CommonToken
NOTE: This class must be public becuase it is instantiated by the ANTLR library. Ignore any suggestions by various code 'analyzers' about this class being package local.
Constructor and Description |
---|
HqlToken() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPossibleID()
Returns true if the token could be an identifier.
|
void |
setPossibleID(boolean possibleID)
Set to true if this token can be interpreted as an identifier,
false if not.
|
void |
setType(int t)
Sets the type of the token, remembering the previous type.
|
String |
toString()
Returns a string representation of the object.
|
public boolean isPossibleID()
public void setType(int t)
setType
in class antlr.Token
t
- The new token type.public void setPossibleID(boolean possibleID)
possibleID
- True if this is a keyword/identifier, false if not.public String toString()
toString
in class antlr.CommonToken
Copyright © 2016 JBoss by Red Hat. All rights reserved.