Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
SymbolTable.SymbolScope |
SymbolTable.getEnclosingScope(Node n)
Gets the scope that contains the given node.
|
SymbolTable.SymbolScope |
SymbolTable.getGlobalScope()
Returns the global scope.
|
SymbolTable.SymbolScope |
SymbolTable.SymbolScope.getParentScope() |
SymbolTable.SymbolScope |
SymbolTable.Symbol.getPropertyScope() |
SymbolTable.SymbolScope |
SymbolTable.getScope(SymbolTable.Symbol slot) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SymbolTable.SymbolScope> |
SymbolTable.getAllScopes()
Gets all the scopes in this symbol table.
|
Modifier and Type | Method and Description |
---|---|
SymbolTable.Symbol |
SymbolTable.declareInferredSymbol(SymbolTable.SymbolScope scope,
java.lang.String name,
Node declNode)
Declare a symbol after the main symbol table was constructed.
|
SymbolTable.Symbol |
SymbolTable.getSymbolForScope(SymbolTable.SymbolScope scope)
All local scopes are associated with a function, and some functions are associated with a
symbol.
|
Copyright © 2009-2018 Google. All Rights Reserved.