com.jeffpalm.cop5555.tok
Class KeywordToken

java.lang.Object
  extended by com.jeffpalm.cop5555.tok.Token
      extended by com.jeffpalm.cop5555.tok.KeywordToken

public class KeywordToken
extends Token


Field Summary
 
Fields inherited from class com.jeffpalm.cop5555.tok.Token
AND, CARET, col, COMMA, COMMENT, CONST, DEC, DIV, ELSE, EMPTY, EOF, EQ, EQEQ, ERROR, GE, GT, IDENT, IF, INC, INT, L_SHIFT, LBRACE, LE, line, LPAREN, LT, MAX_TOKEN, MINUS, MOD, NE, NUMBER, OR, PLUS, PROGRAM, R_SHIFT, RBRACE, READ, RETURN, RPAREN, SEMI, STAR, str, syms, type, VAR, VOID, WHILE, WRITE, XOR
 
Constructor Summary
KeywordToken(int type, int line, int col)
           
KeywordToken(int type, Pos p)
           
 
Method Summary
 Token dup()
           
 
Methods inherited from class com.jeffpalm.cop5555.tok.Token
getCol, getLine, getPos, getString, getType, is, isEof, stringRep, stringRep, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeywordToken

public KeywordToken(int type,
                    int line,
                    int col)

KeywordToken

public KeywordToken(int type,
                    Pos p)
Method Detail

dup

public Token dup()
Specified by:
dup in class Token