public abstract class Node extends Object implements ISourcePositionHolder
| Constructor and Description |
|---|
Node(ISourcePosition position) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
accept(NodeVisitor visitor) |
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
abstract List<Node> |
childNodes() |
protected static List<Node> |
createList(Node... nodes) |
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
protected 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) |
String |
toString() |
public Node(ISourcePosition position)
public ISourcePosition getPosition()
getPosition in interface ISourcePositionHolderpublic void setPosition(ISourcePosition position)
setPosition in interface ISourcePositionHolderpublic abstract Object accept(NodeVisitor visitor)
protected 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 © 2001-2013 JRuby. All Rights Reserved.