Home
last modified time | relevance | path

Searched refs:typeParameters (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DtypeParameterIndirectlyConstrainedToItself.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
7 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
8 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
9 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
10 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedT…
[all …]
DcallGenericFunctionWithIncorrectNumberOfTypeArguments.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
5 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
7 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
8 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
9 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
10 tests/cases/conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumb…
[all …]
DtypeParameterDirectlyConstrainedToItself.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
7 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
8 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
9 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
10 tests/cases/conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToI…
[all …]
DcallNonGenericFunctionWithTypeArguments.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
5 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
7 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
8 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
9 tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArgume…
12 ==== tests/cases/conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeA…
DtypesWithDuplicateTypeParameters.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts…
9 ==== tests/cases/conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParamete…
DunspecializedConstraints.types290 …constructor(public typeParameters: TypeParameter[], public parameters: Parameter[], public returnT…
291 >typeParameters : any[]
304typeParameters.length === other.typeParameters.length && arrayEquals(this.parameter…
305 …h === other.parameters.length && this.typeParameters.length === other.typeParameter…
306 …h === other.parameters.length && this.typeParameters.length === other.typeParameter…
319 this.typeParameters.length === other.typeParameters.length &&
320 >this.typeParameters.length === other.typeParameters.length : boolean
321 >this.typeParameters.length : number
322 >this.typeParameters : any[]
324 >typeParameters : any[]
[all …]
DstaticMembersUsingClassTypeParameter.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParamete…
9 ==== tests/cases/conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypePar…
DtypeParameterAsTypeParameterConstraint2.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
5 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstrai…
11 ==== tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterCon…
36 !!! related TS6500 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTy…
40 !!! related TS6500 tests/cases/conformance/types/typeParameters/typeArgumentLists/typeParameterAsTy…
DunspecializedConstraints.js85 …constructor(public typeParameters: TypeParameter[], public parameters: Parameter[], public returnT…
90 this.typeParameters.length === other.typeParameters.length &&
92 arrayEquals(this.typeParameters, other.typeParameters);
266 function Signature(typeParameters, parameters, returnType) { argument
268 _this.typeParameters = typeParameters;
275 this.typeParameters.length === other.typeParameters.length &&
277 arrayEquals(this.typeParameters, other.typeParameters);
DfunctionConstraintSatisfaction2.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(5…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(6…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(7…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
9 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
11 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
13 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
14 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(2…
16 tests/cases/conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts(3…
[all …]
DinstantiateNonGenericTypeWithTypeArguments.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTypeArg…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTypeArg…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTypeArg…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTypeArg…
7 ==== tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTy…
DtypeParameterAsBaseType.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterAsBaseType.ts(4,20): error TS2304: Cannot…
2 tests/cases/conformance/types/typeParameters/typeParameterAsBaseType.ts(5,24): error TS2304: Cannot…
3 tests/cases/conformance/types/typeParameters/typeParameterAsBaseType.ts(7,24): error TS2312: An int…
4 tests/cases/conformance/types/typeParameters/typeParameterAsBaseType.ts(8,28): error TS2312: An int…
7 ==== tests/cases/conformance/types/typeParameters/typeParameterAsBaseType.ts (4 errors) ====
DpropertyAccessOnTypeParameterWithConstraints5.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
9 ==== tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterW…
DpropertyAccessOnTypeParameterWithConstraints4.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithCo…
7 ==== tests/cases/conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterW…
DunspecializedConstraints.symbols259 …constructor(public typeParameters: TypeParameter[], public parameters: Parameter[], public returnT…
260 >typeParameters : Symbol(Signature.typeParameters, Decl(unspecializedConstraints.ts, 83, 20))
286 this.typeParameters.length === other.typeParameters.length &&
287 >this.typeParameters.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
288 >this.typeParameters : Symbol(Signature.typeParameters, Decl(unspecializedConstraints.ts, 83, 20))
290 >typeParameters : Symbol(Signature.typeParameters, Decl(unspecializedConstraints.ts, 83, 20))
292 >other.typeParameters.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
293 >other.typeParameters : Symbol(Signature.typeParameters, Decl(unspecializedConstraints.ts, 83, 20))
295 >typeParameters : Symbol(Signature.typeParameters, Decl(unspecializedConstraints.ts, 83, 20))
307 arrayEquals(this.typeParameters, other.typeParameters);
[all …]
DinstantiateGenericClassWithWrongNumberOfTypeArguments.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateGenericClassWithWrongNumb…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateGenericClassWithWrongNumb…
5 ==== tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiateGenericClassWithWron…
DunspecializedConstraints.errors.txt88 …constructor(public typeParameters: TypeParameter[], public parameters: Parameter[], public returnT…
95 this.typeParameters.length === other.typeParameters.length &&
97 arrayEquals(this.typeParameters, other.typeParameters);
/third_party/typescript/src/services/refactors/
DextractType.ts83 …isJS: boolean; selection: TypeNode; firstStatement: Statement; typeParameters: readonly TypeParame… property
87 …isJS: boolean; selection: TypeNode; firstStatement: Statement; typeParameters: readonly TypeParame… property
105 const typeParameters = collectTypeParameters(checker, selection, firstStatement, file); constant
106 …if (!typeParameters) return { error: getLocaleSpecificMessage(Diagnostics.No_type_could_be_extract…
109 return { isJS, selection, firstStatement, typeParameters, typeElements };
191 const { firstStatement, selection, typeParameters } = info; constant
197typeParameters.map(id => factory.updateTypeParameterDeclaration(id, id.name, id.constraint, /* def…
201 …changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map(id =…
205 const { firstStatement, selection, typeParameters, typeElements } = info; constant
211 typeParameters,
[all …]
DconvertOverloadListToSingleSignature.ts45 lastDeclaration.typeParameters,
59 lastDeclaration.typeParameters,
69 lastDeclaration.typeParameters,
88 lastDeclaration.typeParameters,
101 lastDeclaration.typeParameters,
212 …if (some(signatureDecls, d => !!d.typeParameters || some(d.parameters, p => !!p.decorators || !!p.…
/third_party/glslang/glslang/Include/
DTypes.h1508 TArraySizes* typeParameters; variable
1529 typeParameters = nullptr; in initType()
1591 …ySizes(nullptr), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(nullptr) in POOL_ALLOCATOR_NEW_DELETE()
1605 …ySizes(nullptr), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(nullptr) in basicType()
1621 …Sizes), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(p.typeParameters) in TType()
1640 … if (p.isCoopmat() && p.typeParameters && p.typeParameters->getNumDims() > 0) { in TType()
1641 int numBits = p.typeParameters->getDimSize(0); in TType()
1658 sampler(sampler), typeParameters(nullptr) in basicType()
1704 typeParameters = nullptr;
1711 … arraySizes(nullptr), structure(userDef), fieldName(nullptr), typeParameters(nullptr) in TType()
[all …]
/third_party/typescript/src/services/codefixes/
Dhelpers.ts173 let typeParameters = signatureDeclaration.typeParameters;
177 if (typeParameters) {
178 const newTypeParameters = sameMap(typeParameters, typeParameterDecl => {
202 if (typeParameters !== newTypeParameters) {
203typeParameters = setTextRange(factory.createNodeArray(newTypeParameters, typeParameters.hasTrailin…
243 typeParameters,
278 const typeParameters = isJs || typeArguments === undefined constant
294 typeParameters,
305 typeParameters,
395 typeParameters: readonly TypeParameterDeclaration[] | undefined,
[all …]
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts601 …function createBaseGenericNamedDeclaration<T extends NamedDeclaration & { typeParameters?: NodeArr…
606 typeParameters: readonly TypeParameterDeclaration[] | undefined
614 node.typeParameters = asNodeArray(typeParameters);
615 node.transformFlags |= propagateChildrenFlags(node.typeParameters);
616 if (typeParameters) node.transformFlags |= TransformFlags.ContainsTypeScript;
625 typeParameters: readonly TypeParameterDeclaration[] | undefined,
634 typeParameters
656 typeParameters: readonly TypeParameterDeclaration[] | undefined,
666 typeParameters,
688 typeParameters: readonly TypeParameterDeclaration[] | undefined,
[all …]
/third_party/typescript/tests/cases/compiler/
DunspecializedConstraints.ts84 …constructor(public typeParameters: TypeParameter[], public parameters: Parameter[], public returnT… property in Signature
89 this.typeParameters.length === other.typeParameters.length &&
91 arrayEquals(this.typeParameters, other.typeParameters);
/third_party/typescript/src/deprecatedCompat/
Ddeprecations.ts168 typeParameters: readonly TypeParameterDeclaration[] | undefined,
172 …return factory.createConstructorTypeNode(/*modifiers*/ undefined, typeParameters, parameters, type…
178 typeParameters: NodeArray<TypeParameterDeclaration> | undefined,
182 … return factory.updateConstructorTypeNode(node, node.modifiers, typeParameters, parameters, type);
999 typeParameters: readonly TypeParameterDeclaration[] | undefined,
1005 ….createMethodSignature(/*modifiers*/ undefined, name, questionToken, typeParameters, parameters, t…
1011 typeParameters: NodeArray<TypeParameterDeclaration> | undefined,
1017 …ory.updateMethodSignature(node, node.modifiers, name, questionToken, typeParameters, parameters, t…
1103 typeParameters: readonly TypeParameterDeclaration[] | undefined,
1107 …ory.createClassExpression(/*decorators*/ undefined, modifiers, name, typeParameters, heritageClaus…
[all …]
/third_party/typescript/src/services/
DsignatureHelp.ts564 const typeParameters = checker.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol); constant
565 if (!typeParameters) return undefined;
566 …const items = [getTypeHelpItem(symbol, typeParameters, checker, getEnclosingDeclarationFromInvocat…
570 …function getTypeHelpItem(symbol: Symbol, typeParameters: readonly TypeParameter[], checker: TypeCh…
574 …const parameters = typeParameters.map(t => createSignatureHelpParameterForTypeParameter(t, checker…
612 const typeParameters = (candidateSignature.target || candidateSignature).typeParameters; constant
614 …const parameters = (typeParameters || emptyArray).map(t => createSignatureHelpParameterForTypePara…
630 if (candidateSignature.typeParameters && candidateSignature.typeParameters.length) {
631 …const args = factory.createNodeArray(candidateSignature.typeParameters.map(p => checker.typeParame…

123456