public class TokenEntry extends java.lang.Object implements java.lang.Comparable<TokenEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
TokenEntry.State
Helper class to preserve and restore the current state
of the token entries.
|
| 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) |
java.lang.String |
toString() |
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.Objectpublic void setHashCode(int hashCode)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(TokenEntry other)
compareTo in interface java.lang.Comparable<TokenEntry>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2014 InfoEther. All Rights Reserved.