public abstract class JsNestingScope extends JsScope
Constructor and Description |
---|
JsNestingScope(JsScope parent,
String description)
Create a scope with parent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(JsScope child) |
List<JsScope> |
getChildren()
Returns a list of this scope's child scopes.
|
JsScope |
getParent()
Returns the parent scope of this scope, or
null if this is the root scope. |
void |
nestInto(JsScope newParent) |
protected Object |
readResolve() |
declareName, declareName, declareUnobfuscatableName, doCreateName, findExistingName, findExistingNameNoRecurse, findExistingUnobfuscatableName, getAllNames, getDescription, toString
public final List<JsScope> getChildren()
getChildren
in class JsScope
public final JsScope getParent()
null
if this is the root scope.public void nestInto(JsScope newParent)
protected Object readResolve()
Copyright © 2018. All rights reserved.