koala.dynamicjava.tree
Class IntegerLiteral

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.IntegerLiteral
All Implemented Interfaces:
SourceInfo.Wrapper

public class IntegerLiteral
extends Literal

This class represents the integer literal nodes of the syntax tree

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

Constructor Summary
IntegerLiteral(java.lang.String rep)
          Initializes a literal
IntegerLiteral(java.lang.String rep, 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

IntegerLiteral

public IntegerLiteral(java.lang.String rep)
               throws java.lang.NumberFormatException
Initializes a literal

Parameters:
rep - the representation of the literal
Throws:
java.lang.NumberFormatException

IntegerLiteral

public IntegerLiteral(java.lang.String rep,
                      SourceInfo si)
               throws java.lang.NumberFormatException
Initializes a literal

Parameters:
rep - the representation of the literal
Throws:
java.lang.NumberFormatException