public class TokenEntry extends Object implements 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(String image,
String tokenSrcID,
int beginLine) |
Modifier and Type | Method and Description |
---|---|
static void |
clearImages() |
int |
compareTo(TokenEntry other) |
boolean |
equals(Object o) |
int |
getBeginLine() |
static TokenEntry |
getEOF() |
int |
getIdentifier() |
int |
getIndex() |
String |
getTokenSrcID() |
int |
hashCode() |
void |
setHashCode(int hashCode) |
String |
toString() |
public static final TokenEntry EOF
public static TokenEntry getEOF()
public static void clearImages()
public String getTokenSrcID()
public int getBeginLine()
public int getIdentifier()
public int getIndex()
public void setHashCode(int hashCode)
public int compareTo(TokenEntry other)
compareTo
in interface Comparable<TokenEntry>
Copyright © 2002-2016 InfoEther. All Rights Reserved.