Top Description Fields Constructors Methods
org.jruby.ast

public Class BignumNode

extends NumericNode
implements SideEffectFree
Class Inheritance
All Implemented Interfaces
org.jruby.ast.SideEffectFree
Imports
java.math.BigInteger, java.util.List, org.jruby.Ruby, .RubyBignum, org.jruby.ast.visitor.NodeVisitor, org.jruby.runtime.builtin.IRubyObject

Represents a big integer literal.

Field Summary

Modifier and TypeField and Description
private BigInteger

Constructor Summary

AccessConstructor and Description
public
BignumNode(int line, BigInteger value)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T> iVisitor)

Implements abstract org.jruby.ast.Node.accept.

public List<Node>
public NodeType
public BigInteger

Returns:

Returns a BigInteger
getValue
()

Gets the value.

public IRubyObject
public NumericNode
public void

Field Detail

valueback to summary
private BigInteger value

Constructor Detail

BignumNodeback to summary
public BignumNode(int line, BigInteger value)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> iVisitor)

Implements abstract org.jruby.ast.Node.accept.

childNodesback to summary
public List<Node> childNodes()

Implements abstract org.jruby.ast.Node.childNodes.

getNodeTypeback to summary
public NodeType getNodeType()

Implements abstract org.jruby.ast.Node.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

getValueback to summary
public BigInteger getValue()

Gets the value.

Returns:BigInteger

Returns a BigInteger

literalValueback to summary
public IRubyObject literalValue(Ruby runtime)

Implements org.jruby.ast.LiteralValue.literalValue.

Annotations
@Override
negateback to summary
public NumericNode negate()

Overrides org.jruby.ast.NumericNode.negate.

Annotations
@Override
setValueback to summary
public void setValue(BigInteger value)