|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjbet.Token
public class Token
The Token class. This file contains fields that hold tokens (type, value), and code that constructs different types of tokens or converts tokens into strings. $Id: Token.java,v 1.4 2003/09/09 17:31:54 areisse Exp $
Field Summary | |
---|---|
double |
d
|
static int |
DEFAULT
|
static int |
DESCRIPTOR
|
static int |
DONOR
|
static int |
END_OF_OPTS
|
static int |
EOF
|
static int |
EOL
|
static int |
FLOAT
|
static int |
INT
|
long |
l
|
static int |
LABEL
|
static int |
NAME
|
static int |
STRING
|
static int |
TAG
|
java.lang.String |
text
|
int |
type
|
static int |
TYPE
|
Constructor Summary | |
---|---|
Token(int t)
Constructor. |
|
Token(int t,
double s)
Constructor. |
|
Token(int t,
long s)
Constructor. |
|
Token(int t,
java.lang.String s)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
toString()
Return a string rep. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int type
public java.lang.String text
public long l
public double d
public static final int EOF
public static final int TAG
public static final int NAME
public static final int END_OF_OPTS
public static final int TYPE
public static final int DEFAULT
public static final int DONOR
public static final int DESCRIPTOR
public static final int STRING
public static final int INT
public static final int LABEL
public static final int FLOAT
public static final int EOL
Constructor Detail |
---|
public Token(int t)
public Token(int t, java.lang.String s)
public Token(int t, long s)
public Token(int t, double s)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |