public class TokenEntry extends java.lang.Object implements java.lang.Comparable<TokenEntry>
Modifier and Type | Field and Description |
---|---|
static TokenEntry |
EOF |
Constructor and Description |
---|
TokenEntry(java.lang.String image,
java.lang.String tokenSrcID,
int beginLine) |
Modifier and Type | Method and Description |
---|---|
static void |
clearImages() |
int |
compareTo(TokenEntry other) |
boolean |
equals(java.lang.Object o) |
int |
getBeginLine() |
static TokenEntry |
getEOF() |
int |
getIdentifier() |
int |
getIndex() |
java.lang.String |
getTokenSrcID() |
int |
hashCode() |
void |
setHashCode(int hashCode) |
public static final TokenEntry EOF
public TokenEntry(java.lang.String image, java.lang.String tokenSrcID, int beginLine)
public static TokenEntry getEOF()
public static void clearImages()
public java.lang.String getTokenSrcID()
public int getBeginLine()
public int getIdentifier()
public int getIndex()
public int hashCode()
hashCode
in class java.lang.Object
public void setHashCode(int hashCode)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(TokenEntry other)
compareTo
in interface java.lang.Comparable<TokenEntry>