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 |
---|---|
void |
ClosureCodingConvention.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
void |
CodingConvention.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
void |
CodingConventions.Proxy.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
Modifier and Type | Method and Description |
---|---|
RawNominalType |
NominalType.getId() |
RawNominalType |
Declaration.getNominal() |
RawNominalType |
NominalType.getRawNominalType() |
static RawNominalType |
RawNominalType.makeDictClass(Node defSite,
String name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeNominalInterface(Node defSite,
String name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeStructClass(Node defSite,
String name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeStructuralInterface(Node defSite,
String name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeUnrestrictedClass(Node defSite,
String name,
com.google.common.collect.ImmutableList<String> typeParameters) |
Modifier and Type | Method and Description |
---|---|
void |
Namespace.copyWindowProperties(JSTypes commonTypes,
RawNominalType win) |
JSType |
JSTypeCreatorFromJSDoc.getDeclaredTypeOfNode(JSDocInfo jsdoc,
RawNominalType ownerType,
DeclaredTypeRegistry registry) |
JSTypeCreatorFromJSDoc.FunctionAndSlotType |
JSTypeCreatorFromJSDoc.getFunctionType(JSDocInfo jsdoc,
String functionName,
Node declNode,
RawNominalType constructorType,
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.
|
void |
JSTypes.setArgumentsType(RawNominalType arguments) |
void |
JSTypes.setArrayType(RawNominalType arrayType) |
void |
JSTypes.setFunctionType(RawNominalType builtinFunction) |
void |
JSTypes.setIObjectType(RawNominalType iObject) |
void |
JSTypes.setObjectType(RawNominalType builtinObject) |
Copyright © 2009–2023 Google. All rights reserved.