public class RootNode extends Node
Constructor and Description |
---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor) |
List<Node> |
childNodes() |
Node |
getBodyNode()
First real AST node to be interpreted
|
NodeType |
getNodeType() |
DynamicScope |
getScope()
Return the dynamic scope for this AST.
|
StaticScope |
getStaticScope()
The static scoping relationships that should get set first thing before interpretation
of the code represented by this AST.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public RootNode(ISourcePosition position, DynamicScope scope, Node bodyNode)
public NodeType getNodeType()
getNodeType
in class Node
public DynamicScope getScope()
public StaticScope getStaticScope()
public Node getBodyNode()
public Object accept(NodeVisitor iVisitor)
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.