Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GlobalNamespace.Ref
A global name reference.
|
(package private) static class |
PreprocessorSymbolTable.Reference |
(package private) static class |
ReferenceCollectingCallback.Reference
Represents a single declaration or reference to a variable.
|
static class |
SymbolTable.Reference
Reference
|
class |
TypedVar
Several methods in this class, such as
isVar throw an exception when called. |
class |
Var
Used by
Scope to store information about variables. |
private static class |
Var.Arguments
A special subclass of Var used to distinguish "arguments" in the current
scope.
|
Modifier and Type | Method and Description |
---|---|
(package private) <S extends StaticSlot,R extends StaticRef> |
SymbolTable.addSymbolsFrom(StaticSymbolTable<S,R> otherSymbolTable)
Make sure all the symbols and references in
otherSymbolTable
are in this symbol table. |
private <S extends StaticSlot,R extends StaticRef> |
SymbolTable.findBestDeclToAdd(StaticSymbolTable<S,R> otherSymbolTable,
S slot)
Helper for addSymbolsFrom, to determine the best declaration spot.
|
Modifier and Type | Method and Description |
---|---|
private <S extends StaticSlot,R extends StaticRef> |
SymbolTable.findBestDeclToAdd(StaticSymbolTable<S,R> otherSymbolTable,
S slot)
Helper for addSymbolsFrom, to determine the best declaration spot.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
SymbolTable.isGoodRefToAdd(StaticRef ref)
Helper for addSymbolsFrom, to determine whether a reference is
acceptable.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StaticSymbolTable<S extends StaticSlot,R extends StaticRef>
Lookup references by the symbols that they refer to.
|
Modifier and Type | Method and Description |
---|---|
StaticRef |
StaticSlot.getDeclaration()
Gets the declaration of this symbol.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StaticTypedRef<T>
The
StaticTypedRef tells us all the ways that a StaticTypedSlot
is used in a program. |
Modifier and Type | Class and Description |
---|---|
class |
Property
A property slot of an object.
|
class |
SimpleReference<T extends StaticTypedSlot<JSType>>
A simple immutable reference.
|