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, toString
public FloatNode(ISourcePosition position, double value)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public double getValue()
public void setValue(double value)
value
- to setpublic List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2015 JRuby. All Rights Reserved.