| /arkcompiler/runtime_core/libabckit/include/cpp/headers/arkts/ |
| D | namespace.h | 19 #include "../core/namespace.h" 23 namespace abckit::arkts { 26 * @brief Namespace 28 class Namespace final : public core::Namespace { 32 /// @brief abckit::DefaultHash<Namespace> 33 friend class abckit::DefaultHash<Namespace>; 35 friend class abckit::traits::TargetCheckCast<Namespace>; 39 * @brief Constructor Arkts API Namespace from the Core API with compatibility check 40 * @param other - Core API Namespace 42 explicit Namespace(const core::Namespace &other); [all …]
|
| D | namespace_impl.h | 19 #include "namespace.h" 21 namespace abckit::arkts { 23 inline AbckitArktsNamespace *Namespace::TargetCast() const in TargetCast() 30 inline Namespace::Namespace(const core::Namespace &other) : core::Namespace(other), targetChecker_(… in Namespace() function 32 inline Function Namespace::GetConstructor() const in GetConstructor() 42 } // namespace abckit::arkts
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/module_ops/ |
| D | module_find_namespace_test.ets | 16 export namespace ops { 22 namespace ttt {} 30 namespace opst { 36 namespace outer { 37 namespace inner { 43 namespace ttt {} 53 namespace a { 54 namespace a {} 56 namespace b {} 57 namespace c {} [all …]
|
| D | module_find_combination_test.ets | 16 namespace Aops {} 17 namespace Bops {} 18 namespace Cops {} 19 namespace Dops {} 20 namespace Eops {} 21 namespace Fops {} 22 namespace Gops {} 23 namespace Hops {} 24 namespace Iops {} 25 namespace Jops {}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/13.compilation_units/08.namespace_declarations/ |
| D | namespace_declarations_basics.params.yaml | 16 # 0. Class in namespace 18 namespace myNamespace { 33 # 1. Interface in namespace 35 namespace myNamespace { 44 # 2. Enum in namespace 46 namespace myNamespace { 57 # 3. Type alias in namespace 59 namespace myNamespace { 72 # 4. Variable in namespace 74 namespace myNamespace { [all …]
|
| D | simple_spec4_1.ets | 17 …amespaces with identical namespace names in a single compilation unit merge their exported declara… 20 namespace A { 24 export namespace C { 29 namespace A { 32 assertEQ(foo(), "A foo") /* calls exported foo() as well as all A namespace 35 return bar() // bar() belongs to the same namespace 40 namespace A.C { 42 … assertEQ(too(), "A too") // too() accessible when namespace C and too() are both exported 47 namespace B { }
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/ |
| D | test-ts-namespace-7.ts | 17 namespace ns.ns2 { 18 export namespace ns3{ 19 export var s : string = "test-ts-namespace-7 flag1"; 23 var s : string = "test-ts-namespace-7 flag2"; 24 namespace ns.ns2 { 25 export namespace ns3{ 26 export namespace ns4{ 32 namespace ns.ns2 { 33 namespace ns3 { 34 export namespace ns4 { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | ignoredAllowed.yaml | 33 namespace: varbinder 63 namespace: lexer 65 namespace: AstDumper 67 namespace: checker 72 namespace: checker 75 namespace: varbinder 79 namespace: varbinder 82 namespace: public_lib 84 namespace: varbinder 86 namespace: varbinder [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/core/ |
| D | namespace.h | 24 namespace abckit::core { 27 * @brief Namespace 29 class Namespace : public ViewInResource<AbckitCoreNamespace *, const File *> { 39 /// @brief abckit::DefaultHash<Namespace> 40 friend class abckit::DefaultHash<Namespace>; 44 using CoreViewT = Namespace; 48 * @brief Construct a new Namespace object 51 Namespace(const Namespace &other) = default; 56 * @return Namespace& 58 Namespace &operator=(const Namespace &other) = default; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | arkts_no_duplicate_function_name3.ets | 16 namespace A { 22 namespace B { 26 namespace B { 30 namespace C { 34 namespace C { 38 namespace D { 42 namespace F { 46 namespace F { 50 namespace G { 54 namespace G { [all …]
|
| D | unique_names.ets | 29 namespace A { 39 namespace A { 179 // namespace to every other type - no error 181 namespace T1 {} 184 namespace T2 {} 187 namespace T3 {} 190 namespace T4 {} 192 namespace T5 {} 193 namespace T5 {} 195 // namespace to variable / function - error [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/14.ambient_declarations/05.namespace_declarations/ |
| D | namespace_declarations.params.yaml | 17 declare namespace Ambient {} 19 declare namespace Ambient { 25 declare namespace Ambient { 31 declare namespace Ambient { 35 declare namespace Ambient { 39 declare namespace Ambient { 43 declare namespace Ambient { 44 namespace NestedAmbient { 48 declare namespace Ambient { 53 declare namespace Ambient { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/namespace_tests/ |
| D | namespace_bad_merged02.ets | 16 namespace X { 17 namespace Y {} 19 namespace X { 20 export namespace Y {} // CTE 23 namespace P { 24 export namespace Q {} 25 namespace R {} 27 namespace P { 28 export namespace Q {} // OK 29 namespace R {} // OK
|
| /arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/ |
| D | classBuilder.h | 23 namespace ark::panda_file { 25 } // namespace ark::panda_file 27 namespace ark::es2panda::parser { 29 } // namespace ark::es2panda::parser 31 namespace ark::es2panda::checker { 33 } // namespace ark::es2panda::checker 35 namespace ark::es2panda::ir { 38 } // namespace ark::es2panda::ir 40 namespace ark::es2panda::ir { 43 } // namespace ark::es2panda::ir [all …]
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | concurrent.h | 21 namespace panda::es2panda::compiler { 23 } // namespace panda::es2panda::compiler 25 namespace panda::es2panda::ir { 29 } // namespace panda::es2panda::ir 31 namespace panda::es2panda::binder { 33 } // namespace panda::es2panda::binder 35 namespace panda::es2panda::lexer { 37 } // namespace panda::es2panda::lexer 39 namespace panda::es2panda::parser { 43 namespace panda::es2panda::util { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/namespace/ |
| D | lib.expected | 24 export declare namespace A { 26 namespace B { 28 namespace C { 33 export declare namespace X1 { 36 export declare namespace X { 39 export declare namespace myNamespace { 46 export declare namespace BarNameSpace { 47 namespace FooNameSpace { 52 export declare namespace MySpace { 74 export declare namespace N { [all …]
|
| D | lib.ets | 16 export namespace A { 18 export namespace B { 20 export namespace C { 26 export declare namespace X1 { 30 export namespace X { 34 export namespace myNamespace { 38 export namespace BarNameSpace { 41 export namespace FooNameSpace { 54 export namespace MySpace { 106 export namespace N { [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/apiTest_visitAtKeepNames/ |
| D | atKeepNamespace01.ts | 17 namespace MyNamespace01 { 29 export namespace InnerNamespace01 { 36 namespace MyNamespace02 { 76 export namespace InnerNamespace02 { 84 namespace MyNamespace03 { 124 namespace InnerNamespace03 { 133 export namespace MyNamespace04 { 134 export namespace MyNamespace05 { 135 export namespace MyNamespace06 { 136 namespace MyNamespace07 { [all …]
|
| D | atKeepNamespace02.ts | 17 namespace MyNamespace01 { 29 export namespace InnerNamespace01 { 36 namespace MyNamespace02 { 76 export namespace InnerNamespace02 { 84 namespace MyNamespace03 { 124 namespace InnerNamespace03 { 133 export namespace MyNamespace04 { 134 export namespace MyNamespace05 { 135 export namespace MyNamespace06 { 136 namespace MyNamespace07 { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/namespace_ops/ |
| D | namespace_find_namespace_test.ets | 16 namespace test { 17 namespace A { 18 namespace B { 23 namespace C { 31 namespace C { 32 namespace D { 45 namespace D { 52 namespace E {
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/templates/ |
| D | debug_test_interpreter-inl_gen.cpp.erb | 25 namespace ark::interpreter { 31 % namespace = i.namespace == 'core' ? '' : "#{i.namespace}::" 32 % if i.namespace != 'core' 33 #ifdef PANDA_WITH_<%= i.namespace.upcase %> 39 <%= namespace %>InstructionHandler<RuntimeInterface, true> handler(&state); 45 <%= namespace %>InstructionHandler<RuntimeInterface, false> handler(&state); 48 % if i.namespace != 'core' 50 #endif // PANDA_WITH_<%= i.namespace.upcase %> 57 } // namespace ark::interpreter
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/model/builder/ |
| D | ArkNamespaceBuilder.ts | 88 function buildNamespaceMembers(node: ts.ModuleBlock, namespace: ArkNamespace, sourceFile: ts.Source… 94 childNs.setDeclaringArkNamespace(namespace); 95 childNs.setDeclaringArkFile(namespace.getDeclaringArkFile()); 97 buildArkNamespace(child, namespace, childNs, sourceFile); 102 buildNormalArkClassFromArkNamespace(child, namespace, cls, sourceFile); 103 namespace.addArkClass(cls); 106 …namespace.addExportInfo(buildExportInfo(cls, namespace.getDeclaringArkFile(), LineColPosition.buil… 114 buildArkMethodFromArkClass(child, namespace.getDefaultClass(), mthd, sourceFile); 117 …namespace.addExportInfo(buildExportInfo(mthd, namespace.getDeclaringArkFile(), LineColPosition.bui… 122 buildArkMethodFromArkClass(child, namespace.getDefaultClass(), mthd, sourceFile); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | declare_namespace_5.ets | 17 namespace ns { 20 namespace hehe { 36 namespace ns { 51 /* @@? 17:5 Error SyntaxError: Namespace is allowed only at the top level or inside a namespace. */ 53 /* @@? 20:5 Error SyntaxError: Namespace is allowed only at the top level or inside a namespace. */ 56 /* @@? 36:5 Error SyntaxError: Namespace is allowed only at the top level or inside a namespace. */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | namespaceExport_neg.ets | 16 declare namespace A { 17 namespace B { 18 namespace C{ 24 declare namespace A { 25 namespace B { 26 namespace C{
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 14_ambients.rst | 72 declare namespace A{ 453 .. _Ambient Namespace Declarations: 455 Ambient Namespace Declarations 465 The syntax of *ambient namespace declaration* is presented below: 470 'namespace' identifier '{' ambientNamespaceElement* '}' 491 Only exported entities can be accessed outside a namespace. 498 declare namespace A { 499 export namespace B { 504 A namespace is not an object but merely a scope for entities that can be 508 namespace [all …]
|