public class FloatNode extends NumericNode implements ILiteralNode, SideEffectFree
containsVariableAssignment, newline
Constructor and Description |
---|
FloatNode(ISourcePosition position,
double value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
NodeType |
getNodeType() |
double |
getValue()
Gets the value.
|
void |
setValue(double value)
Sets the value
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString
public FloatNode(ISourcePosition position, double value)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public double getValue()
public void setValue(double value)
value
- to setpublic List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.