public class RootNode extends Node
containsVariableAssignment, newline
Constructor and Description |
---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
String file) |
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
String file,
int endPosition) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
Node |
getBodyNode()
First real AST node to be interpreted
|
int |
getEndPosition() |
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.
|
boolean |
hasEndPosition() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString
public RootNode(ISourcePosition position, DynamicScope scope, Node bodyNode, String file)
public RootNode(ISourcePosition position, DynamicScope scope, Node bodyNode, String file, int endPosition)
public NodeType getNodeType()
getNodeType
in class Node
public 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 Node
public boolean hasEndPosition()
public int getEndPosition()
Copyright © 2001-2016 JRuby. All Rights Reserved.