Home
last modified time | relevance | path

Searched full:e1 (Results 1 – 25 of 111) sorted by relevance

12345

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DenumBasics.ts22 enum E1 {
29 let x: number = E1.A;
31 AssertType(E1.A, "E1.A");
34 let e = E1;
35 AssertType(e, "typeof E1");
36 AssertType(E1, "typeof E1");
39 AssertType(e, "typeof E1");
41 readonly A: E1.A;
42 AssertType(A, "E1.A");
43 AssertType(E1, "any");
[all …]
DnumericEnumMappedType.ts23 enum E1 { ONE, TWO, THREE }
26 type Bins1 = { [k in E1]?: string; }
37 const e1: E1 = E1.ONE; constant
38 AssertType(e1, "E1");
39 AssertType(E1.ONE, "E1.ONE");
52 b1[e1] = "b";
53 AssertType(b1[e1] = "b", "string");
54 AssertType(b1[e1], "union");
56 AssertType(e1, "E1.ONE");
DtypeofEnum.ts22 e1,
26 let e1: typeof E; variable
27 AssertType(e1, "typeof E");
30 e1.e1;
31 AssertType(e1.e1, "E.e1");
DcomputedPropertyNames47_ES6.ts21 enum E1 { x }
25 AssertType({ [E1.x || E2.x]: 0}, "{ 0: number; }");
27 [E1.x || E2.x]: 0
28 AssertType([E1.x || E2.x], "number");
29 AssertType(E1.x || E2.x, "E2");
30 AssertType(E1.x, "E1");
DcomputedPropertyNames47_ES5.ts21 enum E1 { x }
25 AssertType({ [E1.x || E2.x]: 0}, "{ 0: number; }");
27 [E1.x || E2.x]: 0
28 AssertType([E1.x || E2.x], "number");
29 AssertType(E1.x || E2.x, "E2");
30 AssertType(E1.x, "E1");
Des6ModuleEnumDeclaration.ts21 export enum e1 {
31 let x = e1.a;
32 AssertType(x, "e1");
33 AssertType(e1.a, "e1.a");
50 let x1 = e1.a;
66 let x1 = e1.a;
DmemberVariableDeclarations1.ts58 let e1: Employee; variable
59 AssertType(e1, "Employee");
64 e1 = e2;
65 AssertType(e1 = e2, "Employee2");
66 AssertType(e1, "Employee");
69 e2 = e1;
70 AssertType(e2 = e1, "Employee");
72 AssertType(e1, "Employee");
Des6ModuleConstEnumDeclaration.ts21 export const enum e1 {
31 let x = e1.a;
32 AssertType(x, "e1");
33 AssertType(e1.a, "e1.a");
50 let x1 = e1.a;
66 let x1 = e1.a;
Des6ModuleConstEnumDeclaration2.ts21 export const enum e1 {
31 let x = e1.a;
32 AssertType(x, "e1");
33 AssertType(e1.a, "e1.a");
50 let x1 = e1.a;
66 let x1 = e1.a;
DunionTypeReduction.ts34 let e1: I2 | I3; variable
35 AssertType(e1, "union");
43 let r1 = e1(); // Type of e1 reduced to I3 upon accessing property or signature
45 AssertType(e1(), "number");
46 AssertType(e1, "union");
DmoduleCodeGenTest5.ts41 export enum E1 {A=0} enum
42 let u = E1.A;
43 AssertType(u, "E1");
44 AssertType(E1.A, "E1");
DimplicitIndexSignatures.ts202 enum E1 { A, B
203 AssertType(E1, "E1");
205 AssertType(A, "E1.A");
207 AssertType(B, "E1.B");
234 const v1 = getStringIndexValue(E1);
236 AssertType(getStringIndexValue(E1), "union");
238 AssertType(E1, "typeof E1");
252 const v4 = getNumberIndexValue(E1);
254 AssertType(getNumberIndexValue(E1), "string");
256 AssertType(E1, "typeof E1");
DcallSignatureWithoutReturnTypeAnnotationInference.ts223 enum e1 { A } enum
224 module e1 { export let y = 1; }
226 AssertType(e1, "typeof e1");
227 return e1;
230 AssertType(r15, "typeof e1");
231 AssertType(foo15(), "typeof e1");
232 AssertType(foo15, "() => typeof e1");
/arkcompiler/runtime_core/libpandabase/serializer/
Dstruct_to_tuple.h39 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(2, e0, e1);
40 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(3, e0, e1, e2);
41 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(4, e0, e1, e2, e3);
42 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(5, e0, e1, e2, e3, e4);
43 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(6, e0, e1, e2, e3, e4, e5);
44 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(7, e0, e1, e2, e3, e4, e5, e6);
45 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(8, e0, e1, e2, e3, e4, e5, e6, e7);
46 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(9, e0, e1, e2, e3, e4, e5, e6, e7, e8);
47 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(10, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9);
48 SERIALIZE_INTERNAL_STRUCT_TO_TUPLE_IMPL(11, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dllvm_ir_builder.h318 V(ZExtInt, (GateRef gate, GateRef e1)) \
319 V(SExtInt, (GateRef gate, GateRef e1)) \
320 V(FPExt, (GateRef gate, GateRef e1)) \
321 V(FPTrunc, (GateRef gate, GateRef e1)) \
324 V(IntRev, (GateRef gate, GateRef e1)) \
325 V(Add, (GateRef gate, GateRef e1, GateRef e2)) \
326 V(Sub, (GateRef gate, GateRef e1, GateRef e2)) \
327 V(Mul, (GateRef gate, GateRef e1, GateRef e2)) \
328 V(FloatDiv, (GateRef gate, GateRef e1, GateRef e2)) \
329 V(IntDiv, (GateRef gate, GateRef e1, GateRef e2)) \
[all …]
Dllvm_ir_builder.cpp1280 void LLVMIRBuilder::VisitMod(GateRef gate, GateRef e1, GateRef e2) in VisitMod() argument
1282 LLVMValueRef e1Value = gate2LValue_[e1]; in VisitMod()
1285 ASSERT(ConvertLLVMTypeFromGate(gate) == ConvertLLVMTypeFromGate(e1)); in VisitMod()
1437 void LLVMIRBuilder::VisitIntRev(GateRef gate, GateRef e1) in VisitIntRev() argument
1439 LLVMValueRef e1Value = gate2LValue_[e1]; in VisitIntRev()
1440 ASSERT(ConvertLLVMTypeFromGate(gate) == ConvertLLVMTypeFromGate(e1)); in VisitIntRev()
1548 void LLVMIRBuilder::VisitTruncFloatToInt(GateRef gate, GateRef e1) in VisitTruncFloatToInt() argument
1550 LLVMValueRef e1Value = gate2LValue_[e1]; in VisitTruncFloatToInt()
1551 auto machineType = acc_.GetMachineType(e1); in VisitTruncFloatToInt()
1576 void LLVMIRBuilder::VisitAdd(GateRef gate, GateRef e1, GateRef e2) in VisitAdd() argument
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/
Dtest-ts-enum-21.ts19 enum E1 { enum
23 print(E1.c);
24 print(E1[1]);
25 print(E1.d);
26 print(E1[2]);
Dtest-ts-enum-20.ts24 export enum E1 {a=E.b} enum
25 print(E1.a);
26 print(E1["str"]);
29 export enum E2 {a = ns.ns.E1.a}
Dtest-ts-enum-33.ts19 a = ns1.E1.a,
21 c = ns1.E1.a + ns2.E2.b,
29 export enum E1{ enum
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dthrow.yaml23 .record E1 <panda.extends=panda.Throwable> {}
30 .record E1 {}
233 - newobj v0, E1
287 - newobj v0, E1
336 isinstance E1
381 .catch E1, try_begin, try_end, catch_E1_block_begin
386 - values: [1, 0, 3, 4, E1]
436 isinstance E1
469 .catch E1, try_begin, try_end, catch_E1_block_begin
474 - values: [1, 2, 0, 0, E1]
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportsAndImports4-amd/
Dt3.ts37 import e1, * as e2 from "./t1";
38 e1;
39 AssertType(e1, "string");
51 export { a, b, c, d, e1, e2, f1, f2 };
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportsAndImports4-es6/
Dt3.ts37 import e1, * as e2 from "./t1";
38 e1;
39 AssertType(e1, "string");
51 export { a, b, c, d, e1, e2, f1, f2 };
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportsAndImports4/
Dt3.ts37 import e1, * as e2 from "./t1";
38 e1;
39 AssertType(e1, "string");
51 export { a, b, c, d, e1, e2, f1, f2 };
/arkcompiler/runtime_core/tests/cts-assembly/
Dexceptions-02.pa16 .record E1 {}
19 newobj v0, E1
35 .catch E1, try_begin, try_end, catch_block2_begin
/arkcompiler/ets_frontend/es2panda/test/parser/ts/transformed_cases/
Dtest-if-statement-3-transformed-expected.txt30 "name": "E1",
82 "name": "E1",
137 "name": "E1",
154 "name": "E1",
256 "name": "E1",
311 "name": "E1",
328 "name": "E1",

12345