javassist.compiler.ast
Class DoubleConst
java.lang.Object
javassist.compiler.ast.ASTree
javassist.compiler.ast.DoubleConst
- All Implemented Interfaces:
- java.io.Serializable
public class DoubleConst
- extends ASTree
Double constant.
- See Also:
- Serialized Form
Field Summary |
protected int |
type
|
protected double |
value
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected double value
type
protected int type
DoubleConst
public DoubleConst(double v,
int tokenId)
get
public double get()
set
public void set(double v)
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
compute
public ASTree compute(int op,
ASTree right)
Copyright © 2011. All Rights Reserved.