Home
last modified time | relevance | path

Searched refs:targetApiVersion (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/parser/program/
H A Dprogram.h183 void SetTargetApiVersion(int targetApiVersion) in SetTargetApiVersion() argument
185 targetApiVersion_ = targetApiVersion; in SetTargetApiVersion()
/arkcompiler/ets_frontend/es2panda/
H A Des2panda.cpp71 if (options.targetApiVersion < util::Helpers::ABC_TO_PROGRAM_MIN_SUPPORTED_API_VERSION) { in CheckOptionsAndFileForAbcInput()
72 throw Error(ErrorType::GENERIC, "Target api version '" + std::to_string(options.targetApiVersion) + in CheckOptionsAndFileForAbcInput()
84 options.targetApiVersion, options.targetApiSubVersion)) { in CheckOptionsAndFileForAbcInput()
229 if (!symbolTable->Initialize(options.targetApiVersion, options.targetApiSubVersion)) { in CompileFiles()
H A Des2panda.h111 int targetApiVersion {0};
/arkcompiler/ets_frontend/es2panda/util/
H A DsymbolTable.cpp28 bool SymbolTable::Initialize(int targetApiVersion, std::string targetApiSubVersion) in Initialize() argument
30 targetApiVersion_ = targetApiVersion; in Initialize()
H A DsymbolTable.h47 bool Initialize(int targetApiVersion, std::string targetApiSubVersion);
/arkcompiler/ets_frontend/es2panda/aot/
H A DemitFiles.cpp48 auto targetApi = options_->CompilerOptions().targetApiVersion; in Schedule()
H A Doptions.cpp425 panda::PandArg<int> targetApiVersion("target-api-version", 15, in Parse()
502 argparser_->Add(&targetApiVersion); in Parse()
520 compilerOptions_.targetApiVersion = targetApiVersion.GetValue(); in Parse()
H A Dmain.cpp61 auto pandaFile = panda::pandasm::AsmEmitter::Emit(*prog, nullptr, options->CompilerOptions().targetApiVersion, in GenerateBase64Output()
315 auto bcVersionByApi = panda::panda_file::GetVersionByApi(options->CompilerOptions().targetApiVersion, in Run()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp55 int targetApiVersion = Binder()->Program()->TargetApiVersion(); in SetFunctionKind() local
87 if (func->IsSendable() && targetApiVersion >= util::Helpers::SENDABLE_FUNCTION_MIN_SUPPORTED_API_VERSION) { in SetFunctionKind()
105 if (func->IsSendable() && targetApiVersion >= util::Helpers::SENDABLE_FUNCTION_MIN_SUPPORTED_API_VERSION) { in SetFunctionKind()
1786 auto targetApiVersion = Binder()->Program()->TargetApiVersion(); in LoadExternalModuleVariable() local
1791 if (inSendable_ && targetApiVersion >= util::Helpers::SENDABLE_LAZY_LOADING_MIN_SUPPORTED_API_VERSION) { in LoadExternalModuleVariable()
1803 if (inSendable_ && targetApiVersion >= util::Helpers::SENDABLE_LAZY_LOADING_MIN_SUPPORTED_API_VERSION) { in LoadExternalModuleVariable()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp138 program_.SetTargetApiVersion(options.targetApiVersion); in Parse()

Completed in 14 milliseconds