Home
last modified time | relevance | path

Searched defs:insns (Results 1 – 25 of 51) sorted by relevance

123

/arkcompiler/ets_frontend/ts2panda/tests/watch_expression/
DaddWatch.test.ts73 let insns = compileMainSnippet(` variable
99 let insns = compileMainSnippet(` variable
130 let insns = compileMainSnippet(` variable
152 let insns = compileMainSnippet(` variable
173 let insns = compileMainSnippet(` variable
205 let insns = compileMainSnippet(` variable
238 let insns = compileMainSnippet(` variable
264 let insns = compileMainSnippet(` variable
296 let insns = compileMainSnippet(` variable
345 let insns = compileMainSnippet(` variable
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/expression/
Dliteral.test.ts50 let insns = compileMainSnippet("5"); variable
59 let insns = compileMainSnippet("\"stringLiteral\""); variable
68 let insns = compileMainSnippet("true"); variable
77 let insns = compileMainSnippet("false"); variable
86 let insns = compileMainSnippet("null"); variable
96 let insns = compileMainSnippet("let arr = [1]"); variable
111 let insns = compileMainSnippet("let arr = []"); variable
126 let insns = compileMainSnippet("let arr = [1, 2]"); variable
142 let insns = compileMainSnippet("let arr = [, 1]"); variable
161 let insns = compileMainSnippet("let arr = [1,, 3]"); variable
[all …]
Dbinary.test.ts59 let insns = compileMainSnippet("2 + 3"); variable
73 let insns = compileMainSnippet("5 - 1"); variable
87 let insns = compileMainSnippet("null ?? 1"); variable
116 let insns = compileMainSnippet("undefined ?? 1"); variable
146 let insns = compileMainSnippet("2 ?? 1"); variable
177 let insns = compileMainSnippet("3 * 4"); variable
191 let insns = compileMainSnippet("2 ** 3"); variable
205 let insns = compileMainSnippet("7 / 1"); variable
219 let insns = compileMainSnippet("8 % 2"); variable
233 let insns = compileMainSnippet("2 << 3"); variable
[all …]
DoperationEqual.test.ts46 let insns = compileMainSnippet("let a = 2;\n" + variable
66 let insns = compileMainSnippet("let a = 5;\n" + variable
86 let insns = compileMainSnippet("let a = 2;\n" + variable
106 let insns = compileMainSnippet("let a = 2;\n" + variable
126 let insns = compileMainSnippet("let a = 5;\n" + variable
146 let insns = compileMainSnippet("let a = 15;\n" + variable
166 let insns = compileMainSnippet("let a = 8;\n" + variable
186 let insns = compileMainSnippet("let a = 4;\n" + variable
207 let insns = compileMainSnippet("let a = 8;\n" + variable
DcmpBinary.test.ts57 let insns = compileMainSnippet("2 < 3;"); variable
80 let insns = compileMainSnippet("3 > 1;"); variable
103 let insns = compileMainSnippet("3 <= 4;"); variable
126 let insns = compileMainSnippet("3 >= 2;"); variable
149 let insns = compileMainSnippet("3 == 3;"); variable
172 let insns = compileMainSnippet("3 != 2;"); variable
195 let insns = compileMainSnippet("3 === 3;"); variable
218 let insns = compileMainSnippet("3 !== 3;"); variable
241 let insns = compileMainSnippet("let a = 5;\n" + variable
260 let insns = compileMainSnippet("let a = 5;\n" + variable
[all …]
Ddelete.test.ts39 let insns = compileMainSnippet("let arr = [1, 2]; delete arr[1];"); variable
59 let insns = compileMainSnippet(`let obj = { variable
94 let insns = snippetCompiler.getGlobalInsns(); variable
108 let insns = compileMainSnippet(`let a = delete false;`); variable
122 let insns = compileMainSnippet(`delete a;`); variable
134 let insns = compileMainSnippet(`delete delete a;`); variable
DprefixOperations.test.ts47 let insns = compileMainSnippet("let i = 5; let j = ++i"); variable
68 let insns = compileMainSnippet("let i = 5; let j = --i"); variable
89 let insns = compileMainSnippet("let i = 5; let j = +i"); variable
109 let insns = compileMainSnippet("let i = 5; let j = -i"); variable
129 let insns = compileMainSnippet("let i = 5; let j = !i"); variable
153 let insns = compileMainSnippet("let i = 5; let j = ~i"); variable
Dconditions.test.ts44 let insns = compileMainSnippet("let s = 1;\n" + variable
56 let insns = compileMainSnippet("let a = 2;\n" + variable
70 let insns = compileMainSnippet("let a = 5;\n" + variable
93 let insns = compileMainSnippet(` variable
122 let insns = compileMainSnippet(` variable
152 let insns = compileMainSnippet(`let a = true ? 5 : 0;`); variable
178 let insns = compileMainSnippet("if (true && 5) {}"); variable
195 let insns = compileMainSnippet("if (false || 5) {}"); variable
DtypeOf.test.ts40 let insns = compileMainSnippet("typeof 5"); variable
53 let insns = compileMainSnippet("typeof Number(\"5\")"); variable
74 let insns = compileMainSnippet("typeof x"); variable
88 let insns = compileMainSnippet("typeof(x)"); variable
Dcall.test.ts50 let insns = compileMainSnippet(`foo();`); variable
65 let insns = compileMainSnippet(`let i = 5;foo(i);`); variable
84 let insns = compileMainSnippet(` variable
107 let insns = compileMainSnippet(` variable
143 let insns = compileMainSnippet(` variable
168 let insns = compileMainSnippet(`import('./test.js');`); variable
DnumericLiteral.test.ts35 let insns = pandaGen.getInsns(); variable
44 let insns = pandaGen.getInsns(); variable
52 let insns = pandaGen.getInsns(); variable
60 let insns = pandaGen.getInsns(); variable
68 let insns = pandaGen.getInsns(); variable
Dnew.test.ts42 let insns = compileMainSnippet("new Object"); variable
58 let insns = compileMainSnippet("new Object()"); variable
75 let insns = compileMainSnippet("new Object(2)"); variable
96 let insns = compileMainSnippet("let obj; new obj.ctor()"); variable
119 let insns = compileMainSnippet(`new Object(...args);`); variable
Dpartiallyemitted.test.ts52 let insns = snippetCompiler.getGlobalInsns(); variable
77 let insns = snippetCompiler.getPandaGenByName("UnitTest.reindexEdgeList").getInsns(); variable
102 let insns = snippetCompiler.getGlobalInsns(); variable
DpropertyAccess.test.ts42 let insns = compileMainSnippet(`let obj; variable
62 let insns = compileMainSnippet(`let obj; variable
114 let insns = element.getInsns(); variable
156 let insns = element.getInsns(); variable
197 let insns = element.getInsns(); variable
DelementAccess.test.ts41 let insns = compileMainSnippet(`let obj; variable
60 let insns = compileMainSnippet(`let obj; variable
80 let insns = compileMainSnippet(`let obj; variable
Dparenthesized.test.ts35 let insns = compileMainSnippet("let a; (a);"); variable
49 let insns = compileMainSnippet("let a; (((a)))"); variable
/arkcompiler/ets_frontend/ts2panda/tests/
Dhoist.test.ts44 let insns = compileMainSnippet("var a = 1;"); variable
59 let insns = compileMainSnippet(`if (true) { variable
87 let insns = snippetCompiler.getGlobalInsns(); variable
102 let insns = snippetCompiler.getGlobalInsns(); variable
118 let insns = snippetCompiler.getGlobalInsns(); variable
136 let insns = funcPg!.getInsns(); variable
156 let insns = funcPg!.getInsns(); variable
174 let insns = funcPg!.getInsns(); variable
193 let insns = funcPg!.getInsns(); variable
213 let insns = funcPg!.getInsns(); variable
DautoGeneratedIdentifierName.test.ts70 let insns = snippetCompiler.getGlobalInsns(); variable
113 let insns = snippetCompiler.getPandaGenByName("UnitTest.#1#").getInsns(); variable
146 let insns = snippetCompiler.getGlobalInsns(); variable
/arkcompiler/ets_frontend/ts2panda/tests/statements/
Dwhile.test.ts44 let insns = compileMainSnippet("while (true) {}"); variable
61 let insns = compileMainSnippet("let a, b; while (a + b) {}"); variable
86 let insns = compileMainSnippet(` variable
122 let insns = compileMainSnippet("let a = 5;" + variable
150 let jmp = <Jmp>insns[11]; variable
156 let insns = compileMainSnippet("let a = 5;" + variable
183 let jmp = <Jmp>insns[10]; variable
DdoWhile.test.ts41 let insns = compileMainSnippet("do {} while (true)"); variable
53 let insns = compileMainSnippet("let a = 5;" + variable
71 let insns = compileMainSnippet("let a = 5;" + variable
101 let jmp = <Jmp>insns[5]; variable
107 let insns = compileMainSnippet("let a = 5;" + variable
137 let jmp = <Jmp>insns[5]; variable
Dfor.test.ts41 let insns = compileMainSnippet("for (;;) {}"); variable
64 let insns = compileMainSnippet("for (let i = 0;;) {}"); variable
76 let insns = compileMainSnippet("for (let i = 0; i < 5;) {}"); variable
92 let insns = compileMainSnippet("for (let i = 0; i < 5; i++) {}"); variable
108 let insns = compileMainSnippet("for (let i = 0; i < 5; ++i) { continue; }"); variable
144 let jmp = <Jmp>insns[8]; variable
150 let insns = compileMainSnippet("for (let i = 0; i < 5; ++i) {break; }"); variable
186 let jmp = <Jmp>insns[8]; variable
194 let insns = compileMainSnippet(`loop1: variable
261 let jmp = <Jmp>insns[16]; variable
[all …]
DfunctionDeclaration.test.ts56 let insns = snippetCompiler.getGlobalInsns(); variable
76 let insns = snippetCompiler.getGlobalInsns(); variable
96 let insns = functionPg!.getInsns(); variable
110 let insns = snippetCompiler.getGlobalInsns(); variable
147 let insns = element.getInsns(); variable
150 let insns = element.getInsns(); variable
173 let insns = functionPg!.getInsns(); variable
DvariableDeclaration.test.ts53 let insns = snippetCompiler.getGlobalInsns(); variable
70 let insns = snippetCompiler.getGlobalInsns(); variable
86 let insns = snippetCompiler.getGlobalInsns(); variable
102 let insns = snippetCompiler.getGlobalInsns(); variable
120 let insns = snippetCompiler.getGlobalInsns(); variable
170 let insns = funcPg!.getInsns(); variable
189 let insns = funcPg!.getInsns(); variable
206 let insns = funcPg!.getInsns(); variable
222 let insns = funcPg!.getInsns(); variable
251 let insns = snippetCompiler.getGlobalInsns(); variable
Dswitch.test.ts42 let insns = compileMainSnippet("let a = 0; switch (a) {case 0 : ;}"); variable
68 let insns = compileMainSnippet(`let a = 0; switch (a) variable
105 let insns = compileMainSnippet(`let a = 0; switch (a) variable
143 let insns = compileMainSnippet(`let a = 0; switch (a) variable
178 let insns = compileMainSnippet(`let a = 0; switch (a) variable
253 let insns = functionPg!.getInsns(); variable
DforIn.test.ts44 let insns = compileMainSnippet("for (let prop in {}) {}"); variable
80 let insns = compileMainSnippet(` variable
114 let jmp = <Jmp>insns.find(item => (item instanceof Jmp)); variable
115 let jeqz = <Jeqz>insns.find(item => (item instanceof Jeqz)); variable
121 let insns = compileMainSnippet("for (let prop in {}) {continue; }"); variable
158 let insns = compileMainSnippet("for (let prop in {}) {break; }"); variable

123