| 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.refactoring | |
| com.google.javascript.rhino |
The core AST from Rhino.
|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| 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.
|
| JSTypeRegistry
The type registry is used to resolve named types.
|
| ObjectType
Object type.
|
| SimpleReference
A simple immutable reference.
|
| SimpleSlot
The minimum implementation of
StaticTypedSlot. |
| 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. |
| TernaryValue
An enum for ternary logic.
|
| Class and Description |
|---|
| JSTypeRegistry
The type registry is used to resolve named types.
|
| 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.
|
| 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.
|
| FunctionType
This derived type provides extended information about a function, including its return type and
argument types.
|
| FunctionType.Builder
A builder class for function and arrow types.
|
| JSType
Represents JavaScript value types.
|
| JSType.HasPropertyKind
A tristate value returned from canPropertyBeDefined.
|
| JSType.Nullability
Specifies how to express nullability of reference types in annotation strings and error
messages.
|
| JSType.SubtypingMode
In files translated from Java, we typecheck null and undefined loosely.
|
| 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.
|
| JSTypeRegistry.PropDefinitionKind
A tristate value returned from canPropertyBeDefined.
|
| JSTypeResolver
A state machine for resolving all
JSType instances. |
| JSTypeResolver.Closer
A signal to resolve all types known to and close the owning resolver.
|
| 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.
|
| Property.OwnedProperty
A property instance associated with particular owner type.
|
| 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
A placeholder type, used as keys in
TemplateTypeMaps. |
| TemplateTypeMap
Manages a mapping from TemplateType to its resolved JSType.
|
| TemplateTypeReplacer
Specializes
TemplatizedTypes according to provided bindings. |
| TemplatizedType
An object type with declared template types, such as
Array<string>. |
| TernaryValue
An enum for ternary logic.
|
| UnionType
A type that may be any one of a set of types, and thus has the intersection of the properties of
those types.
|
| UnionType.Builder
Implements type unioning logic, since
UnionTypes only actually need to perform unioning
operations when being (re)built. |
| Visitor
A vistor for
JSTypes. |
Copyright © 2009-2020 Google. All Rights Reserved.