koala.dynamicjava.tree
Class BooleanLiteral

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Expression
          extended by koala.dynamicjava.tree.PrimaryExpression
              extended by koala.dynamicjava.tree.Literal
                  extended by koala.dynamicjava.tree.BooleanLiteral
All Implemented Interfaces:
SourceInfo.Wrapper

public class BooleanLiteral
extends Literal

This class represents the boolean literal nodes of the syntax tree

Version:
1.0 - 1999/04/24
Author:
Stephane Hillion

Constructor Summary
BooleanLiteral(boolean val)
          Initializes a literal
BooleanLiteral(boolean val, SourceInfo si)
          Initializes a literal
 
Method Summary
 
Methods inherited from class koala.dynamicjava.tree.Literal
acceptVisitor, getRepresentation, getType, getValue, setRepresentation, setType, setValue, toString
 
Methods inherited from class koala.dynamicjava.tree.Node
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanLiteral

public BooleanLiteral(boolean val)
Initializes a literal

Parameters:
val - the value of the literal

BooleanLiteral

public BooleanLiteral(boolean val,
                      SourceInfo si)
Initializes a literal

Parameters:
val - the value of the literal