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, readResolve
declareName, declareName, findExistingName, findExistingUnobfuscatableName, toString
public Iterable<JsName> getAllNames()
getAllNames
in class JsScope
protected JsName doCreateName(String ident, String shortIdent)
doCreateName
in class JsScope
protected JsName findExistingNameNoRecurse(String ident)
findExistingNameNoRecurse
in class JsScope
null
if the identifier has no associated nameCopyright © 2018. All rights reserved.