Home
last modified time | relevance | path

Searched refs:rest2 (Results 1 – 19 of 19) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DdestructuringUnspreadableIntoRest.js17 const { ...rest2 } = this as A;
22 rest2.publicProp;
27 rest2.privateProp;
32 rest2.protectedProp;
37 rest2.getter;
42 rest2.setter;
47 rest2.method;
55 const { ...rest2 } = x as A;
60 rest2.publicProp;
65 rest2.privateProp;
[all …]
DdestructuringUnspreadableIntoRest.symbols34 const { ...rest2 } = this as A;
35 >rest2 : Symbol(rest2, Decl(destructuringUnspreadableIntoRest.ts, 15, 15))
57 rest2.publicProp;
58 >rest2.publicProp : Symbol(A.publicProp, Decl(destructuringUnspreadableIntoRest.ts, 1, 16))
59 >rest2 : Symbol(rest2, Decl(destructuringUnspreadableIntoRest.ts, 15, 15))
71 rest2.privateProp;
72 >rest2 : Symbol(rest2, Decl(destructuringUnspreadableIntoRest.ts, 15, 15))
83 rest2.protectedProp;
84 >rest2 : Symbol(rest2, Decl(destructuringUnspreadableIntoRest.ts, 15, 15))
95 rest2.getter;
[all …]
DdestructuringUnspreadableIntoRest.types35 const { ...rest2 } = this as A;
36 >rest2 : { publicProp: string; }
58 rest2.publicProp;
59 >rest2.publicProp : string
60 >rest2 : { publicProp: string; }
78 rest2.privateProp;
79 >rest2.privateProp : any
80 >rest2 : { publicProp: string; }
98 rest2.protectedProp;
99 >rest2.protectedProp : any
[all …]
DrestUnion2.symbols6 var rest2: { n: number };
7 >rest2 : Symbol(rest2, Decl(restUnion2.ts, 1, 3), Decl(restUnion2.ts, 2, 5))
10 var {...rest2 } = undefinedUnion;
11 >rest2 : Symbol(rest2, Decl(restUnion2.ts, 1, 3), Decl(restUnion2.ts, 2, 5))
DrestUnion.symbols24 var rest2: {};
25 >rest2 : Symbol(rest2, Decl(restUnion.ts, 7, 3), Decl(restUnion.ts, 8, 7))
27 var {n, ...rest2 } = undefinedUnion;
29 >rest2 : Symbol(rest2, Decl(restUnion.ts, 7, 3), Decl(restUnion.ts, 8, 7))
DobjectRestAssignment.types48 …ed2 = __rest(_h, []), _j = overEmit.b, { z } = _j, c = __rest(_j, ["z"]), rest2 = __rest(overEmit,…
49 var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit;
56 >rest2 : { ke: string; ko: string; }
59 ({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit);
60 >({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit) : { a: { ka: string; x: strin…
61 >{ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit : { a: { ka: string; x: string;…
62 >{ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } : { ke: string; ko: string; a: [{ ka: stri…
73 >rest2 : { ke: string; ko: string; }
DrestUnion2.types6 var rest2: { n: number };
7 >rest2 : { n: number; }
10 var {...rest2 } = undefinedUnion;
11 >rest2 : { n: number; }
DrestUnion2.js3 var rest2: { n: number }; variable
4 var {...rest2 } = undefinedUnion;
24 var rest2; variable
25 var rest2 = __rest(undefinedUnion, []);
DobjectRestAssignment.symbols44 …ed2 = __rest(_h, []), _j = overEmit.b, { z } = _j, c = __rest(_j, ["z"]), rest2 = __rest(overEmit,…
45 var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit;
52 >rest2 : Symbol(rest2, Decl(objectRestAssignment.ts, 11, 48))
55 ({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit);
62 >rest2 : Symbol(rest2, Decl(objectRestAssignment.ts, 11, 48))
DrestUnion.js9 var rest2: {}; variable
10 var {n, ...rest2 } = undefinedUnion;
34 var rest2; variable
35 var n = undefinedUnion.n, rest2 = __rest(undefinedUnion, ["n"]);
DrestUnion.types24 var rest2: {};
25 >rest2 : {}
27 var {n, ...rest2 } = undefinedUnion;
29 >rest2 : {}
DobjectRestAssignment.js13 var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit;
14 ({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit);
39 …ed2 = __rest(_d, []), _e = overEmit.b, { z } = _e, c = __rest(_e, ["z"]), rest2 = __rest(overEmit,… variable
40 …ed2 = __rest(_b, []), _c = overEmit.b, { z } = _c, c = __rest(_c, ["z"]), rest2 = __rest(overEmit,…
DdestructuringUnspreadableIntoRest.errors.txt63 const { ...rest2 } = this as A;
68 rest2.publicProp;
79 rest2.privateProp;
92 rest2.protectedProp;
105 rest2.getter;
118 rest2.setter;
131 rest2.method;
145 const { ...rest2 } = x as A;
150 rest2.publicProp;
161 rest2.privateProp;
[all …]
/third_party/typescript/tests/cases/compiler/
DdestructuringUnspreadableIntoRest.ts17 const { ...rest2 } = this as A;
22 rest2.publicProp;
27 rest2.privateProp;
32 rest2.protectedProp;
37 rest2.getter;
42 rest2.setter;
47 rest2.method;
55 const { ...rest2 } = x as A;
60 rest2.publicProp;
65 rest2.privateProp;
[all …]
DrestUnion2.ts4 var rest2: { n: number }; variable
5 var {...rest2 } = undefinedUnion;
DrestUnion.ts8 var rest2: {}; variable
9 var {n, ...rest2 } = undefinedUnion;
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-destruct-assignment/
Darkts-no-destruct-assignment-5-ok.ets20 let rest2:number[] = [];
22 rest2.push(numArr[index]);
24 // [var2, bar2, ...rest2] = numbersArr;
27 console.log(rest2);
/third_party/lwip/test/unit/core/
Dtest_pbuf.c125 struct pbuf *p1, *p2, *p3, *rest2=NULL, *rest3=NULL; in START_TEST() local
154 pbuf_split_64k(p1, &rest2); in START_TEST()
156 fail_unless(rest2->tot_len == (u16_t)((TESTBUFSIZE_2+TESTBUFSIZE_3) & 0xFFFF)); in START_TEST()
157 pbuf_split_64k(rest2, &rest3); in START_TEST()
158 fail_unless(rest2->tot_len == TESTBUFSIZE_2); in START_TEST()
162 pbuf_copy_partial(rest2, testbuf_2a, TESTBUFSIZE_2, 0); in START_TEST()
169 pbuf_free(rest2); in START_TEST()
/third_party/typescript/tests/cases/conformance/types/rest/
DobjectRestAssignment.ts13 var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit;
14 ({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit);