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 |
Class and Description |
---|
EnumType
An enum type representing a branded collection of elements.
|
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.
|
ObjectType
Object 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 . |
Class and Description |
---|
JSType
Represents JavaScript value types.
|
JSTypeRegistry
The type registry is used to resolve named 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 . |
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 |
---|
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.
|
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.
|
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.
|
ModificationVisitor
A visitor implementation that enables type substitutions.
|
NamedType
A
NamedType is a named reference to some other type. |
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.
|
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.
|
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. |
UnionTypeBuilder
A builder for union types.
|
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> . |
Copyright © 2009–2023 Google. All rights reserved.