public class Token
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
TokenKind |
getKind() |
int |
hashCode() |
boolean |
isIdentifier() |
boolean |
isKind(TokenKind desiredKind) |
java.lang.String |
stringValue() |
java.lang.String |
toString() |
public TokenKind getKind()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isIdentifier()
public java.lang.String stringValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean isKind(TokenKind desiredKind)