Home
last modified time | relevance | path

Searched refs:arktsConfig (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/
H A Darktsconfig.cpp333 auto arktsConfig = std::make_unique<JsonObject>(*tsConfigSource); in Parse() local
334 if (!Check(arktsConfig->IsValid(), "ArkTsConfig is not valid json")) { in Parse()
340 auto extends = arktsConfig->GetValue<JsonObject::StringT>(EXTENDS); in Parse()
346 auto compilerOptions = arktsConfig->GetValue<JsonObject::JsonObjPointer>(COMPILER_OPTIONS); in Parse()
360 if (!ParseCollection(arktsConfig.get(), files_, FILES, concatPath)) { in Parse()
367 return ParseCollection(arktsConfig.get(), include_, INCLUDE, consPattern) && in Parse()
368 ParseCollection(arktsConfig.get(), exclude_, EXCLUDE, consPattern); in Parse()
424 static std::vector<fs::path> GetSourceList(const std::shared_ptr<ArkTsConfig> &arktsConfig) in GetSourceList() argument
426 auto includes = arktsConfig->Include(); in GetSourceList()
427 auto excludes = arktsConfig in GetSourceList()
501 FindProjectSources(const std::shared_ptr<ArkTsConfig> &arktsConfig) FindProjectSources() argument
[all...]
H A Doptions.h150 const ark::PandArg<std::string> &arktsConfig, const es2panda::CompilationMode &compMode) in DetermineExtension()
175 std::ifstream inputStream(arktsConfig.GetValue()); in DetermineExtension()
178 errorMsg_.append(arktsConfig.GetValue()); in DetermineExtension()
222 const ark::PandArg<std::string> &arktsConfig) in CheckEtsSpecificOptions()
230 if (!compilerOptions_.arktsConfig->Parse()) { in CheckEtsSpecificOptions()
232 errorMsg_.append(arktsConfig.GetValue()); in CheckEtsSpecificOptions()
149 DetermineExtension(const ark::PandArg<std::string> &inputExtension, const ark::PandArg<std::string> &arktsConfig, const es2panda::CompilationMode &compMode) DetermineExtension() argument
221 CheckEtsSpecificOptions(const es2panda::CompilationMode &compMode, const ark::PandArg<std::string> &arktsConfig) CheckEtsSpecificOptions() argument
H A DimportPathManager.h52 ImportPathManager(ark::ArenaAllocator *allocator, std::shared_ptr<ArkTsConfig> arktsConfig, std::string stdLib) in ImportPathManager() argument
54 arktsConfig_(std::move(arktsConfig)), in ImportPathManager()
H A Doptions.cpp300 ark::PandArg<std::string> arktsConfig; member
304 : arktsConfig {"arktsconfig", ark::es2panda::JoinPaths(ark::es2panda::ParentPath(argv0), "arktsconfig.json"), in AllArgs()
384 argparser.Add(&arktsConfig); in BindArgs()
467 compilerOptions.arktsConfig = std::make_shared<ark::es2panda::ArkTsConfig>(arktsConfig.GetValue()); in InitCompilerOptions()
591 DetermineExtension(allArgs.inputExtension, allArgs.arktsConfig, compilationMode); in Parse()
617 if (!CheckEtsSpecificOptions(compilationMode, allArgs.arktsConfig)) { in Parse()
H A Darktsconfig.h148 std::vector<std::pair<std::string, std::string>> FindProjectSources(const std::shared_ptr<ArkTsConfig> &arktsConfig);
/arkcompiler/ets_frontend/ets2panda/
H A Des2panda.h134 std::shared_ptr<ArkTsConfig> arktsConfig {};
/arkcompiler/ets_frontend/ets2panda/aot/
H A Dmain.cpp80 auto compilationList = FindProjectSources(options->CompilerOptions().arktsConfig); in CompileFromConfig()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.h445 return GetOptions().arktsConfig; in ArkTSConfig()

Completed in 5 milliseconds