public class RootNode extends Node
containsVariableAssignment| Constructor and Description |
|---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
String file) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
Node |
getBodyNode()
First real AST node to be interpreted
|
String |
getFile() |
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.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringpublic RootNode(ISourcePosition position, DynamicScope scope, Node bodyNode, String file)
public NodeType getNodeType()
getNodeType in class Nodepublic DynamicScope getScope()
public StaticScope getStaticScope()
public String getFile()
public Node getBodyNode()
public <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.