public class FloatNode extends Node implements ILiteralNode
| Constructor and Description |
|---|
FloatNode(ISourcePosition position,
double value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor) |
List<Node> |
childNodes() |
RubyFloat |
getFloat(Ruby runtime) |
NodeType |
getNodeType() |
double |
getValue()
Gets the value.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
setValue(double value)
Sets the value
|
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toStringpublic FloatNode(ISourcePosition position, double value)
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
public double getValue()
public void setValue(double value)
value - to setpublic List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.