Home
last modified time | relevance | path

Searched full:a (Results 1 – 25 of 9177) sorted by relevance

12345678910>>...368

/arkcompiler/ets_runtime/docs/
Dusing-the-toolchain.md1 # Using the Toolchain<a name="EN-US_TOPIC_0000001128256014"></a>
22 <a name="table2035444615599"></a>
24 …%" id="mcps1.1.6.1.1"><p id="p13354134619595"><a name="p13354134619595"></a><a name="p133541346195…
26 …8066%" id="mcps1.1.6.1.3"><p id="p157281281906"><a name="p157281281906"></a><a name="p157281281906…
28 …7417%" id="mcps1.1.6.1.4"><p id="p103276335016"><a name="p103276335016"></a><a name="p103276335016…
30 …35%" id="mcps1.1.6.1.5"><p id="p1835494695915"><a name="p1835494695915"></a><a name="p183549469591…
34 … headers="mcps1.1.6.1.1 "><p id="p881325510017"><a name="p881325510017"></a><a name="p881325510017…
36 … headers="mcps1.1.6.1.3 "><p id="p072882813015"><a name="p072882813015"></a><a name="p072882813015…
38 …%" headers="mcps1.1.6.1.4 "><p id="p10327833305"><a name="p10327833305"></a><a name="p10327833305"…
40 … headers="mcps1.1.6.1.5 "><p id="p076075115014"><a name="p076075115014"></a><a name="p076075115014…
[all …]
DREADME_zh.md214 …th="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"…
216 …th="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name="p11592710304"></a><a name="p11592710304"…
220 … headers="mcps1.1.3.1.1 "><p id="p171592710306"><a name="p171592710306"></a><a name="p171592710306…
222 …ders="mcps1.1.3.1.2 "><p id="p13151527133011"><a name="p13151527133011"></a><a name="p131515271330…
225 …eaders="mcps1.1.3.1.1 "><p id="p1615182712308"><a name="p1615182712308"></a><a name="p161518271230…
227 …eaders="mcps1.1.3.1.2 "><p id="p9556101593120"><a name="p9556101593120"></a><a name="p955610159312…
230 …eaders="mcps1.1.3.1.1 "><p id="p1815182733012"><a name="p1815182733012"></a><a name="p181518273301…
232 …eaders="mcps1.1.3.1.2 "><p id="p1615627173019"><a name="p1615627173019"></a><a name="p161562717301…
235 … headers="mcps1.1.3.1.1 "><p id="p111572716304"><a name="p111572716304"></a><a name="p111572716304…
237 …eaders="mcps1.1.3.1.2 "><p id="p1655718513105"><a name="p1655718513105"></a><a name="p165571851310…
[all …]
Ddevelopment-example.md1 # Development Example<a name="EN-US_TOPIC_0000001128096218"></a>
8 ## HelloWorld<a name="section105987593810"></a>
120 ## Performing Test Case Test262<a name="section118471435115815"></a>
150 <a name="table11141827153017"></a>
151 …th="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"…
153 …th="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name="p11592710304"></a><a name="p11592710304"…
157 … headers="mcps1.1.3.1.1 "><p id="p171592710306"><a name="p171592710306"></a><a name="p171592710306…
159 …ders="mcps1.1.3.1.2 "><p id="p13151527133011"><a name="p13151527133011"></a><a name="p131515271330…
162 …eaders="mcps1.1.3.1.1 "><p id="p1615182712308"><a name="p1615182712308"></a><a name="p161518271230…
164 …eaders="mcps1.1.3.1.2 "><p id="p9556101593120"><a name="p9556101593120"></a><a name="p955610159312…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/06.type_arguments/type_arguments_of_parameterized_declarations/
Dclass_args.params.yaml4 # You may obtain a copy of the License at
18 let v: A<X> = new A<X>(new X())
21 let v: A<X> = new A<X>(new X())
25 let v: A<X|null> = new A<X|null>(null)
28 let v: A<A<X>> = new A<A<X>>(new A<X>(new X()))
31 let v: A<A<X>> = new A<A<X>>(new A<X>(new X()))
36 let v: A<I> = new A<I>(new X())
39 let v: A<A<I>> = new A<A<I>>(new A<I>(new X()))
43 let v: A<A<I>|null> = new A<A<I>|null>(null)
47 let v: A<X[]> = new A<X[]>(new X[0])
[all …]
Dclass_args_neg.params.yaml4 # You may obtain a copy of the License at
18 let v: A<X> = new A<X>(new Y()) // Y is not X
22 let v: A<X> = new A<X>(new X()) // X is out of the bound
26 let v: A<X> = new A<X|null>(null) // shouldn't assign to subclass
29 let v: A<null|X> = new A<X>(new X()) // syntax error
32 let v: A<A<X>> = new A<A<X>>(new A<Y>(new Y())) // A<Y> is not A<X>
36 let v: A<I> = new A<I>(new Y()) // Y doesn't implement I
40 let v: A<A<I>> = new A<A<I>>(new A<Y>(new Y())) // A<Y> is not A<I>
44 let v: A<X[]> = new A<X[]>(new Y[0]) // Y[] is not X[]
47 let v: A<A<X>[]> = new A<A<X>[]>(new A<Y>[0]) // A<X>[] is not A<Y>[]
[all …]
Dconstr_args1.params.yaml4 # You may obtain a copy of the License at
18 let v: A = new <X> A(new X())
21 let v: A = new <X|null> A(new X())
24 let v: A = new <X|null> A(null)
27 let v: A = new <X> A(new X())
31 let v: A = new <X|null> A(new X())
35 let v: A = new <X|null> A(null)
40 let v: A = new <I> A(new X())
43 let v: A = new <I|null> A(new Y())
46 let v: A = new <I|null> A(null)
[all …]
Dclass_variance.params.yaml4 # You may obtain a copy of the License at
17 let a: A<in X> = new A<X>(new X())
18 a.methIn(new X())
21 let a: A<out X> = new A<X>(new X())
22 let z: X = a.methOut()
25 let a: A<out> = new A<Object|null>(new X())
26 let z: Object|null = a.methOut()
29 let a: A<in X> = new A<X>(new Y())
30 a.methIn(new Z())
33 let a: A<in X> = new A<X>(new Y())
[all …]
/arkcompiler/ets_frontend/
DREADME_zh.md1 # ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a>
3 - [ets_frontend组件<a name="ZH-CN_TOPIC_0000001137330686"></a>](#ets_frontend组件)
4 - [简介<a name="section11660541593"></a>](#简介)
5 - [目录<a name="section161941989596"></a>](#目录)
6 - [编译构建<a name="section0446154755015"></a>](#编译构建)
7 - [使用说明<a name="section33105542504"></a>](#使用说明)
8 - [相关仓<a name="section1371113476307"></a>](#相关仓)
10 ## 简介<a name="section11660541593"></a>
20 ## 目录<a name="section161941989596"></a>
47 ## 编译构建<a name="section0446154755015"></a>
[all …]
DREADME.md1 # ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a>
3 - [ets_frontend <a name="EN-US_TOPIC_0000001137330686"></a>](#ets_frontend-)
4 - [Introduction<a name="section11660541593"></a>](#introduction)
5 - [Directory Structure<a name="section161941989596"></a>](#directory-structure)
6 - [Build<a name="section0446154755015"></a>](#Build)
7 - [Usage Guidelines<a name="section33105542504"></a>](#usage-guidelines)
8 - [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved)
10 ## Introduction<a name="section11660541593"></a>
12 ets_frontend is a front-end tool in the ARK Runtime Subsystem. Combined with the ace-ets2bundle com…
20 ## Directory Structure<a name="section161941989596"></a>
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/07.object_literal/02.object_literal_of_interface_type/
Din.params.yaml4 # You may obtain a copy of the License at
17 interface A {}
20 let a: A = {}
22 assert a instanceof A
24 assert a != b
27 class A {}
29 ref: A = new A()
32 let a: A = {}
34 let b2: B = { ref: a }
35 let b3: B = { ref: new A() }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/07.object_literal/01.object_literal_of_class_type/
Dcl.params.yaml4 # You may obtain a copy of the License at
17 class A {}
20 let a: A = {}
22 assert a instanceof A
24 assert a != b
27 class A {}
29 ref: A = new A()
32 let a: A = {}
34 let b2: B = { ref: a }
35 let b3: B = { ref: new A() }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/10.trailing_lambda/
Dtrlambda_static_met.params.yaml4 # You may obtain a copy of the License at
18 class A {
22 A.globl += n
27 A.foo(10.0, () => {
28 A.globl = 3.0
30 assert A.globl == 13.0
33 class A {
37 A.globl += n
42 A.foo(10.0, () => {
43 A.globl = 3.0
[all …]
Dtrlambda_met.params.yaml4 # You may obtain a copy of the License at
18 class A {
22 A.globl += n
27 new A().foo(10.0, () => {
28 A.globl = 3.0
30 assert A.globl == 13.0
33 class A {
37 A.globl += n
42 new A().foo(10.0, () => {
43 A.globl = 3.0
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/02.kinds_of_conversion/04.casting_conversions/
Dref_narrowing.params.yaml4 # You may obtain a copy of the License at
23 class A {}
24 class B extends A {}
25 stype: A
30 class A {}
31 class B extends A {}
32 stype: A[]
37 class A {}
38 class B extends A {}
44 class A {}
[all …]
/arkcompiler/ets_runtime/test/moduletest/elements_kind/
Delements_kind.js5 * You may obtain a copy of the License at
33 let a = [1, 2, 34];
34 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == PACKEDINT) {
44 let a = [1, 2, 34];
45 a[1] = 10;
46 if (a[0] == 1 && a[1] == 10 && a[2] == 34 && ArkTools.getElementsKind(a) == PACKEDINT) {
57 let a = [1, 2, 34];
58 print(a[10]); // deopt point
59 if (a[0] == 1 && a[1] == 2 && a[2] == 34 && ArkTools.getElementsKind(a) == PACKEDINT) {
70 let a = [1, 2, 34];
[all …]
/arkcompiler/runtime_core/tests/checked/
Dinline_external.pa4 # You may obtain a copy of the License at
20 .record A {
26 .function i32 A.getConst() <static> {
31 .function i32 A.getConst_virt(A a0) {
36 .function i32 A.getParam(i32 a0) <static> {
41 .function i32 A.getParam_virt(A a0, i32 a1) {
46 .function void A.getVoid() <static> {
50 .function void A.getVoid_virt(A a0) {
54 .function i32 A.getObj(A a0) <static> {
55 ldobj a0, A.data
[all …]
/arkcompiler/runtime_core/static_core/tests/checked/
Dinline_external.pa4 # You may obtain a copy of the License at
19 .record A {
28 .function i32 A.getConst() <static> {
33 .function i32 A.getConst_virt(A a0) {
38 .function i32 A.getParam(i32 a0) <static> {
43 .function i32 A.getParam_virt(A a0, i32 a1) {
48 .function void A.getVoid() <static> {
52 .function void A.getVoid_virt(A a0) {
56 .function i32 A.getObj(A a0) <static> {
57 ldobj a0, A.data
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-binary-expression.js5 * You may obtain a copy of the License at
17 a | b
18 a ^ b
19 a & b
20 a == b
21 a != b
22 a === b
23 a !== b
24 a < b
25 a <= b
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-binary-expression.js5 * You may obtain a copy of the License at
17 a | b
18 a ^ b
19 a & b
20 a == b
21 a != b
22 a === b
23 a !== b
24 a < b
25 a <= b
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
DCallingMethodsTest.ets5 * You may obtain a copy of the License at
16 class A {}
18 class B extends A{}
21 public void_method(a: int, b: int): void
25 public object_method(): A
27 let a : A = new A;
28 return a;
31 public boolean_method(a: boolean, b: int): boolean
36 public byte_method(a: byte, b: int): byte
41 public char_method(a: char, b: int): char
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DobjectLiteralAssignability.ts5 * You may obtain a copy of the License at
18 var obj2: { a: number, b: string } | { a: number, b: string, c: number } = { a: 5, b: "foo", ...obj…
19 obj2 = { a: 2, b: "bar", c: 3 };
22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } };
23 obj4 = { a: {}, b: { a: 5, b: "foo" } };
24 obj4 = { a: {} };
26 var obj5: { a: { a: number, b: string }, b: { a: boolean } } = { a: { a: 5, b: "foo" }, b: { a: tru…
27 var obj6: { a(a: number, b: string): number, b(): boolean };
28 obj6 = { a: function (a: number, b: string): number { return 12; }, b: function () { return true } …
30 var obj7: {} | { a: number } | { a: string, b: number } | { a: boolean, b: string, c: number };
[all …]
/arkcompiler/ets_frontend/ets2panda/test/compiler/ts/
DobjectLiteralAssignability.ts5 * You may obtain a copy of the License at
18 var obj2: { a: number, b: string } | { a: number, b: string, c: number } = { a: 5, b: "foo", ...obj…
19 obj2 = { a: 2, b: "bar", c: 3 };
22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } };
23 obj4 = { a: {}, b: { a: 5, b: "foo" } };
24 obj4 = { a: {} };
26 var obj5: { a: { a: number, b: string }, b: { a: boolean } } = { a: { a: 5, b: "foo" }, b: { a: tru…
27 var obj6: { a(a: number, b: string): number, b(): boolean };
28 obj6 = { a: function (a: number, b: string): number { return 12; }, b: function () { return true } …
30 var obj7: {} | { a: number } | { a: string, b: number } | { a: boolean, b: string, c: number };
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/05.array_literal/01.type_inference_from_context/
Darr_inf.params.yaml4 # You may obtain a copy of the License at
17 let a: Long[] = [1, 2, 3, 4,]
18 assert a[0] instanceof Long && a[0] == 1
21 let a: Long[] = []
22 a = [1, 2, 3,]
23 assert a[0] instanceof Long && a[0] == 1
26 let a = [1, 2, 3,] as Long[]
27 assert a[0] instanceof Long && a[0] == 1
30 let a: string[][] = [["a"]]
31 let b: Object[][] = a
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/strict_equality/
Dstrict_equality.ets5 * You may obtain a copy of the License at
16 import { A } from "/plugins/ets/tests/interop_js/tests/strict_equality/strict_equality.js"
19 let a = new A(42);
20 if (a === a) {
28 let a = new A(42);
29 let b = new A(42);
30 if (a === b) {
38 let a = new A(42);
39 if (a !== a) {
47 let a = new A(42);
[all …]
/arkcompiler/toolchain/tooling/test/testcases/js/
Dstep.js5 * You may obtain a copy of the License at
24 var a = 1;
25 a = 2;
26 a = 3;
27 a = 4;
29 a = 5;
30 a = 6;
31 a = 7;
32 a = 8;
33 a = 9;
[all …]

12345678910>>...368