/arkcompiler/ets_frontend/es2panda/test/ |
D | test_tsc_ignore_list.txt | 1 es2panda/test/TypeScript/tests/cases/compiler/bom-utf16be.ts 2 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInType.ts 3 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts 4 es2panda/test/TypeScript/tests/cases/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts 5 es2panda/test/TypeScript/tests/cases/compiler/isLiteral1.ts 6 es2panda/test/TypeScript/tests/cases/compiler/isLiteral2.ts 7 es2panda/test/TypeScript/tests/cases/compiler/letAsIdentifier2.ts 8 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts 9 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES6.ts 10 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForOf_ES5.ts [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | compileQueue.h | 28 namespace panda::es2panda::binder { 32 namespace panda::es2panda::compiler { 75 explicit CompileFileJob(es2panda::SourceFile *src, es2panda::CompilerOptions *options, in CompileFileJob() 76 std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, in CompileFileJob() 87 es2panda::SourceFile *src_; 88 es2panda::CompilerOptions *options_; 89 std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_; 111 explicit CompileFileQueue(size_t threadCount, es2panda::CompilerOptions *options, in CompileFileQueue() 112 … std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, in CompileFileQueue() 124 es2panda::CompilerOptions *options_; [all …]
|
/arkcompiler/ets_frontend/es2panda/aot/ |
D | main.cpp | 31 namespace panda::es2panda::aot { namespace 84 static bool GenerateProgramsByWorkers(const std::map<std::string, panda::es2panda::util::ProgramCac… in GenerateProgramsByWorkers() 85 …const std::unique_ptr<panda::es2panda::aot::Options> &options, std::map<std::string, size_t> *stat… in GenerateProgramsByWorkers() 87 auto queue = new panda::es2panda::aot::EmitFileQueue(options, statp, programsInfo); in GenerateProgramsByWorkers() 105 static void DumpProgramInfos(const std::map<std::string, panda::es2panda::util::ProgramCache*> &pro… in DumpProgramInfos() 106 const std::unique_ptr<panda::es2panda::aot::Options> &options) in DumpProgramInfos() 108 const es2panda::CompilerOptions &compilerOptions = options->CompilerOptions(); in DumpProgramInfos() 112 es2panda::Compiler::DumpAsm(&(progInfo.second->program)); in DumpProgramInfos() 116 … panda::es2panda::util::Dumper::DumpLiterals(progInfo.second->program.literalarray_table); in DumpProgramInfos() 122 static bool GenerateProgram(const std::map<std::string, panda::es2panda::util::ProgramCache*> &prog… in GenerateProgram() [all …]
|
D | emitFiles.h | 24 namespace panda::es2panda::aot { 44 … const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo) in EmitMergedAbcJob() 53 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_; 58 …explicit EmitCacheJob(const std::string &outputProtoName, panda::es2panda::util::ProgramCache *pro… in EmitCacheJob() 67 panda::es2panda::util::ProgramCache *progCache_; 72 explicit EmitFileQueue(const std::unique_ptr<panda::es2panda::aot::Options> &options, in EmitFileQueue() 74 … const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo) in EmitFileQueue() 87 const std::unique_ptr<panda::es2panda::aot::Options> &options_; 89 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_;
|
D | CMakeLists.txt | 19 panda_add_executable(es2panda ${ES2PANDA_AOT_SRC}) 20 target_link_libraries(es2panda es2panda-lib arkassembler arkbytecodeopt) 21 target_include_directories(es2panda PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) 24 target_compile_options(es2panda 29 target_compile_options(es2panda 33 panda_add_sanitizers(TARGET es2panda SANITIZERS ${PANDA_SANITIZERS_LIST}) 34 panda_add_to_clang_tidy(TARGET es2panda CHECKS
|
D | options.h | 33 namespace panda::es2panda::aot { 63 const es2panda::CompilerOptions &CompilerOptions() const in CompilerOptions() 68 es2panda::CompilerOptions &CompilerOptions() in CompilerOptions() 73 es2panda::parser::ScriptKind ScriptKind() const in ScriptKind() 135 es2panda::CompilerOptions compilerOptions_ {}; 136 es2panda::parser::ScriptKind scriptKind_ {es2panda::parser::ScriptKind::SCRIPT}; 150 std::vector<es2panda::SourceFile> sourceFiles_;
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | concurrent.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::ir { 31 namespace panda::es2panda::binder { 35 namespace panda::es2panda::lexer { 39 namespace panda::es2panda::util {
|
D | moduleHelpers.h | 24 namespace panda::es2panda::util { 27 …static void CompileNpmModuleEntryList(const std::string &entriesInfo, panda::es2panda::CompilerOpt… 28 …std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, panda::ArenaAllocator *all…
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | protobufSnapshotGenerator.cpp | 28 std::fstream output = panda::es2panda::util::Helpers::FileStream<std::fstream>( in GenerateSnapshot() 42 std::fstream input = panda::es2panda::util::Helpers::FileStream<std::fstream>( in GenerateProgram() 57 panda::es2panda::util::ProgramCache *ProtobufSnapshotGenerator::GetCacheContext(const std::string &… in GetCacheContext() 60 std::fstream input = panda::es2panda::util::Helpers::FileStream<std::fstream>( in GetCacheContext() 76 …auto *programCache = allocator->New<panda::es2panda::util::ProgramCache>(hashCode, std::move(*prog… in GetCacheContext() 81 void ProtobufSnapshotGenerator::UpdateCacheFile(const panda::es2panda::util::ProgramCache *programC… in UpdateCacheFile() 89 std::fstream output = panda::es2panda::util::Helpers::FileStream<std::fstream>( in UpdateCacheFile()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | doWhileStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | loopStatement.h | 21 namespace panda::es2panda::binder { 25 namespace panda::es2panda::compiler { 29 namespace panda::es2panda::checker { 34 namespace panda::es2panda::ir {
|
D | whileStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | blockStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | switchStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | forInStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | forOfStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
D | forUpdateStatement.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsTypeReference.h | 21 namespace panda::es2panda::binder { 26 namespace panda::es2panda::compiler { 30 namespace panda::es2panda::checker { 35 namespace panda::es2panda::ir {
|
D | tsTypeParameterDeclaration.h | 21 namespace panda::es2panda::binder { 25 namespace panda::es2panda::compiler { 29 namespace panda::es2panda::checker { 34 namespace panda::es2panda::ir {
|
D | tsTypeAliasDeclaration.h | 21 namespace panda::es2panda::binder { 25 namespace panda::es2panda::compiler { 29 namespace panda::es2panda::checker { 34 namespace panda::es2panda::ir {
|
D | tsFunctionType.h | 21 namespace panda::es2panda::binder { 25 namespace panda::es2panda::compiler { 29 namespace panda::es2panda::checker { 34 namespace panda::es2panda::ir {
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
D | catchClause.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::binder { 34 namespace panda::es2panda::ir {
|
/arkcompiler/ets_frontend/es2panda/ |
D | es2abc_config.gni | 16 es2abc_root = "//arkcompiler/ets_frontend/es2panda" 23 get_label_info("$es2abc_root:es2panda($toolchain_mac)", "root_out_dir") 24 es2abc_build_deps = [ "$es2abc_root:es2panda($toolchain_mac)" ] 27 get_label_info("$es2abc_root:es2panda($toolchain_win)", "root_out_dir") 28 es2abc_build_deps = [ "$es2abc_root:es2panda($toolchain_win)" ] 31 get_label_info("$es2abc_root:es2panda($toolchain_linux)", "root_out_dir") 32 es2abc_build_deps = [ "$es2abc_root:es2panda($toolchain_linux)" ]
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | omittedExpression.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::ir {
|
D | superExpression.h | 21 namespace panda::es2panda::compiler { 25 namespace panda::es2panda::checker { 30 namespace panda::es2panda::ir {
|