Uses of Class
com.google.javascript.rhino.jstype.FunctionType
-
Packages that use FunctionType Package Description com.google.javascript.jscomp com.google.javascript.rhino com.google.javascript.rhino.jstype -
-
Uses of FunctionType in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return FunctionType Modifier and Type Method Description FunctionTypeSymbolTable.Symbol. getFunctionType()Methods in com.google.javascript.jscomp with parameters of type FunctionType Modifier and Type Method Description voidCodingConvention. applyDelegateRelationship(NominalTypeBuilder delegateSuperclass, NominalTypeBuilder delegateBase, NominalTypeBuilder delegator, ObjectType delegateProxy, FunctionType findDelegate)In many JS libraries, the function that creates a delegate relationship also adds properties to the delegator and delegate base.voidCodingConventions.Proxy. applyDelegateRelationship(NominalTypeBuilder delegateSuperclass, NominalTypeBuilder delegateBase, NominalTypeBuilder delegator, ObjectType delegateProxy, FunctionType findDelegate)voidChromeCodingConvention. applySingletonGetter(NominalTypeBuilder classType, FunctionType getterType)voidClosureCodingConvention. applySingletonGetter(NominalTypeBuilder classType, FunctionType getterType)voidCodingConvention. applySingletonGetter(NominalTypeBuilder classType, FunctionType getterType)In many JS libraries, the function that adds a singleton getter to a class adds properties to the class.voidCodingConventions.Proxy. applySingletonGetter(NominalTypeBuilder classType, FunctionType getterType)SymbolTable.SymbolSymbolTable. getSymbolDeclaredBy(FunctionType fn)Gets the symbol for the given constructor or interface.SymbolTable.SymbolSymbolTable. getSymbolForInstancesOf(FunctionType fn)Gets the symbol for the prototype of the given constructor or interface. -
Uses of FunctionType in com.google.javascript.rhino
Methods in com.google.javascript.rhino that return FunctionType Modifier and Type Method Description FunctionTypeNominalTypeBuilder. constructor()Returns the constructor as a JSType.Constructors in com.google.javascript.rhino with parameters of type FunctionType Constructor Description NominalTypeBuilder(FunctionType constructor, ObjectType instance) -
Uses of FunctionType in com.google.javascript.rhino.jstype
Subclasses of FunctionType in com.google.javascript.rhino.jstype Modifier and Type Class Description classNoObjectTypeThe bottom Object type, representing the subclass of all objects.classNoResolvedTypeAn unresolved type that was forward declared.classNoTypeBottom type, representing the subclass of any value or object.Methods in com.google.javascript.rhino.jstype that return FunctionType Modifier and Type Method Description FunctionTypeJSType. assertFunctionType()Returns this object cast to FunctionType or throws an exception if it isn't a FunctionType.FunctionTypeFunctionType.Builder. build()Constructs a new function type.FunctionTypeFunctionType.Builder. buildAndResolve()FunctionTypeJSTypeRegistry. createConstructorType(java.lang.String name, Node source, java.util.List<FunctionType.Parameter> parameters, JSType returnType, com.google.common.collect.ImmutableList<TemplateType> templateKeys, boolean isAbstract)Creates a constructor function type.FunctionTypeJSTypeRegistry. createFunctionType(JSType returnType, JSType... parameterTypes)Creates a function type.FunctionTypeJSTypeRegistry. createFunctionType(JSType returnType, java.util.List<FunctionType.Parameter> parameters)FunctionTypeJSTypeRegistry. createFunctionTypeWithNewReturnType(FunctionType existingFunctionType, JSType returnType)Creates a new function type based on an existing function type but with a new return type.FunctionTypeJSTypeRegistry. createFunctionTypeWithVarArgs(JSType returnType, JSType... parameterTypes)Creates a function type.FunctionTypeJSTypeRegistry. createInterfaceType(java.lang.String name, Node source, com.google.common.collect.ImmutableList<TemplateType> templateKeys, boolean struct)Creates an interface function type.FunctionTypeFunctionType. forgetParameterAndReturnTypes()Create a new constructor with the parameters and return type stripped.FunctionTypeFunctionType. getBindReturnType(int argsToBind)Get the return value of calling "bind" on this function with the specified number of arguments.FunctionTypeFunctionType. getCanonicalRepresentation()FunctionTypeEnumElementType. getConstructor()FunctionTypeEnumType. getConstructor()FunctionTypeFunctionType. getConstructor()FunctionTypeNoObjectType. getConstructor()abstract FunctionTypeObjectType. getConstructor()Gets this object's constructor.FunctionTypePrototypeObjectType. getConstructor()FunctionTypeProxyObjectType. getConstructor()FunctionTypeUnknownType. getConstructor()FunctionTypeJSTypeRegistry. getNativeFunctionType(JSTypeNative typeId)FunctionTypeObjectType. getOwnerFunction()FunctionTypePrototypeObjectType. getOwnerFunction()FunctionTypeProxyObjectType. getOwnerFunction()FunctionTypeFunctionType. getSuperClassConstructor()Given a constructor or an interface type, get its superclass constructor ornullif none exists.FunctionTypeObjectType. getSuperClassConstructor()FunctionTypeFunctionType. toMaybeFunctionType()FunctionTypeJSType. toMaybeFunctionType()Downcasts this to a FunctionType, or returns null if this is not a function.static FunctionTypeJSType. toMaybeFunctionType(JSType type)Null-safe version of toMaybeFunctionType().FunctionTypeNoObjectType. toMaybeFunctionType()FunctionTypeProxyObjectType. toMaybeFunctionType()Methods in com.google.javascript.rhino.jstype that return types with arguments of type FunctionType Modifier and Type Method Description java.util.List<FunctionType>FunctionType. checkExtendsLoop()check if there is a loop in the type extends chainMethods in com.google.javascript.rhino.jstype with parameters of type FunctionType Modifier and Type Method Description JSTypeTemplateTypeReplacer. caseFunctionType(FunctionType type)TVisitor. caseFunctionType(FunctionType type)Function type's case.TVisitor.WithDefaultCase. caseFunctionType(FunctionType type)FunctionType.BuilderFunctionType.Builder. copyFromOtherFunction(FunctionType otherType)Copies all the information from another function type.FunctionTypeJSTypeRegistry. createFunctionTypeWithNewReturnType(FunctionType existingFunctionType, JSType returnType)Creates a new function type based on an existing function type but with a new return type.booleanFunctionType. hasEqualCallType(FunctionType that)
-