org.jruby.ast
Class BignumNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.BignumNode
All Implemented Interfaces:
java.io.Serializable, ILiteralNode, InstructionContext, ISourcePositionHolder

public class BignumNode
extends Node
implements ILiteralNode

Represents a big integer literal.

Author:
jpetersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jruby.ast.Node
instruction, nodeId
 
Constructor Summary
BignumNode(ISourcePosition position, java.math.BigInteger value)
           
 
Method Summary
 Instruction accept(NodeVisitor iVisitor)
           
 java.util.List childNodes()
           
 java.math.BigInteger getValue()
          Gets the value.
 void setValue(java.math.BigInteger value)
           
 
Methods inherited from class org.jruby.ast.Node
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BignumNode

public BignumNode(ISourcePosition position,
                  java.math.BigInteger value)
Method Detail

accept

public Instruction accept(NodeVisitor iVisitor)
Specified by:
accept in class Node

getValue

public java.math.BigInteger getValue()
Gets the value.

Returns:
Returns a BigInteger

childNodes

public java.util.List childNodes()
Specified by:
childNodes in class Node

setValue

public void setValue(java.math.BigInteger value)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.