Package org.jruby.ast
Class BignumNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.NumericNode
org.jruby.ast.BignumNode
- All Implemented Interfaces:
LiteralValue,SideEffectFree,ILiteralNode
Represents a big integer literal.
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) getValue()Gets the value.literalValue(Ruby runtime) negate()voidsetValue(BigInteger value) Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
BignumNode
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
-
negate
- Overrides:
negatein classNumericNode
-
getValue
Gets the value.- Returns:
- Returns a BigInteger
-
childNodes
- Specified by:
childNodesin classNode
-
setValue
-
literalValue
- Specified by:
literalValuein interfaceLiteralValue
-