antlr
Class Token

java.lang.Object
  |
  +--antlr.Token
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AstroToken, CommonToken

public class Token
extends Object
implements Cloneable

Untamed:


Field Summary
static Token badToken
          Enabled:
static int EOF_TYPE
          Enabled:
static int INVALID_TYPE
          Enabled:
static int MIN_USER_TYPE
          Enabled:
static int NULL_TREE_LOOKAHEAD
          Enabled:
static int SKIP
          Enabled:
(package private)  int type
           
 
Constructor Summary
Token()
          Enabled:
Token(int t)
          Enabled:
Token(int t, String txt)
          Enabled:
 
Method Summary
 int getColumn()
          Enabled:
 int getLine()
          Enabled:
 String getText()
          Enabled:
 int getType()
          Enabled:
 void setColumn(int c)
          Enabled:
 void setLine(int l)
          Enabled:
 void setText(String t)
          Enabled:
 void setType(int t)
          Enabled:
 String toString()
          Suppressed:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_USER_TYPE

public static final int MIN_USER_TYPE
Enabled:


NULL_TREE_LOOKAHEAD

public static final int NULL_TREE_LOOKAHEAD
Enabled:


INVALID_TYPE

public static final int INVALID_TYPE
Enabled:


EOF_TYPE

public static final int EOF_TYPE
Enabled:


SKIP

public static final int SKIP
Enabled:


type

int type

badToken

public static Token badToken
Enabled:

Constructor Detail

Token

public Token()
Enabled:


Token

public Token(int t)
Enabled:


Token

public Token(int t,
             String txt)
Enabled:

Method Detail

getColumn

public int getColumn()
Enabled:


getLine

public int getLine()
Enabled:


getText

public String getText()
Enabled:


getType

public int getType()
Enabled:


setColumn

public void setColumn(int c)
Enabled:


setLine

public void setLine(int l)
Enabled:


setText

public void setText(String t)
Enabled:


setType

public void setType(int t)
Enabled:


toString

public String toString()
Suppressed:

Overrides:
toString in class Object
Returns:
a string representation of the object.


comments?