Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Field and Description |
---|---|
private DeclaredFunctionType |
NTIScope.declaredType |
(package private) DeclaredFunctionType |
GlobalTypeInfo.PropertyDef.methodType |
Modifier and Type | Method and Description |
---|---|
private DeclaredFunctionType |
GlobalTypeInfo.ProcessScope.computeFnDeclaredType(JSDocInfo fnDoc,
java.lang.String functionName,
Node declNode,
RawNominalType ownerType,
NTIScope parentScope) |
private DeclaredFunctionType |
GlobalTypeInfo.ProcessScope.computeFnDeclaredTypeFromCallee(Node declNode,
JSType declaredTypeAsJSType) |
DeclaredFunctionType |
NTIScope.getDeclaredFunctionType() |
private DeclaredFunctionType |
GlobalTypeInfo.ProcessScope.getDeclaredFunctionTypeFromContext(java.lang.String functionName,
Node declNode,
NTIScope parentScope) |
private DeclaredFunctionType |
GlobalTypeInfo.getDeclaredFunctionTypeOfCalleeIfAny(Node fn,
NTIScope currentScope) |
Modifier and Type | Method and Description |
---|---|
private void |
GlobalTypeInfo.ProcessScope.maybeWarnFunctionDeclaration(Node funNode,
DeclaredFunctionType funType) |
(package private) void |
NTIScope.setDeclaredType(DeclaredFunctionType declaredType) |
(package private) void |
GlobalTypeInfo.PropertyDef.updateMethodType(DeclaredFunctionType updatedType) |
Modifier and Type | Method and Description |
---|---|
private void |
GlobalTypeInfo.checkSuperProperty(RawNominalType current,
NominalType superType,
java.lang.String pname,
com.google.common.collect.Multimap<java.lang.String,DeclaredFunctionType> propMethodTypesToProcess,
com.google.common.collect.Multimap<java.lang.String,JSType> propTypesToProcess) |
Constructor and Description |
---|
PropertyDef(Node defSite,
DeclaredFunctionType methodType,
NTIScope methodScope) |
Modifier and Type | Field and Description |
---|---|
DeclaredFunctionType |
JSTypeCreatorFromJSDoc.FunctionAndSlotType.functionType |
Modifier and Type | Method and Description |
---|---|
DeclaredFunctionType |
FunctionTypeBuilder.buildDeclaration() |
DeclaredFunctionType |
DeclaredTypeRegistry.getDeclaredFunctionType()
Get the type of the function that the declared type registry represents.
|
private DeclaredFunctionType |
JSTypeCreatorFromJSDoc.getFunTypeFromTypicalFunctionJsdoc(JSDocInfo jsdoc,
java.lang.String functionName,
Node funNode,
RawNominalType constructorType,
RawNominalType ownerType,
DeclaredTypeRegistry registry,
FunctionTypeBuilder builder) |
(package private) static DeclaredFunctionType |
DeclaredFunctionType.make(java.util.List<JSType> requiredFormals,
java.util.List<JSType> optionalFormals,
JSType restFormals,
JSType retType,
JSType nominalType,
JSType receiverType,
com.google.common.collect.ImmutableList<java.lang.String> typeParameters) |
static DeclaredFunctionType |
DeclaredFunctionType.meet(java.util.Collection<DeclaredFunctionType> toMeet) |
private static DeclaredFunctionType |
DeclaredFunctionType.meet(DeclaredFunctionType f1,
DeclaredFunctionType f2) |
DeclaredFunctionType |
DeclaredFunctionType.substituteNominalGenerics(NominalType nt) |
DeclaredFunctionType |
FunctionType.toDeclaredFunctionType() |
DeclaredFunctionType |
DeclaredFunctionType.withReceiverType(JSType newReceiverType) |
DeclaredFunctionType |
DeclaredFunctionType.withTypeInfoFromSuper(DeclaredFunctionType superType,
boolean getsTypeInfoFromParentMethod) |
Modifier and Type | Method and Description |
---|---|
private static DeclaredFunctionType |
DeclaredFunctionType.meet(DeclaredFunctionType f1,
DeclaredFunctionType f2) |
DeclaredFunctionType |
DeclaredFunctionType.withTypeInfoFromSuper(DeclaredFunctionType superType,
boolean getsTypeInfoFromParentMethod) |
Modifier and Type | Method and Description |
---|---|
static DeclaredFunctionType |
DeclaredFunctionType.meet(java.util.Collection<DeclaredFunctionType> toMeet) |
Constructor and Description |
---|
FunctionAndSlotType(JSType slotType,
DeclaredFunctionType functionType) |