|
||||||||||
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
public class FloatNode
Represents a float literal.
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, nodeId |
Constructor Summary | |
---|---|
FloatNode(ISourcePosition position,
double value)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor iVisitor)
|
java.util.List<Node> |
childNodes()
|
double |
getValue()
Gets the value. |
void |
setValue(double value)
Sets the value |
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, 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 Node
public double getValue()
public void setValue(double value)
value
- to setpublic java.util.List<Node> childNodes()
childNodes
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |