Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Class and Description |
---|---|
static class |
Scope.Arguments
A special subclass of Var used to distinguish "arguments" in the current
scope.
|
Modifier and Type | Method and Description |
---|---|
Scope.Var |
Scope.getArgumentsVar()
Get a unique VAR object to represents "arguments" within this scope
|
Scope.Var |
Scope.Var.getDeclaration() |
Scope.Var |
Scope.getOwnSlot(String name) |
Scope.Var |
Scope.getSlot(String name) |
Scope.Var |
Scope.Var.getSymbol() |
Scope.Var |
Scope.getVar(String name)
Returns the variable, may be null
|
Modifier and Type | Method and Description |
---|---|
Iterable<Scope.Var> |
Scope.getAllSymbols() |
Iterator<Scope.Var> |
Scope.getDeclarativelyUnboundVarsWithoutTypes()
Gets all variables declared with "var" but without declared types attached.
|
Iterable<Scope.Var> |
Scope.getReferences(Scope.Var var) |
Iterator<Scope.Var> |
Scope.getVars()
Return an iterator over all of the variables declared in this scope.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Scope.Var> |
Scope.getReferences(Scope.Var var) |
StaticScope<JSType> |
Scope.getScope(Scope.Var var) |
Copyright © 2009-2015 Google. All Rights Reserved.