joosc.node
Class Token

java.lang.Object
  extended byjoosc.node.Node
      extended byjoosc.node.Token
All Implemented Interfaces:
java.lang.Cloneable, Switchable
Direct Known Subclasses:
EOF, TAbstract, TAnd, TAssign, TBlanks, TBoolean, TBreak, TByte, TCase, TCatch, TChar, TCharconst, TClass, TComma, TConst, TContinue, TDefault, TDiv, TDo, TDot, TDouble, TElse, TEolComment, TEq, TExtComment, TExtends, TExtern, TFalse, TFinal, TFinally, TFloat, TFor, TGeq, TGoto, TGt, TIdentifier, TIf, TImplements, TImport, TImportpath, TIn, TInc, TInstanceof, TInt, TIntconst, TInterface, TLBrace, TLBracket, TLeq, TLong, TLPar, TLt, TMain, TMinus, TMod, TMult, TNative, TNeq, TNew, TNot, TNull, TOr, TPackage, TPlus, TPrivate, TProtected, TPublic, TRBrace, TRBracket, TReturn, TRPar, TSemicolon, TShort, TStatic, TStringconst, TSuper, TSwitch, TSynchronized, TThis, TThrow, TThrows, TTransient, TTrue, TTry, TVoid, TVolatile, TWhile

public abstract class Token
extends Node


Constructor Summary
Token()
           
 
Method Summary
 int getLine()
           
 int getPos()
           
 java.lang.String getText()
           
 void setLine(int line)
           
 void setPos(int pos)
           
 void setText(java.lang.String text)
           
 java.lang.String toString()
           
 
Methods inherited from class joosc.node.Node
clone, cloneList, cloneNode, parent, replaceBy, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface joosc.node.Switchable
apply
 

Constructor Detail

Token

public Token()
Method Detail

getText

public java.lang.String getText()

setText

public void setText(java.lang.String text)

getLine

public int getLine()

setLine

public void setLine(int line)

getPos

public int getPos()

setPos

public void setPos(int pos)

toString

public java.lang.String toString()