Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferFromOverriddenFunction(FunctionType oldType,
Node paramsParent)
Infer the parameter and return types of a function from
the parameter and return types of the function it is overriding.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferInheritance(JSDocInfo info)
Infer the role of the function (whether it's a constructor or interface)
and what it inherits from in JSDocInfo.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferParameterTypes(JSDocInfo info)
Infer the parameter types from the doc info alone.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferParameterTypes(Node argsParent,
JSDocInfo info)
Infer the parameter types from the list of argument names and
the doc info.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferReturnType(JSDocInfo info,
boolean fromInlineDoc)
Infer the return type from JSDocInfo.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferTemplateTypeName(JSDocInfo info,
JSType ownerType)
Infer the template type from the doc info.
|
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferThisType(JSDocInfo info)
Infers the type of
this . |
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.inferThisType(JSDocInfo info,
JSType type)
Infers the type of
this . |
(package private) FunctionTypeBuilder |
FunctionTypeBuilder.setContents(FunctionTypeBuilder.FunctionContents contents)
Sets the contents of this function.
|