public class RootNode extends Node implements ParseResult
containsVariableAssignment, newline| Constructor and Description |
|---|
RootNode(int line,
DynamicScope scope,
Node bodyNode,
java.lang.String file) |
RootNode(int line,
DynamicScope scope,
Node bodyNode,
java.lang.String file,
int coverageMode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
java.util.List<Node> |
childNodes() |
int |
coverageMode() |
boolean |
executesOnce() |
Node |
getBodyNode()
First real AST node to be interpreted
|
java.lang.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, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLinepublic RootNode(int line,
DynamicScope scope,
Node bodyNode,
java.lang.String file)
public RootNode(int line,
DynamicScope scope,
Node bodyNode,
java.lang.String file,
int coverageMode)
public NodeType getNodeType()
getNodeType in class Nodepublic DynamicScope getScope()
public StaticScope getStaticScope()
getStaticScope in interface ParseResultpublic java.lang.String getFile()
getFile in interface ParseResultgetFile in class Nodepublic Node getBodyNode()
public <T> T accept(NodeVisitor<T> iVisitor)
public java.util.List<Node> childNodes()
childNodes in class Nodepublic int coverageMode()
public boolean executesOnce()
executesOnce in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.