public abstract class NodeImplBase extends Object implements AstNode
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeImplBase.Scoped |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
usesInstanceThis |
| Constructor and Description |
|---|
NodeImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
<N extends AstNode> |
analyze(AstNode parent,
List<N> nodes) |
List<? extends AstNode> |
getChildren() |
AstNode |
getParentNode() |
List<AstNode> |
makeChildren(Object... objects) |
void |
notifyInstanceThisUsed() |
protected boolean |
propagateInstanceThisUsed() |
<N extends AstNode> |
scope(List<N> nodes,
Scope scope) |
boolean |
usesInstanceThis() |
void |
withNewDeclarationScope(AstNode definingNode,
Scope scope,
NodeImplBase.Scoped scoped) |
void |
withNewLabelScope(Statement statement,
Scope scope,
NodeImplBase.Scoped scoped) |
public void notifyInstanceThisUsed()
notifyInstanceThisUsed in interface AstNodeprotected boolean propagateInstanceThisUsed()
public boolean usesInstanceThis()
usesInstanceThis in interface AstNodepublic List<? extends AstNode> getChildren()
getChildren in interface AstNodepublic AstNode getParentNode()
getParentNode in interface AstNodepublic void withNewDeclarationScope(AstNode definingNode, Scope scope, NodeImplBase.Scoped scoped)
public void withNewLabelScope(Statement statement, Scope scope, NodeImplBase.Scoped scoped)
Copyright © 2002–2021 CoreMedia AG. All rights reserved.