Package | Description |
---|---|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Method and Description |
---|---|
DeclaredFunctionType |
FunctionTypeBuilder.buildDeclaration() |
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.
|
static DeclaredFunctionType |
DeclaredFunctionType.meet(Collection<DeclaredFunctionType> toMeet) |
DeclaredFunctionType |
FunctionType.toDeclaredFunctionType() |
DeclaredFunctionType |
DeclaredFunctionType.withTypeInfoFromSuper(DeclaredFunctionType superType) |
Modifier and Type | Method and Description |
---|---|
DeclaredFunctionType |
DeclaredFunctionType.withTypeInfoFromSuper(DeclaredFunctionType superType) |
Modifier and Type | Method and Description |
---|---|
static DeclaredFunctionType |
DeclaredFunctionType.meet(Collection<DeclaredFunctionType> toMeet) |
Copyright © 2009–2018 Google. All rights reserved.