public class FixnumNode extends NumericNode implements ILiteralNode, SideEffectFree
containsVariableAssignment, newline| Constructor and Description |
|---|
FixnumNode(ISourcePosition position,
long value) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
java.util.List<Node> |
childNodes() |
NodeType |
getNodeType() |
long |
getValue()
Gets the value.
|
NumericNode |
negate() |
void |
setValue(long value) |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternalpublic FixnumNode(ISourcePosition position, long value)
public <T> T accept(NodeVisitor<T> iVisitor)
public NodeType getNodeType()
getNodeType in class Nodepublic NumericNode negate()
negate in class NumericNodepublic long getValue()
public void setValue(long value)
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2019 JRuby. All Rights Reserved.