Home
last modified time | relevance | path

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

1234567

/third_party/typescript/src/deprecatedCompat/4.8/
DmergeDecoratorsAndModifiers.ts82 …me: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly Type…
86 …fined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly Type…
130 …donly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly Type…
134 …iers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly Type…
138 …n: AsteriskToken | undefined, name: string | Identifier | undefined, typeParameters: readonly Type…
142 …eriskToken: AsteriskToken | undefined, name: Identifier | undefined, typeParameters: readonly Type…
146 …donly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly Type…
150 …iers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly Type…
154 …difiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly Type…
158 …fined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly Type…
[all …]
/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…
DinstantiationExpressionErrors.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(7,1…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(8,1…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(13,…
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(13,…
5 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(18,…
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(18,…
7 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(18,…
8 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(19,…
9 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(23,…
10 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressionErrors.ts(26,…
[all …]
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 : TypeParameter[]
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 : TypeParameter[]
324 >typeParameters : TypeParameter[]
[all …]
DvarianceAnnotationsWithCircularlyReferencesError.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
2 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
3 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
4 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
6 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
7 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircularlyRe…
10 ==== tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotationsWithCircula…
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);
DvarianceAnnotations.errors.txt1 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(9,1): error …
3 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(18,1): error…
5 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(28,1): error…
10 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(29,1): error…
13 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(33,10): erro…
14 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(34,10): erro…
15 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(35,10): erro…
16 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(35,17): erro…
17 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(36,10): erro…
18 tests/cases/conformance/types/typeParameters/typeParameterLists/varianceAnnotations.ts(40,17): erro…
[all …]
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…
DinstantiationExpressions.errors.txt1 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(6,16): e…
2 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(9,17): e…
3 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(12,21): …
4 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(15,22): …
5 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(18,21): …
6 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(20,22): …
7 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(23,24): …
8 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(25,25): …
9 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(50,16): …
10 tests/cases/conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts(82,16): …
[all …]
/third_party/typescript/src/deprecatedCompat/4.2/
DabstractConstructorTypes.ts9 …createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, paramet…
12 …updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclar…
23 …0(modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] …
24 return createConstructorTypeNode(modifiers, typeParameters, parameters, type);
27 …1(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterD…
28 … return createConstructorTypeNode(/*modifiers*/ undefined, typeParameters, parameters, type);
42 …de: ConstructorTypeNode, modifiers: readonly Modifier[] | undefined, typeParameters: NodeArray<Typ…
43 … return updateConstructorTypeNode(node, modifiers, typeParameters, parameters, type);
46 …1(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, para…
47 … return updateConstructorTypeNode(node, node.modifiers, typeParameters, parameters, type);
/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 };
200 const { firstStatement, selection, typeParameters } = info; constant
205typeParameters.map(id => factory.updateTypeParameterDeclaration(id, id.modifiers, id.name, id.cons…
209 …changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map(id =…
213 const { firstStatement, selection, typeParameters, typeElements } = info; constant
218 typeParameters,
[all …]
/third_party/glslang/glslang/Include/
DTypes.h1462 TTypeParameters* typeParameters; variable
1479 typeParameters = nullptr; in initType()
1542 …Sizes(nullptr), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(nullptr), in POOL_ALLOCATOR_NEW_DELETE()
1558 …Sizes(nullptr), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(nullptr), in basicType()
1576 …izes), structure(nullptr), fieldName(nullptr), typeName(nullptr), typeParameters(p.typeParameters), in TType()
1593 … if (p.isCoopmatNV() && p.typeParameters && p.typeParameters->arraySizes->getNumDims() > 0) { in TType()
1594 int numBits = p.typeParameters->arraySizes->getDimSize(0); in TType()
1612 … if (p.isCoopmatKHR() && p.typeParameters && p.typeParameters->arraySizes->getNumDims() > 0) { in TType()
1613 basicType = p.typeParameters->basicType; in TType()
1615 if (p.typeParameters->arraySizes->getNumDims() == 4) { in TType()
[all …]
/third_party/typescript/src/services/codefixes/
Dhelpers.ts241 let typeParameters = signatureDeclaration.typeParameters;
245 if (typeParameters) {
246 const newTypeParameters = sameMap(typeParameters, typeParameterDecl => {
271 if (typeParameters !== newTypeParameters) {
272typeParameters = setTextRange(factory.createNodeArray(newTypeParameters, typeParameters.hasTrailin…
307 …rs, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, t…
310 …return factory.updateArrowFunction(signatureDeclaration, modifiers, typeParameters, parameters, ty…
313 … asteriskToken, name ?? factory.createIdentifier(""), questionToken, typeParameters, parameters, t…
316 …rs, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, t…
351 …const typeParameters = isJs ? undefined : createTypeParametersForArguments(checker, argumentTypePa…
[all …]
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts638 …function createBaseGenericNamedDeclaration<T extends NamedDeclaration & { typeParameters?: NodeArr…
642 typeParameters: readonly TypeParameterDeclaration[] | undefined
649 node.typeParameters = asNodeArray(typeParameters);
650 node.transformFlags |= propagateChildrenFlags(node.typeParameters);
651 if (typeParameters) node.transformFlags |= TransformFlags.ContainsTypeScript;
659 typeParameters: readonly TypeParameterDeclaration[] | undefined,
667 typeParameters
693 typeParameters: readonly TypeParameterDeclaration[] | undefined,
702 typeParameters,
716 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);

1234567