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, toStringInternal
public FixnumNode(ISourcePosition position, long value)
public <T> T accept(NodeVisitor<T> iVisitor)
public NodeType getNodeType()
getNodeType
in class Node
public NumericNode negate()
negate
in class NumericNode
public long getValue()
public void setValue(long value)
public java.util.List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2020 JRuby. All Rights Reserved.