interface ScopeCreator
Modifier and Type | Method and Description |
---|---|
<T extends Scope> |
createScope(Node n,
T parent)
Creates a
Scope object. |
boolean |
hasBlockScope() |
<T extends Scope> T createScope(Node n, T parent)
Scope
object.n
- the root node (either a FUNCTION node, a SCRIPT node, or a
synthetic block node whose children are all SCRIPT nodes)parent
- the parent Scope object (may be null)boolean hasBlockScope()