Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Method and Description |
---|---|
JSType |
CodingConvention.AssertionFunctionSpec.getAssertedNewType(Node call,
DeclaredTypeRegistry scope)
Returns the new type system type for a type assertion.
|
JSType |
ClosureCodingConvention.AssertInstanceofSpec.getAssertedNewType(Node call,
DeclaredTypeRegistry scope) |
JSType |
ClosureCodingConvention.AssertFunctionByTypeName.getAssertedNewType(Node call,
DeclaredTypeRegistry scope) |
Modifier and Type | Method and Description |
---|---|
DeclaredFunctionType |
JSTypeCreatorFromJSDoc.getFunctionType(JSDocInfo jsdoc,
String functionName,
Node declNode,
NominalType.RawNominalType constructorType,
NominalType.RawNominalType ownerType,
DeclaredTypeRegistry registry)
Consumes either a "classic" function jsdoc with @param, @return, etc,
or a jsdoc with @type{function ...} and finds the types of the formal
parameters and the return value.
|
JSType |
JSTypeCreatorFromJSDoc.getNodeTypeDeclaration(JSDocInfo jsdoc,
NominalType.RawNominalType ownerType,
DeclaredTypeRegistry registry) |
void |
JSTypeCreatorFromJSDoc.resolveEnum(EnumType e,
DeclaredTypeRegistry registry) |
void |
JSTypeCreatorFromJSDoc.resolveTypedef(Typedef td,
DeclaredTypeRegistry registry) |
Copyright © 2009–2018 Google. All rights reserved.