public abstract class Node extends java.lang.Object implements ISourcePositionHolder
| Constructor and Description |
|---|
Node(ISourcePosition position) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
accept(NodeVisitor visitor) |
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
abstract java.util.List<Node> |
childNodes() |
protected static java.util.List<Node> |
createList(Node... nodes) |
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
protected java.lang.String |
getNodeName() |
abstract NodeType |
getNodeType() |
ISourcePosition |
getPosition()
Location of this node within the source
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
setPosition(ISourcePosition position) |
java.lang.String |
toString() |
public Node(ISourcePosition position)
public ISourcePosition getPosition()
getPosition in interface ISourcePositionHolderpublic void setPosition(ISourcePosition position)
setPosition in interface ISourcePositionHolderpublic abstract java.lang.Object accept(NodeVisitor visitor)
public abstract java.util.List<Node> childNodes()
public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String getNodeName()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public IRubyObject assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value, Block block, boolean checkArity)
public RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public abstract NodeType getNodeType()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.