polyglot.lex
Class BooleanLiteral

java.lang.Object
  extended by polyglot.lex.Token
      extended by polyglot.lex.Literal
          extended by polyglot.lex.BooleanLiteral

public class BooleanLiteral
extends Literal

Token class for boolean literals.


Field Summary
protected  java.lang.Boolean val
           
 
Fields inherited from class polyglot.lex.Token
position, symbol
 
Constructor Summary
BooleanLiteral(Position position, boolean b, int sym)
           
 
Method Summary
 java.lang.Boolean getValue()
           
 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
 

Field Detail

val

protected java.lang.Boolean val
Constructor Detail

BooleanLiteral

public BooleanLiteral(Position position,
                      boolean b,
                      int sym)
Method Detail

getValue

public java.lang.Boolean getValue()

toString

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