| Modifier and Type | Field and Description |
|---|---|
| private final Node | |
| private final int | |
| private final String | |
| private final transient DynamicScope | |
| private final StaticScope |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | |
| public List | |
| public boolean | |
| public Object | |
| public Node | |
| public int | |
| public DynamicScope | Returns: dynamic scope of this ASTImplements org. Return the dynamic scope for this AST. |
| public Encoding | |
| public String | |
| public NodeType | |
| public StaticScope | Returns: the top static scope for the ASTImplements org. The static scoping relationships that should get set first thing before interpretation of the code represented by this AST. |
| bodyNode | back to summary |
|---|---|
| private final Node bodyNode | |
| coverageMode | back to summary |
|---|---|
| private final int coverageMode | |
| file | back to summary |
|---|---|
| private final String file | |
| scope | back to summary |
|---|---|
| private final transient DynamicScope scope | |
| staticScope | back to summary |
|---|---|
| private final StaticScope staticScope | |
| RootNode | back to summary |
|---|---|
| public RootNode(int line, DynamicScope scope, Node bodyNode, String file) | |
| RootNode | back to summary |
|---|---|
| public RootNode(int line, DynamicScope scope, Node bodyNode, String file, int coverageMode) | |
| accept | back to summary |
|---|---|
| public <T> T accept(NodeVisitor<T> iVisitor) Implements abstract org. | |
| childNodes | back to summary |
|---|---|
| public List Implements abstract org. | |
| executesOnce | back to summary |
|---|---|
| public boolean executesOnce() Overrides org.
| |
| getAST | back to summary |
|---|---|
| public Object getAST() Implements org. | |
| getBodyNode | back to summary |
|---|---|
| public Node getBodyNode() First real AST node to be interpreted
| |
| getCoverageMode | back to summary |
|---|---|
| public int getCoverageMode() Implements org.
| |
| getDynamicScope | back to summary |
|---|---|
| public DynamicScope getDynamicScope() Implements org. Return the dynamic scope for this AST. The variable backed by this is transient so for serialization this is null. In that case we use staticScope to rebuild the dynamic scope. The real reason for this method is supporting bindings+eval. We need to pass our live dynamic scope in so when we eval we can use that dynamic scope.
| |
| getEncoding | back to summary |
|---|---|
| public Encoding getEncoding() Implements org. | |
| getFile | back to summary |
|---|---|
| public String getFile() Overrides org. Implements org. | |
| getNodeType | back to summary |
|---|---|
| public NodeType getNodeType() Implements abstract org.
| |
| getStaticScope | back to summary |
|---|---|
| public StaticScope getStaticScope() Implements org. The static scoping relationships that should get set first thing before interpretation of the code represented by this AST. Actually, we use getScope first since that also can contain a live dynamic scope. We rely on this method only for interpreting a root node from a serialized format.
| |