|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.FloatNode
Represents a float literal.
| Field Summary |
| Fields inherited from class org.jruby.ast.Node |
instruction, nodeId |
| Constructor Summary | |
FloatNode(ISourcePosition position,
double value)
|
|
| Method Summary | |
Instruction |
accept(NodeVisitor iVisitor)
|
java.util.List |
childNodes()
|
double |
getValue()
Gets the value. |
void |
setValue(double value)
Sets the value |
| Methods inherited from class org.jruby.ast.Node |
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FloatNode(ISourcePosition position,
double value)
| Method Detail |
public Instruction accept(NodeVisitor iVisitor)
accept in class Nodepublic double getValue()
public void setValue(double value)
value - to setpublic java.util.List childNodes()
childNodes in class Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||