| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | arktsconfig.cpp | 16 #include "arktsconfig.h" 48 ((std::cerr << "ArkTsConfig error: ") << ... << msgs); in Check() 91 ArkTsConfig::Pattern::Pattern(std::string value, std::string base) : value_(std::move(value)), base… in Pattern() 96 bool ArkTsConfig::Pattern::IsPattern() const in IsPattern() 101 std::string ArkTsConfig::Pattern::GetSearchRoot() const in GetSearchRoot() 115 bool ArkTsConfig::Pattern::Match(const std::string &path) const in Match() 121 // Replace arktsconfig special symbols with regular expressions in Match() 153 static std::optional<ArkTsConfig> ParseExtends(const std::string &configPath, const std::string &ex… in ParseExtends() 165 auto base = ArkTsConfig(basePath); in ParseExtends() 265 …auto res = dynamicPathsMap.insert({normalizedKey, ArkTsConfig::DynamicImportData(*lang, *hasDeclVa… in ParseDynamicPaths() [all …]
|
| D | importPathManager.h | 23 #include "util/arktsconfig.h" 52 …ImportPathManager(ark::ArenaAllocator *allocator, std::shared_ptr<ArkTsConfig> arktsConfig, std::s… in ImportPathManager() argument 54 arktsConfig_(std::move(arktsConfig)), in ImportPathManager() 84 std::shared_ptr<ArkTsConfig> arktsConfig_ {nullptr};
|
| D | arktsconfig.h | 26 // NOTE(ivagin): If ARKTSCONFIG_USE_FILESYSTEM is not defined part of ArkTsConfig functionality is … 36 class ArkTsConfig { 39 // Pattern describes arktsconfig path pattern for 'include' or 'exclude' properties 80 explicit ArkTsConfig(std::string_view configPath) : configPath_(configPath) {} in ArkTsConfig() function 135 void Inherit(const ArkTsConfig &base); 154 …air<std::string, std::string>> FindProjectSources(const std::shared_ptr<ArkTsConfig> &arktsConfig);
|
| D | options.h | 23 #include "arktsconfig.h" 150 … const ark::PandArg<std::string> &arktsConfig, const es2panda::CompilationMode &compMode) in DetermineExtension() argument 175 std::ifstream inputStream(arktsConfig.GetValue()); in DetermineExtension() 177 errorMsg_ = "Failed to open arktsconfig: "; in DetermineExtension() 178 errorMsg_.append(arktsConfig.GetValue()); in DetermineExtension() 221 std::optional<ArkTsConfig> ParseArktsConfig(std::string_view path) in ParseArktsConfig() 223 auto config = ArkTsConfig {path}; in ParseArktsConfig() 225 errorMsg_ = "Invalid ArkTsConfig path: "; in ParseArktsConfig() 244 compilerOptions_.arktsConfig = std::make_shared<ArkTsConfig>(*config); in ProcessEtsSpecificOptions()
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | options_es2panda.py | 37 "arktsconfig": self.arktsconfig, 63 @value(yaml_path="es2panda.arktsconfig", cli_name="arktsconfig", cast_to_type=_to_path) 64 def arktsconfig(self) -> Optional[str]: member in Es2PandaOptions 85 f'--arktsconfig="{self.arktsconfig}"' if self.arktsconfig is not None else '',
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/srcdumper/ |
| D | runner_srcdumper.py | 62 f'--arktsconfig={self.arktsconfig}' 69 f'--arktsconfig={self.arktsconfig}' 76 f'--arktsconfig={self.arktsconfig}' 83 f'--arktsconfig={self.arktsconfig}'
|
| /arkcompiler/ets_frontend/ets2panda/test/tsconfig/test-config/incorrect-include/ |
| D | expected.json | 4 …"stderr": "ArkTsConfig error: 'include' must be an array\nInvalid ArkTsConfig path: incorrect-incl…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_composite/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG}) 17 set(ETS_CONFIG_DECL ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 18 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.decl.json ${ETS_CONFIG_DECL})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG}) 17 set(ETS_CONFIG_DECL ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 18 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.decl.json ${ETS_CONFIG_DECL})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/ |
| D | CMakeLists.txt | 77 # Create arktsconfig.json with "dynamicPaths" for js modules 104 set(ARKTSCONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) variable 105 file(WRITE ${ARKTSCONFIG} ${ARKTSCONFIG_CONTENT}) 123 …COMMAND $<TARGET_FILE:es2panda> ${ETS_MODULE_KEY} --arktsconfig ${ARKTSCONFIG} --output ${ABC_PATH… 124 …COMMAND $<TARGET_FILE:declgen_ets2ts> ${ETS_MODULE_KEY} --arktsconfig ${ARKTSCONFIG} --output ${DE… 125 DEPENDS es2panda declgen_ets2ts ${ETS_SOURCE} ${ARKTSCONFIG} 170 DEPENDS es2panda ark_link ${ABC_TARGETS} ${ARKTSCONFIG} ${COPIED_TS_SOURCES} ${DECL_FILES}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/passing_optional_type/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/strict_equality/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/exceptions/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/objects_passing/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/operator_new/ |
| D | CMakeLists.txt | 1 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/setter/ts_to_ets/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/js_to_ets/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_call_params/ts_to_sts/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interface/ts_to_ets/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_composite_types/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
| D | inspector_how_to.md | 6 [--arktsconfig path/to/your/arktsconfig.json] \
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/instanceof/ |
| D | CMakeLists.txt | 15 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 16 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_as_parameter/ts_to_sts/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/es_object/to_string/ |
| D | CMakeLists.txt | 14 set(ETS_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/arktsconfig.json) 15 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arktsconfig.in.json ${ETS_CONFIG})
|