| /arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | memberExpTests.ts | 23 bar: string, property 27 bar: string, property 33 a1.bar = "bar"; 35 b1.bar = a1.bar; 38 a1.foobar.bar = "foo"; 51 foo : {bar: number} 54 a3.foo.bar = 3; 61 bar: Interface5[] property 64 a4.bar[0].foo.foobar = 3; 68 a: ({bar: string} | {bar: number}) [all …]
|
| D | arrayDestructuring.ts | 19 var2 = "bar"; 33 var [var9, [var10, , var11], ...var12] = [{ a: 6, b: "bar" }, [42, , "foo" + 2]]; 39 … = [{}, true], ...var16] = [3, [true, {}], function (a: any, b: any): number { return 12 }, "bar"]; 78 [var39, [var40, , var41 = "bar"], ...var42] = [{}, [42, , "foo" + 2]]; 79 [var39, [var40, , var41 = "bar"], ...var42] = [{}, [42, , "foo" + 2], 3, "baz", false]; 81 [var39, [var40, , var41 = "bar"] = [45, , "baz"], ...var42] = [{}, [42, , "foo" + 2]]; 87 [var39, [var40, , var41 = "bar"] = var43, ...var42] = [{}, [42, , var44 + 2]]; 94 …, var47, var47, var47, ...var48] = [["foo", "bar"], [1, 2], ["foo", "bar"], [1, 2], [1, "foo"], "b… 98 [[...var49], ...var50] = [["foo", "bar"], 1, 2]
|
| D | memberExpTest_3.ts | 18 a: ({bar: string} | {bar: number}) 24 bar : b; property 27 a5.bar.foo[0].a.bar = false;
|
| D | memberExpTest_1.ts | 18 bar: string property 22 b.bar = "bar";
|
| D | functionCall.ts | 69 var h: boolean = func8(2, ["foo", "bar"], {}); 70 var i: string = func8({}, ["bar"]); 71 var j: string = func8({}, ["bar"], 3, 4, 5); 80 var l: number | string = func9("bar", 2); 89 var m: number[] = func10({ x: "bar", y: 2 });
|
| D | interfaceAssignment.ts | 30 a: 2, b: "bar", c: false, d: function (a: number, b: string) { 74 var d: D5 = { a: 2, b: 3, c: "bar", d: ["foo", "bar", "baz"], e: [1, "foo"] } 95 var f: F = { 5: "foo", 6: "bar", a: 1, b: "baz" };
|
| D | objectLiteralAssignability.ts | 19 obj2 = { a: 2, b: "bar", c: 3 }; 56 obj12 = { c: false, b: "bar" }; 73 obj14 = { a: ["foo", "bar", "baz"] }; 74 obj14 = { a: ["foo", "bar", "baz"], b: function (a: (number[])) { return ["foo", "bar", "baz"] } };
|
| D | tupleAssignability.ts | 59 var tuple17 = func2([[1, "foo", "bar"], [], 2]); 64 b([[1, "foo", "bar"], [], 2]); 79 tuple24 = [[1, 2], ["foo", "bar"]]; 80 tuple24 = [["foo", "bar", "baz"]]; 84 tuple25 = ["foo", "bar"];
|
| /arkcompiler/ets_runtime/test/aottest/class_method_signature/ |
| D | class_method_signature.ts | 24 bar(): string { 30 print(c.bar()); 44 bar(): string { 51 print(d.bar()); 63 bar(): string { 74 print(e.bar());
|
| /arkcompiler/ets_frontend/testTs/expect/types/objectTypeLiteral/callSignatures/ |
| D | typeParameterUsedAsTypeParameterConstraint2.txt | 2 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 5 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 7 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 8 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 9 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 10 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0…
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-class-method-overload3.ts | 18 bar(); method in Foo 19 bar(); 20 bar?() { };
|
| D | test-class-method-overload2.ts | 18 bar(); method in Foo 19 bar() { }; 21 bar(); method in Foo
|
| D | test-member-expression1.ts | 17 var a = {foo : {bar : {baz : 5}}}; 18 a?.foo?.bar?.baz = a?.foo?.bar?.baz;
|
| D | test-class-definition.ts | 26 public static k = "bar" 34 class Bar { c; d() { } e; let; var; const; function; f!: number } class 41 bar() { return this.#name }; method in Baz
|
| D | test-class-method-overload5.ts | 18 bar() { }; method in Foo 19 bar() { }; method in Foo
|
| D | test-function-overload2.ts | 17 function bar(); function 18 function bar();
|
| D | test-ts-parameter-property10.ts | 18 constructor(private readonly { bar } = { bar: 2 }) { };
|
| /arkcompiler/ets_runtime/test/aottest/stownbyname/ |
| D | stownbyname.ts | 18 bar: [ "a", "b" ] 20 print(foo.bar[0]); 21 print(foo.bar[1]);
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | step_test.cpp | 43 call bar in SetUpSourceFiles() 47 .function void bar() { in SetUpSourceFiles() 54 bar_.Set(klass->GetDirectMethod(utf::CStringAsMutf8("bar"))); in SetUpSourceFiles() 88 bar_.Call([&](auto &bar) { bar.ContinueTo(scriptId, 8); }); in TEST_F() argument 123 bar_.Call([](auto &bar) { bar.StepInto(); }); in TEST_F() argument
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | json_builder_test.cpp | 64 EXPECT_THAT(R"("foo" bar)", StringifiesAs(R"("\"foo\" bar")")); in TEST() 65 EXPECT_THAT(R"("foo\" bar)", StringifiesAs(R"("\"foo\\\" bar")")); in TEST() 82 x.Add("bar"); in TEST() 86 StringifiesAs("[1,\"\",[],{\"x\":[\"foo\",\"bar\"]}]")); in TEST()
|
| /arkcompiler/ets_runtime/test/aottest/defineclasswithbuffer/ |
| D | defineclasswithbuffer.ts | 48 bar(): string { 49 return "bar" 53 print(C.prototype.bar());
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/ |
| D | define_info_test.js | 29 class Bar { class 50 class Bar { class 54 class Bar2 extends Bar {
|
| /arkcompiler/ets_frontend/testTs/expect/classes/members/instanceAndStaticMembers/ |
| D | typeOfThisInStaticMembers.txt | 1 …: 1}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'bar'}, {'t': 24, 'v': '… 3 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 4}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0… 5 …: 4}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'bar'}, {'t': 24, 'v': '… 7 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 4}, {'t': 5, 'v': 'bar'}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0…
|
| /arkcompiler/ets_runtime/test/aottest/inline/ |
| D | inline.ts | 16 bar(a: number) : number { 23 print(a.bar(2));
|
| /arkcompiler/ets_frontend/testTs/expect/types/objectTypeLiteral/ |
| D | objectTypeLiteralSyntax.txt | 1 … {'t': 2, 'v': 2}, {'t': 5, 'v': 'foo'}, {'t': 25, 'v': 4}, {'t': 5, 'v': 'bar'}, {'t': 25, 'v': 4… 2 … {'t': 2, 'v': 2}, {'t': 5, 'v': 'foo'}, {'t': 25, 'v': 4}, {'t': 5, 'v': 'bar'}, {'t': 25, 'v': 4…
|