Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
(package private) GlobalNamespace.Ref.Type |
GlobalNamespace.Ref.type |
Modifier and Type | Method and Description |
---|---|
(package private) GlobalNamespace.Ref.Type |
GlobalNamespace.BuildGlobalNamespace.determineGetTypeForHookOrBooleanExpr(JSModule module,
Scope scope,
Node parent,
java.lang.String name)
Determines whether the result of a hook (x?y:z) or boolean expression
(x||y) or (x&&y) is assigned to a specific global name.
|
static GlobalNamespace.Ref.Type |
GlobalNamespace.Ref.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlobalNamespace.Ref.Type[] |
GlobalNamespace.Ref.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) GlobalNamespace.Ref |
GlobalNamespace.Ref.cloneAndReclassify(GlobalNamespace.Ref.Type type)
Create a new ref that is the same as this one, but of
a different class.
|
(package private) static GlobalNamespace.Ref |
GlobalNamespace.Ref.createRefForTesting(GlobalNamespace.Ref.Type type) |
(package private) void |
GlobalNamespace.BuildGlobalNamespace.handleGet(JSModule module,
Scope scope,
Node n,
Node parent,
java.lang.String name,
GlobalNamespace.Ref.Type type)
Updates our representation of the global namespace to reflect a read
of a global name.
|
Constructor and Description |
---|
Ref(GlobalNamespace.Ref.Type type,
int index) |
Ref(GlobalNamespace.Ref original,
GlobalNamespace.Ref.Type type,
int index) |
Ref(JSModule module,
Scope scope,
Node node,
GlobalNamespace.Name name,
GlobalNamespace.Ref.Type type,
int index)
Creates a reference at the current node.
|