public class RootNode extends Node
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST
Constructor and Description |
---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor) |
java.util.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, definition, getNodeName, getPosition, isInvisible, 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 java.lang.Object accept(NodeVisitor iVisitor)
public java.util.List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.