| 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 |
ClosureCodingConvention.AssertInstanceofSpec.getAssertedNewType(Node call,
DeclaredTypeRegistry scope) |
JSType |
ClosureCodingConvention.AssertFunctionByTypeName.getAssertedNewType(Node call,
DeclaredTypeRegistry scope) |
JSType |
CodingConvention.AssertionFunctionSpec.getAssertedNewType(Node call,
DeclaredTypeRegistry scope)
Returns the new type system type for a type assertion.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DeclaredTypeRegistry> |
Namespace.scopes |
| Modifier and Type | Method and Description |
|---|---|
DeclaredTypeRegistry |
Declaration.getFunctionScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
Namespace.addScope(QualifiedName qname,
DeclaredTypeRegistry scope) |
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 |
JSTypeCreatorFromJSDoc.resolveEnum(EnumType e,
DeclaredTypeRegistry registry) |
void |
JSTypeCreatorFromJSDoc.resolveTypedef(Typedef td,
DeclaredTypeRegistry registry) |
| 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.