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.jstype |
Provides abstractions to represent types in JavaScript.
|
com.google.javascript.rhino.testing |
Modifier and Type | Method and Description |
---|---|
abstract JSTypeRegistry |
AbstractCompiler.getTypeRegistry()
Gets a central registry of type information from the compiled JS.
|
JSTypeRegistry |
Compiler.getTypeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
CodingConvention.defineDelegateProxyPrototypeProperties(JSTypeRegistry registry,
StaticTypedScope<JSType> scope,
List<ObjectType> delegateProxyPrototypes,
Map<String,String> delegateCallingConventions)
Defines the delegate proxy prototype properties.
|
void |
CodingConventions.Proxy.defineDelegateProxyPrototypeProperties(JSTypeRegistry registry,
StaticTypedScope<JSType> scope,
List<ObjectType> delegateProxyPrototypes,
Map<String,String> delegateCallingConventions) |
JSType |
ClosureCodingConvention.AssertInstanceofSpec.getAssertedOldType(Node call,
JSTypeRegistry registry)
Returns the type for a type assertion, or null if the function asserts
that the node must not be null or undefined.
|
JSType |
ClosureCodingConvention.AssertFunctionByTypeName.getAssertedOldType(Node call,
JSTypeRegistry registry) |
JSType |
CodingConvention.AssertionFunctionSpec.getAssertedOldType(Node call,
JSTypeRegistry registry)
Returns the old type system type for a type assertion, or null if
the function asserts that the node must not be null or undefined.
|
Constructor and Description |
---|
TypeCheck(AbstractCompiler compiler,
ReverseAbstractInterpreter reverseInterpreter,
JSTypeRegistry typeRegistry,
CheckLevel reportMissingOverride) |
TypeCheck(AbstractCompiler compiler,
ReverseAbstractInterpreter reverseInterpreter,
JSTypeRegistry typeRegistry,
TypedScope topScope,
com.google.javascript.jscomp.MemoizedScopeCreator scopeCreator,
CheckLevel reportMissingOverride) |
Constructor and Description |
---|
ChainableReverseAbstractInterpreter(JSTypeRegistry typeRegistry)
Constructs an interpreter, which is the only link in a chain.
|
ClosureReverseAbstractInterpreter(JSTypeRegistry typeRegistry) |
SemanticReverseAbstractInterpreter(JSTypeRegistry typeRegistry)
Creates a semantic reverse abstract interpreter.
|
Constructor and Description |
---|
FunctionBuilder(JSTypeRegistry registry) |
FunctionParamBuilder(JSTypeRegistry registry) |
ModificationVisitor(JSTypeRegistry registry,
boolean visitProperties) |
RecordTypeBuilder(JSTypeRegistry registry) |
TemplateTypeMapReplacer(JSTypeRegistry registry,
TemplateTypeMap replacements) |
UnionTypeBuilder(JSTypeRegistry registry) |
Modifier and Type | Field and Description |
---|---|
protected JSTypeRegistry |
BaseJSTypeTestCase.registry |
Modifier and Type | Method and Description |
---|---|
static void |
BaseJSTypeTestCase.addNativeProperties(JSTypeRegistry registry)
Adds a basic set of properties to the native types.
|
Copyright © 2009–2023 Google. All rights reserved.