polyglot.lex
Class Keyword

java.lang.Object
  extended by polyglot.lex.Token
      extended by polyglot.lex.Keyword

public class Keyword
extends Token

A token class for keywords.


Constructor Summary
Keyword(Position position, java.lang.String s, int sym)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class polyglot.lex.Token
escape, getPosition, symbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Keyword

public Keyword(Position position,
               java.lang.String s,
               int sym)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object