Home
last modified time | relevance | path

Searched refs:Contextual (Results 1 – 25 of 42) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DbestCommonTypeWithContextualTyping.symbols2 interface Contextual {
3 >Contextual : Symbol(Contextual, Decl(bestCommonTypeWithContextualTyping.ts, 0, 0))
6 >dummy : Symbol(Contextual.dummy, Decl(bestCommonTypeWithContextualTyping.ts, 0, 22))
9 >p : Symbol(Contextual.p, Decl(bestCommonTypeWithContextualTyping.ts, 1, 10))
27 // always use Ellement in these examples (not Contextual). Because Ellement is assignable
28 // to Contextual, no errors.
29 var arr: Contextual[] = [e]; // Ellement[]
31 >Contextual : Symbol(Contextual, Decl(bestCommonTypeWithContextualTyping.ts, 0, 0))
34 var obj: { [s: string]: Contextual } = { s: e }; // { s: Ellement; [s: string]: Ellement }
37 >Contextual : Symbol(Contextual, Decl(bestCommonTypeWithContextualTyping.ts, 0, 0))
[all …]
DbestCommonTypeWithContextualTyping.types2 interface Contextual {
22 // always use Ellement in these examples (not Contextual). Because Ellement is assignable
23 // to Contextual, no errors.
24 var arr: Contextual[] = [e]; // Ellement[]
25 >arr : Contextual[]
29 var obj: { [s: string]: Contextual } = { s: e }; // { s: Ellement; [s: string]: Ellement }
30 >obj : { [s: string]: Contextual; }
36 var conditional: Contextual = null ? e : e; // Ellement
37 >conditional : Contextual
43 var contextualOr: Contextual = e || e; // Ellement
[all …]
DnonContextuallyTypedLogicalOr.symbols2 interface Contextual {
3 >Contextual : Symbol(Contextual, Decl(nonContextuallyTypedLogicalOr.ts, 0, 0))
6 >dummy : Symbol(Contextual.dummy, Decl(nonContextuallyTypedLogicalOr.ts, 0, 22))
9 >p : Symbol(Contextual.p, Decl(nonContextuallyTypedLogicalOr.ts, 1, 10))
22 var c: Contextual;
24 >Contextual : Symbol(Contextual, Decl(nonContextuallyTypedLogicalOr.ts, 0, 0))
DnonContextuallyTypedLogicalOr.types2 interface Contextual {
18 var c: Contextual;
19 >c : Contextual
26 >(c || e) : Contextual | Ellement
27 >c || e : Contextual | Ellement
28 >c : Contextual
DbestCommonTypeWithContextualTyping.js2 interface Contextual {
17 var arr: Contextual[] = [e]; // Ellement[]
18 var obj: { [s: string]: Contextual } = { s: e }; // { s: Ellement; [s: string]: Ellement }
20 var conditional: Contextual = null ? e : e; // Ellement
21 var contextualOr: Contextual = e || e; // Ellement
DthisTypeInAccessors.js33 class Contextual { class
72 var Contextual = /** @class */ (function () {
73 function Contextual() { class in Contextual
76 Object.defineProperty(Contextual.prototype, "x", {
82 return Contextual;
DthisTypeInAccessors.symbols128 class Contextual {
129 >Contextual : Symbol(Contextual, Decl(thisTypeInAccessors.ts, 30, 1))
132 >n : Symbol(Contextual.n, Decl(thisTypeInAccessors.ts, 31, 18))
135 >x : Symbol(Contextual.x, Decl(thisTypeInAccessors.ts, 32, 11))
136 >this.n : Symbol(Contextual.n, Decl(thisTypeInAccessors.ts, 31, 18))
137 >this : Symbol(Contextual, Decl(thisTypeInAccessors.ts, 30, 1))
138 >n : Symbol(Contextual.n, Decl(thisTypeInAccessors.ts, 31, 18))
DnonContextuallyTypedLogicalOr.js2 interface Contextual {
12 var c: Contextual;
DarrayLiterals.errors.txt30 …// Contextual type C with numeric index signature makes array literal of EveryType E of type BCT(E…
42 …// Contextual type C with numeric index signature of type Base makes array literal of Derived have…
48 …// Contextual type C with numeric index signature of type Base makes array literal of Derived1 and…
DthisTypeInAccessors.types133 class Contextual {
134 >Contextual : Contextual
DarrayLiterals.types78 // Contextual type C with numeric index signature makes array literal of EveryType E of type BCT(E,…
118 // Contextual type C with numeric index signature of type Base makes array literal of Derived have …
141 // Contextual type C with numeric index signature of type Base makes array literal of Derived1 and …
DarrayLiterals.symbols44 // Contextual type C with numeric index signature makes array literal of EveryType E of type BCT(E,…
66 // Contextual type C with numeric index signature of type Base makes array literal of Derived have …
87 // Contextual type C with numeric index signature of type Base makes array literal of Derived1 and …
DarrayLiteralExpressionContextualTyping.symbols8 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
DarrayLiteralExpressionContextualTyping.types12 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
DthisTypeInAccessors.errors.txt59 class Contextual {
DarrayLiteralExpressionContextualTyping.errors.txt16 var array1 = [true, 2, 3]; // Contextual type by the numeric index type of the contextual type
DparenthesizedContexualTyping3.types2 // Contextual typing for parenthesized substitution expressions in tagged templates.
DparenthesizedContexualTyping3.symbols2 // Contextual typing for parenthesized substitution expressions in tagged templates.
/third_party/typescript/tests/cases/compiler/
DbestCommonTypeWithContextualTyping.ts1 interface Contextual { interface
16 var arr: Contextual[] = [e]; // Ellement[]
17 var obj: { [s: string]: Contextual } = { s: e }; // { s: Ellement; [s: string]: Ellement }
19 var conditional: Contextual = null ? e : e; // Ellement
20 var contextualOr: Contextual = e || e; // Ellement
DnonContextuallyTypedLogicalOr.ts1 interface Contextual { interface
11 var c: Contextual;
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-unsafe-assignment.ts14 Contextual, enumerator
232 comparisonType === ComparisonType.Contextual
/third_party/typescript/tests/cases/conformance/types/thisType/
DthisTypeInAccessors.ts35 class Contextual { class
/third_party/typescript/src/services/
DsignatureHelp.ts3 const enum InvocationKind { Call, TypeArgs, Contextual } enumerator
7 readonly kind: InvocationKind.Contextual;
95 case InvocationKind.Contextual:
120 if (argumentInfo.invocation.kind === InvocationKind.Contextual) return undefined;
313 …const invocation: ContextualInvocation = { kind: InvocationKind.Contextual, signature: first(signa…
513 …const callTargetSymbol = invocation.kind === InvocationKind.Contextual ? invocation.symbol : (type…
/third_party/harfbuzz/src/
Dhb-aat-layout-morx-table.hh880 Contextual = 1, enumerator
893 case Contextual: return_trace (c->dispatch (u.contextual, hb_forward<Ts> (ds)...)); in dispatch()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-morx-table.hh880 Contextual = 1, enumerator
893 case Contextual: return_trace (c->dispatch (u.contextual, hb_forward<Ts> (ds)...)); in dispatch()

12