polyglot.lex
Class BooleanLiteral

java.lang.Object
  extended bypolyglot.lex.Token
      extended bypolyglot.lex.Literal
          extended bypolyglot.lex.BooleanLiteral

public class BooleanLiteral
extends Literal

Token class for boolean literals.


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
 

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()