
public class JsNormalScope extends JsNestingScope
| Constructor and Description |
|---|
JsNormalScope(JsScope parent,
String description)
Create a scope with parent.
|
| Modifier and Type | Method and Description |
|---|---|
protected JsName |
doCreateName(String ident,
String shortIdent)
Creates a new name in this scope.
|
protected JsName |
findExistingNameNoRecurse(String ident)
Attempts to find the name object for the specified ident, searching in this scope only.
|
Iterable<JsName> |
getAllNames()
Returns an iterator for all the names defined by this scope.
|
addChild, getChildren, getParent, nestInto, readResolvedeclareName, declareName, findExistingName, findExistingUnobfuscatableName, toStringpublic Iterable<JsName> getAllNames()
getAllNames in class JsScopeprotected JsName doCreateName(String ident, String shortIdent)
doCreateName in class JsScopeprotected JsName findExistingNameNoRecurse(String ident)
findExistingNameNoRecurse in class JsScopenull if the identifier has no associated nameCopyright © 2018. All rights reserved.