/third_party/typescript/tests/baselines/reference/ |
D | destructuringUnspreadableIntoRest.js | 17 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 …]
|
D | destructuringUnspreadableIntoRest.symbols | 34 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 …]
|
D | destructuringUnspreadableIntoRest.types | 35 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 …]
|
D | restUnion2.symbols | 6 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))
|
D | restUnion.symbols | 24 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))
|
D | objectRestAssignment.types | 48 …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; }
|
D | restUnion2.types | 6 var rest2: { n: number }; 7 >rest2 : { n: number; } 10 var {...rest2 } = undefinedUnion; 11 >rest2 : { n: number; }
|
D | restUnion2.js | 3 var rest2: { n: number }; variable 4 var {...rest2 } = undefinedUnion; 24 var rest2; variable 25 var rest2 = __rest(undefinedUnion, []);
|
D | objectRestAssignment.symbols | 44 …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))
|
D | restUnion.js | 9 var rest2: {}; variable 10 var {n, ...rest2 } = undefinedUnion; 34 var rest2; variable 35 var n = undefinedUnion.n, rest2 = __rest(undefinedUnion, ["n"]);
|
D | restUnion.types | 24 var rest2: {}; 25 >rest2 : {} 27 var {n, ...rest2 } = undefinedUnion; 29 >rest2 : {}
|
D | objectRestAssignment.js | 13 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,…
|
D | destructuringUnspreadableIntoRest.errors.txt | 63 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/ |
D | destructuringUnspreadableIntoRest.ts | 17 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 …]
|
D | restUnion2.ts | 4 var rest2: { n: number }; variable 5 var {...rest2 } = undefinedUnion;
|
D | restUnion.ts | 8 var rest2: {}; variable 9 var {n, ...rest2 } = undefinedUnion;
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-destruct-assignment/ |
D | arkts-no-destruct-assignment-5-ok.ets | 20 let rest2:number[] = []; 22 rest2.push(numArr[index]); 24 // [var2, bar2, ...rest2] = numbersArr; 27 console.log(rest2);
|
/third_party/lwip/test/unit/core/ |
D | test_pbuf.c | 125 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/ |
D | objectRestAssignment.ts | 13 var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit; 14 ({ a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit);
|