org.jruby.ast
Class FixnumNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.FixnumNode
All Implemented Interfaces:
ILiteralNode, INode, java.io.Serializable

public class FixnumNode
extends AbstractNode
implements ILiteralNode

Represents an integer literal.

Version:
$Revision: 1.4 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
FixnumNode(ISourcePosition position, long value)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 long getValue()
          Gets the value.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixnumNode

public FixnumNode(ISourcePosition position,
                  long value)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Specified by:
accept in interface INode

getValue

public long getValue()
Gets the value.

Returns:
Returns a long


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.