public class FixnumNode extends Node implements ILiteralNode, IEqlNode
| Constructor and Description |
|---|
FixnumNode(ISourcePosition position,
long value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor) |
List<Node> |
childNodes() |
boolean |
eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
RubyFixnum |
getFixnum(Ruby runtime) |
NodeType |
getNodeType() |
long |
getValue()
Gets the value.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
setValue(long value) |
assign, createList, definition, getNodeName, getPosition, setPosition, toStringpublic FixnumNode(ISourcePosition position, long value)
public Object accept(NodeVisitor iVisitor)
public NodeType getNodeType()
getNodeType in class Nodepublic long getValue()
public void setValue(long value)
public RubyFixnum getFixnum(Ruby runtime)
public List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public boolean eql(IRubyObject otherValue, ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.