Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Class and Description |
---|---|
class |
TypedVar
Several methods in this class, such as
isVar throw an exception when called, and several
methods are currently identical to the ones in Var. |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Var> |
Scope.vars |
Modifier and Type | Method and Description |
---|---|
Var |
Scope.getArgumentsVar()
Get a unique VAR object to represents "arguments" within this scope
|
Var |
TypedScope.getArgumentsVar() |
Var |
Var.getDeclaration() |
Var |
Scope.getOwnSlot(java.lang.String name) |
Var |
Scope.getSlot(java.lang.String name) |
Var |
Var.getSymbol() |
Var |
Reference.getSymbol() |
Var |
Scope.getVar(java.lang.String name)
Returns the variable, may be null
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<? extends Var> |
Scope.getAllAccessibleVariables()
Return an iterable over all of the variables accessible to this scope (i.e.
|
java.lang.Iterable<? extends Var> |
Scope.getAllSymbols() |
java.lang.Iterable<Var> |
ReferenceCollectingCallback.getAllSymbols()
Gets the variables that were referenced in this callback.
|
java.lang.Iterable<? extends Var> |
Scope.getVarIterable()
Return an iterable over all of the variables declared in this scope
(except the special 'arguments' variable).
|
Modifier and Type | Method and Description |
---|---|
ReferenceCollection |
ReferenceMap.getReferences(Var var)
Returns references to
var . |
ReferenceCollection |
ReferenceCollectingCallback.getReferences(Var v)
Gets the reference collection for the given variable.
|
Scope |
ReferenceCollectingCallback.getScope(Var var) |
Copyright © 2009-2017 Google. All Rights Reserved.