classUtils.javassist.compiler.ast
Class DoubleConst

java.lang.Object
  extended by classUtils.javassist.compiler.ast.ASTree
      extended by classUtils.javassist.compiler.ast.DoubleConst
All Implemented Interfaces:
java.io.Serializable

public class DoubleConst
extends ASTree

Double constant.

See Also:
Serialized Form

Constructor Summary
DoubleConst(double v, int tokenId)
           
 
Method Summary
 void accept(Visitor v)
          Is a method for the visitor pattern.
 double get()
           
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class classUtils.javassist.compiler.ast.ASTree
getLeft, getRight, setLeft, setRight
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleConst

public DoubleConst(double v,
                   int tokenId)
Method Detail

get

public double get()

getType

public int getType()

toString

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

accept

public void accept(Visitor v)
            throws CompileError
Description copied from class: ASTree
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Specified by:
accept in class ASTree
Throws:
CompileError