Home
last modified time | relevance | path

Searched +full:module +full:- +full:number (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/arkcompiler/runtime_core/disassembler/tests/
DBUILD.gn6 # http://www.apache.org/licenses/LICENSE-2.0
31 "column-number1",
32 "column-number2",
33 "column-number3",
34 "column-number4",
35 "column-number5",
36 "column-number6",
37 "line-number1",
38 "line-number2",
39 "line-number3",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dmodules.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
20 Each module creates its own scope, i.e., any declarations (variables,
21 functions, classes, etc.) declared in the module are only visible outside
22 that module if exported explicitly.
25 another module must first be imported to a module.
30 ------
32 A top-level declaration can be exported by using the keyword ``export``.
35 only in the module it is declared in:
37 .. code-block:: typescript
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe129.md1 # Wildcards in module names are not supported
3 Rule ``arkts-no-module-wildcards``
7 ArkTS does not support wildcards in module names because in the language
8 import is a compile-time, not a runtime feature.
18 declare module "*!text" {
35 function foo(x: number): number
39 import * as m from "module"
46 - Recipe 128: Ambient module declaration is not supported (``arkts-no-ambient-decls``)
47 - Recipe 130: Universal module definitions (UMD) are not supported (``arkts-no-umd``)
Drecipe130.md1 # Universal module definitions (UMD) are not supported
3 Rule ``arkts-no-umd``
7 ArkTS does not support universal module definitions (UMD) because in the
8 language there is no concept of "script" (as opposed to "module").
9 Besides, in ArkTS import is a compile-time, not a runtime feature.
18 // math-lib.d.ts
19 export const isPrime(x: number): boolean
32 // math-lib.d.ts
34 export isPrime(x: number): boolean
38 import { mathLib } from "math-lib"
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module d {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module g {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module o {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module k {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module h {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module i {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module h {
20 export module b1 {
22 a: number;
33 module A {
34 export module B {
42 module i {
44 export module u {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module d {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module g {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module o {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module k {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module c {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module g {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module c {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module g {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/07_namespace/
D01_namespace_01.ts7 * http://www.apache.org/licenses/LICENSE-2.0
20 module X {
21 export module Y {
23 a:number;
35 module A {
36 export module B {
46 module M {
48 export module M2 {
50 d: number;
58 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module h {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module i {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module h {
20 export module b1 {
22 a: number;
33 module A {
34 export module B {
42 module i {
44 export module u {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/07_namespace/
D01_namespace_01_expected.txt7 * http://www.apache.org/licenses/LICENSE-2.0
19 module X {
20 export module Y {
22 a: number;
33 module A {
34 export module B {
42 module M {
44 export module M2 {
46 d: number;
53 type A = number;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ts/
Dtest_module.ts7 * http://www.apache.org/licenses/LICENSE-2.0
21 a: (a: number, b: string) => boolean,
22 b(): number
32 module a.b.c {
39 module a.b.c {
53 declare module "foo";
57 module module1 {
63 export module module2 {
69 declare module module3 {
73 export declare module module4 {
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest_module.ts7 * http://www.apache.org/licenses/LICENSE-2.0
21 a: (a: number, b: string) => boolean,
22 b(): number
32 module a.b.c {
39 module a.b.c {
53 declare module "foo";
57 module module1 {
63 export module module2 {
69 declare module module3 {
73 export declare module module4 {
[all …]
/arkcompiler/ets_runtime/test/moduletest/deregistermodule/
Dderegistermodule.js7 * http://www.apache.org/licenses/LICENSE-2.0
16 async function f(number) { argument
17 let module = await import('./test.js');
18 assert_equal(module.name + number, 'Tyrion' + number);
19 markModuleCollectable(module);
32 f(2); // test whether the module has been successfully uninstalled.
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvmbackend.yaml1 # Copyright (c) 2023-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 module:
20 - name: llvm-allow-breakage
24 - name: llvm-fallback
28 - name: llvm-inlining
33 --compiler-inlining which in turn can be overridden by passing this
35 - name: llvm-pre-opt
39 Level of pre-optimization that LLVMAOT does.
40 0 means running small number of Ark passes before compiling by LLVM.
[all …]

12345678910>>...15