at.dms.compiler.antlr.extra
Class CToken

java.lang.Object
  extended by at.dms.compiler.antlr.runtime.Token
      extended by at.dms.compiler.antlr.extra.CToken
All Implemented Interfaces:
Cloneable

public final class CToken
extends Token


Field Summary
 
Fields inherited from class at.dms.compiler.antlr.runtime.Token
badToken, EOF_TYPE, INVALID_TYPE, MIN_USER_TYPE, NULL_TREE_LOOKAHEAD, SKIP
 
Constructor Summary
CToken(int type, String text)
          Constructs a token
 
Method Summary
 String getText()
           
 void setText(String text)
           
 
Methods inherited from class at.dms.compiler.antlr.runtime.Token
getColumn, getLine, getType, setColumn, setLine, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CToken

public CToken(int type,
              String text)
Constructs a token

Method Detail

getText

public String getText()
Overrides:
getText in class Token

setText

public void setText(String text)
Overrides:
setText in class Token