Methods Summary |
---|
private int | getPreviousType()Returns the previous token type.
return tokenType;
|
public boolean | isPossibleID()Returns true if the token could be an identifier.
return possibleID;
|
public void | setPossibleID(boolean possibleID)Set to true if this token can be interpreted as an identifier,
false if not.
this.possibleID = possibleID;
|
public void | setType(int t)Sets the type of the token, remembering the previous type.
this.tokenType = getType();
super.setType( t );
|
public java.lang.String | toString()Returns a string representation of the object.
return "[\""
+ getText()
+ "\",<" + getType() + "> previously: <" + getPreviousType() + ">,line="
+ line + ",col="
+ col + ",possibleID=" + possibleID + "]";
|