| 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 |
CodingConventions.Proxy.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
void |
ClosureCodingConvention.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
void |
CodingConvention.applySingletonGetterNew(RawNominalType rawType,
JSType getInstanceType,
JSType instanceType) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,RawNominalType> |
Namespace.nominals |
| Modifier and Type | Method and Description |
|---|---|
RawNominalType |
NominalType.getId() |
RawNominalType |
Declaration.getNominal() |
RawNominalType |
NominalType.getRawNominalType() |
static RawNominalType |
RawNominalType.makeDictClass(Node defSite,
QualifiedName name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeInterface(Node defSite,
QualifiedName name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeStructClass(Node defSite,
QualifiedName name,
com.google.common.collect.ImmutableList<String> typeParameters) |
static RawNominalType |
RawNominalType.makeUnrestrictedClass(Node defSite,
QualifiedName name,
com.google.common.collect.ImmutableList<String> typeParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
Namespace.addNominalType(QualifiedName qname,
RawNominalType rawNominalType) |
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.setObjectType(RawNominalType builtinObject) |
| Constructor and Description |
|---|
Declaration(JSType simpleType,
Typedef typedef,
NamespaceLit namespaceLit,
EnumType enumType,
DeclaredTypeRegistry functionScope,
RawNominalType nominal,
boolean isTypeVar,
boolean isConstant,
boolean isForwardDeclaration) |
Copyright © 2009-2015 Google. All Rights Reserved.