Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.type |
Provides type-checking data structures and algorithms.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
com.google.javascript.rhino.testing |
Modifier and Type | Class and Description |
---|---|
class |
Scope
Scope contains information about a variable scope in JavaScript.
|
class |
TypedScope
TypedScope contains information about variables and their types.
|
Modifier and Type | Method and Description |
---|---|
StaticScope |
Scope.getParentScope() |
Modifier and Type | Interface and Description |
---|---|
interface |
FlowScope
A symbol table for inferring types during data flow analysis.
|
Modifier and Type | Method and Description |
---|---|
StaticScope |
StaticScope.getParentScope()
Returns the scope enclosing this one or null if none.
|
StaticScope |
StaticSymbolTable.getScope(S symbol)
Returns the scope for a given symbol.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StaticTypedScope<T>
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
Modifier and Type | Class and Description |
---|---|
class |
EnumElementType
The type of individual elements of an enum type
(see
EnumType ). |
class |
EnumType
An enum type representing a branded collection of elements.
|
class |
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
class |
NamedType
A
NamedType is a named reference to some other type. |
class |
NoObjectType
The bottom Object type, representing the subclass of all objects.
|
class |
NoType
Bottom type, representing the subclass of any value or object.
|
class |
ObjectType
Object type.
|
class |
PrototypeObjectType
The object type represents instances of JavaScript objects such as
Object , Date , Function . |
class |
ProxyObjectType
An object type which uses composition to delegate all calls.
|
class |
RecordType
A record (structural) type.
|
class |
TemplateType |
class |
TemplatizedType
An object type with declared template types, such as
Array . |
class |
UnknownType
The
Unknown type. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStaticScope<T>
A scope that just returns null for everything.
|
class |
MapBasedScope
A scope based on a simple hashmap.
|
Copyright © 2009-2015 Google. All Rights Reserved.