Home
last modified time | relevance | path

Searched refs:contextual (Results 1 – 25 of 214) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
DcontextualSigInstantiationRestParams.symbols12 declare function contextual(...s: string[]): string
13 >contextual : Symbol(contextual, Decl(contextualSigInstantiationRestParams.ts, 0, 54))
16 var sig: typeof contextual = toInstantiate;
18 >contextual : Symbol(contextual, Decl(contextualSigInstantiationRestParams.ts, 0, 54))
DthisTypeInFunctions2.types50 >extend1({ init() { this // this: IndexedWithThis because of contextual typing. //…
52 >{ init() { this // this: IndexedWithThis because of contextual typing. // this.mi…
57 this // this: IndexedWithThis because of contextual typing.
86 …s because of contextual typing this.mine }, mine: 13, foo() { this // this:…
88 …s because of contextual typing this.mine }, mine: 13, foo() { this // this:…
93 this // this: IndexedWithoutThis because of contextual typing
109 this // this: IndexedWithoutThis because of contextual typing
DcontextualSigInstantiationRestParams.types7 declare function contextual(...s: string[]): string
8 >contextual : (...s: string[]) => string
11 var sig: typeof contextual = toInstantiate;
13 >contextual : (...s: string[]) => string
DarrayLiteralExpressionContextualTyping.symbols3 // the type of the property with the numeric name N in the contextual type, if any, or otherwi…
4 // the numeric index type of the contextual type, if any.
8 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
21 …pression at index N is contextually typed by the numeric index type of the contextual type, if any.
DarrayLiteralExpressionContextualTyping.types3 // the type of the property with the numeric name N in the contextual type, if any, or otherwi…
4 // the numeric index type of the contextual type, if any.
12 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
44 …pression at index N is contextually typed by the numeric index type of the contextual type, if any.
DfunctionExpressionContextualTyping1.types3 // is contextually typed (section 4.19) by a type T and a contextual signature S can be extracted f…
10 // A contextual signature S is extracted from a function type T as follows:
54 // A contextual signature S is extracted from a function type T as follows:
126 // A contextual signature S is extracted from a function type T as follows:
127 // Otherwise, no contextual signature can be extracted from T and S is undefined.
166 }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
167 b7 = (j, m) => { }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
193 } // Per spec, no contextual signature can be extracted in this case.
DcontextualSigInstantiationRestParams.js3 declare function contextual(...s: string[]): string
5 var sig: typeof contextual = toInstantiate;
DthisTypeInFunctions2.errors.txt29 this // this: IndexedWithThis because of contextual typing.
41 this // this: IndexedWithoutThis because of contextual typing
46 this // this: IndexedWithoutThis because of contextual typing
DthisTypeInAccessorsNegative.js14 const contextual: Foo = { variable
26 var contextual = { variable
DobjectLiteralContextualTyping.errors.txt6 … // the type of the property with a matching name in the contextual type, if any, or otherwise
7 …// for a numerically named property, the numeric index type of the contextual type, if any, o…
8 // the string index type of the contextual type, if any.
DfunctionExpressionContextualTyping1.symbols3 // is contextually typed (section 4.19) by a type T and a contextual signature S can be extracted f…
10 // A contextual signature S is extracted from a function type T as follows:
51 // A contextual signature S is extracted from a function type T as follows:
107 // A contextual signature S is extracted from a function type T as follows:
108 // Otherwise, no contextual signature can be extracted from T and S is undefined.
137 }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
138 b7 = (j, m) => { }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
167 } // Per spec, no contextual signature can be extracted in this case.
DarrayLiteralExpressionContextualTyping.errors.txt13 …// the type of the property with the numeric name N in the contextual type, if any, or otherw…
14 // the numeric index type of the contextual type, if any.
16 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
31 …pression at index N is contextually typed by the numeric index type of the contextual type, if any.
DthisTypeInAccessorsNegative.symbols40 const contextual: Foo = {
41 >contextual : Symbol(contextual, Decl(thisTypeInAccessorsNegative.ts, 12, 5))
DobjectLiteralContextualTyping.types3 // the type of the property with a matching name in the contextual type, if any, or otherwise
4 // for a numerically named property, the numeric index type of the contextual type, if any, or…
5 // the string index type of the contextual type, if any.
DthisTypeInAccessorsNegative.types38 const contextual: Foo = {
39 >contextual : Foo
DobjectLiteralContextualTyping.symbols3 // the type of the property with a matching name in the contextual type, if any, or otherwise
4 // for a numerically named property, the numeric index type of the contextual type, if any, or…
5 // the string index type of the contextual type, if any.
DinferentiallyTypingAnEmptyArray.types3 // In the absence of a contextual type, the type of an array literal is C[], where C is the
13 // though there is a "contextual type" present. This is the intention, even though the spec
DinferentiallyTypingAnEmptyArray.symbols3 // In the absence of a contextual type, the type of an array literal is C[], where C is the
13 // though there is a "contextual type" present. This is the intention, even though the spec
DfunctionExpressionContextualTyping2.symbols2 // A contextual signature S is extracted from a function type T as follows:
8 // Otherwise, no contextual signature can be extracted from T and S is undefined.
DfunctionExpressionContextualTyping2.types2 // A contextual signature S is extracted from a function type T as follows:
8 // Otherwise, no contextual signature can be extracted from T and S is undefined.
DarrayLiteralContextualType.types53 ]); // Legal because of the contextual type IAnimal provided by the parameter
67 ]); // Legal because of the contextual type IAnimal provided by the parameter
DcallSignatureAssignabilityInInheritance3.types2 // checking subtype relations for function types as it relates to contextual signature instantiation
133 …a2: <T, U>(x: T) => U[]; // error, contextual signature instantiation doesn't relate return types …
139 … a2: (x: T) => U[]; // error, no contextual signature instantiation since I2.a2 is not generic
165 …ived>(...x: T[]) => T; // valid, parameter covariance works even after contextual signature instan…
171 … valid, even though x is a Base, parameter covariance works even after contextual signature instan…
DconstructSignatureAssignabilityInInheritance3.types2 // checking subtype relations for function types as it relates to contextual signature instantiation
109 …a2: new <T, U>(x: T) => U[]; // error, contextual signature instantiation doesn't relate return ty…
115 … a2: new (x: T) => U[]; // error, no contextual signature instantiation since I2.a2 is not generic
141 …ived>(...x: T[]) => T; // valid, parameter covariance works even after contextual signature instan…
147 … valid, even though x is a Base, parameter covariance works even after contextual signature instan…
/third_party/typescript/tests/cases/compiler/
DcontextualSigInstantiationRestParams.ts2 declare function contextual(...s: string[]): string
4 var sig: typeof contextual = toInstantiate;
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DCanonGSUBBuilder.java81 int contextual = record.getCodePoint(); in buildArabicContextualForms() local
86 initClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
90 mediClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
94 finaClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
98 isolClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()

123456789