Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.lint | |
com.google.javascript.jscomp.type |
Provides type-checking data structures and algorithms.
|
com.google.javascript.refactoring | |
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 |
Class and Description |
---|
BooleanLiteralSet
A set in the domain {true,false}.
|
EnumElementType
The type of individual elements of an enum type
(see
EnumType ). |
EnumType
An enum type representing a branded collection of elements.
|
FunctionParamBuilder
A builder for the Rhino Node representing Function parameters.
|
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
JSType
Represents JavaScript value types.
|
JSTypeNative
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
|
JSTypeRegistry
The type registry is used to resolve named types.
|
ModificationVisitor
A visitor implementation that enables type substitutions.
|
NamedType
A
NamedType is a named reference to some other type. |
NoType
Bottom type, representing the subclass of any value or object.
|
ObjectType
Object type.
|
ProxyObjectType
An object type which uses composition to delegate all calls.
|
RecordType
A record (structural) type.
|
SimpleReference
A simple immutable reference.
|
SimpleSlot
The minimum implementation of
StaticTypedSlot<JSType> . |
StaticTypedRef
The
StaticTypedRef tells us all the ways that a StaticTypedSlot
is used in a program. |
StaticTypedScope
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
StaticTypedSlot
The
StaticTypedSlot interface must be implemented by variables that can
appear as members of a StaticTypedScope . |
TemplateType |
TemplateTypeMap
Manages a mapping from TemplateType to its resolved JSType.
|
TemplatizedType
An object type with declared template types, such as
Array<string> . |
TernaryValue
An enum for ternary logic.
|
UnionType
The
UnionType implements a common JavaScript idiom in which the
code is specifically designed to work with multiple input types. |
Visitor
A type visitor.
|
Class and Description |
---|
JSType
Represents JavaScript value types.
|
JSTypeRegistry
The type registry is used to resolve named types.
|
Class and Description |
---|
EnumElementType
The type of individual elements of an enum type
(see
EnumType ). |
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
JSType
Represents JavaScript value types.
|
JSType.TypePair
a data structure that represents a pair of types
|
JSTypeNative
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
|
JSTypeRegistry
The type registry is used to resolve named types.
|
NamedType
A
NamedType is a named reference to some other type. |
NoType
Bottom type, representing the subclass of any value or object.
|
ObjectType
Object type.
|
ProxyObjectType
An object type which uses composition to delegate all calls.
|
StaticTypedScope
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
StaticTypedSlot
The
StaticTypedSlot interface must be implemented by variables that can
appear as members of a StaticTypedScope . |
TemplateType |
TemplatizedType
An object type with declared template types, such as
Array<string> . |
UnionType
The
UnionType implements a common JavaScript idiom in which the
code is specifically designed to work with multiple input types. |
Visitor
A type visitor.
|
Class and Description |
---|
JSType
Represents JavaScript value types.
|
JSTypeNative
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
|
Class and Description |
---|
JSType
Represents JavaScript value types.
|
JSTypeNative
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
|
StaticTypedScope
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
TernaryValue
An enum for ternary logic.
|
Class and Description |
---|
ArrowType
The arrow type is an internal type that models the functional arrow type
seen in typical functional programming languages.
|
BooleanLiteralSet
A set in the domain {true,false}.
|
CanCastToVisitor
A "can cast to" relationship visitor.
|
EnumElementType
The type of individual elements of an enum type
(see
EnumType ). |
EnumType
An enum type representing a branded collection of elements.
|
EquivalenceMethod
Represents different ways for comparing equality among types.
|
FunctionBuilder
A builder class for function and arrow types.
|
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
FunctionType.Kind |
FunctionType.PropAccess |
JSType
Represents JavaScript value types.
|
JSType.EqCache
cache used by equivalence check logic
|
JSType.ImplCache
cache used by check sub-type logic
|
JSType.MatchCache
base cache data structure
|
JSType.MatchStatus
describe the status of checking that a function
implicitly implements an interface.
|
JSType.TypePair
a data structure that represents a pair of types
|
JSTypeNative
Constants corresponding to types that are built into a JavaScript engine
and other types that occur very often in the type system.
|
JSTypeRegistry
The type registry is used to resolve named types.
|
ModificationVisitor
A visitor implementation that enables type substitutions.
|
NamedType
A
NamedType is a named reference to some other type. |
NamedType.PropertyContinuation
Store enough information to define a property at a later time.
|
NoObjectType
The bottom Object type, representing the subclass of all objects.
|
NoType
Bottom type, representing the subclass of any value or object.
|
ObjectType
Object type.
|
Property
A property slot of an object.
|
PropertyMap
Representation for a collection of properties on an object.
|
PrototypeObjectType
The object type represents instances of JavaScript objects such as
Object , Date , Function . |
ProxyObjectType
An object type which uses composition to delegate all calls.
|
RecordType
A record (structural) type.
|
RecordTypeBuilder
A builder for record types.
|
RecordTypeBuilder.RecordProperty |
RelationshipVisitor
A type relationship visitor.
|
StaticTypedRef
The
StaticTypedRef tells us all the ways that a StaticTypedSlot
is used in a program. |
StaticTypedScope
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
StaticTypedSlot
The
StaticTypedSlot interface must be implemented by variables that can
appear as members of a StaticTypedScope . |
TemplateType |
TemplateTypeMap
Manages a mapping from TemplateType to its resolved JSType.
|
TemplateTypeMap.EquivalenceMatch
An enum tracking the three different equivalence match states for a
template key-value pair.
|
TemplateTypeMapReplacer
Uses a TemplateTypeMap to replace TemplateTypes with their associated JSType
values.
|
TemplatizedType
An object type with declared template types, such as
Array<string> . |
TernaryValue
An enum for ternary logic.
|
UnionType
The
UnionType implements a common JavaScript idiom in which the
code is specifically designed to work with multiple input types. |
UnionTypeBuilder
A builder for union types.
|
ValueType
Value types (null, void, number, boolean, string).
|
Visitor
A type visitor.
|
Class and Description |
---|
FunctionType
This derived type provides extended information about a function, including
its return type and argument types.
|
JSType
Represents JavaScript value types.
|
JSTypeRegistry
The type registry is used to resolve named types.
|
ObjectType
Object type.
|
RecordTypeBuilder
A builder for record types.
|
StaticTypedScope
The
StaticTypedScope interface must be implemented by any object that
defines variables for the purposes of static analysis. |
StaticTypedSlot
The
StaticTypedSlot interface must be implemented by variables that can
appear as members of a StaticTypedScope . |
TemplatizedType
An object type with declared template types, such as
Array<string> . |