Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.newtypes |
Class and Description |
---|
Declaration
Represents a declaration of a javascript type.
|
DeclaredFunctionType
This class represents the function types for functions that are defined
statically in the code.
|
DeclaredTypeRegistry
A registry capable of translating names into JSTypes.
|
EnumType |
FunctionType |
JSType |
JSTypeCreatorFromJSDoc |
JSTypes
This class contains commonly used types, accessible from the jscomp package.
|
Namespace
An object whose properties can be types (nominal types, enums, typedefs).
|
NominalType |
QualifiedName
Represents a qualified name.
|
RawNominalType
Represents a class or interface as defined in the code.
|
Typedef |
TypeEnv
A persistent map from variables to abstract values (types)
|
UniqueNameGenerator
Uses a counter to create unique names for functions, variables, type
variables, etc.
|
Class and Description |
---|
Declaration
Represents a declaration of a javascript type.
|
DeclaredFunctionType
This class represents the function types for functions that are defined
statically in the code.
|
DeclaredTypeRegistry
A registry capable of translating names into JSTypes.
|
EnumType |
EnumType.State |
FunctionType |
FunctionTypeBuilder
A builder for
FunctionType and DeclaredFunctionType . |
FunctionTypeBuilder.WrongParameterOrderException |
JSType |
JSTypeCreatorFromJSDoc.FunctionAndSlotType |
JSTypeCreatorFromJSDoc.ParameterKind |
JSTypeCreatorFromJSDoc.ParameterType |
JSTypeCreatorFromJSDoc.UnknownTypeException
Exception for when unrecognized type names are encountered
|
JSTypes
This class contains commonly used types, accessible from the jscomp package.
|
MaskType |
Namespace
An object whose properties can be types (nominal types, enums, typedefs).
|
NominalType |
ObjectKind
Used by NominalType and ObjectType for @struct, @dict and @unrestricted.
|
ObjectType |
PersistentMap
A wrapper around a naive persistent map.
|
PersistentSet
A wrapper around a naive persistent set.
|
Property |
Property.Attribute |
QualifiedName
Represents a qualified name.
|
RawNominalType
Represents a class or interface as defined in the code.
|
RawNominalType.Kind |
SubtypeCache
Used to cut-off recursion when checking structural interfaces for subtyping.
|
Typedef |
Typedef.State |
TypeEnv
A persistent map from variables to abstract values (types)
|
TypeWithProperties
A type that can contain properties,
such as an ObjectType, NominalType, or a Namespace.
|
UniqueNameGenerator
Uses a counter to create unique names for functions, variables, type
variables, etc.
|