Home
last modified time | relevance | path

Searched refs:es2panda (Results 1 - 25 of 1582) sorted by relevance

12345678910>>...64

/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_builder_test.cpp61 using ark::es2panda::compiler::ast_verifier::InvariantNameSet;
62 using ark::es2panda::ir::AwaitExpressionBuilder;
63 using ark::es2panda::ir::BigIntLiteralBuilder;
64 using ark::es2panda::ir::BinaryExpressionBuilder;
65 using ark::es2panda::ir::BlockExpressionBuilder;
66 using ark::es2panda::ir::BlockStatementBuilder;
67 using ark::es2panda::ir::BooleanLiteralBuilder;
68 using ark::es2panda::ir::BreakStatementBuilder;
69 using ark::es2panda::ir::CallExpressionBuilder;
70 using ark::es2panda
[all...]
H A Dast_verifier_check_abstract_call_test.cpp24 using ark::es2panda::checker::SignatureFlags;
25 using ark::es2panda::compiler::ast_verifier::ASTVerifier;
26 using ark::es2panda::compiler::ast_verifier::InvariantNameSet;
27 using ark::es2panda::ir::AstNode;
28 using ark::es2panda::ir::Identifier;
29 using ark::es2panda::ir::MemberExpression;
30 using ark::es2panda::ir::MemberExpressionKind;
31 using ark::es2panda::ir::SuperExpression;
37 ark::es2panda::checker::ETSChecker checker; in TEST_F()
60 ast->IterateRecursively([&checker, this](ark::es2panda in TEST_F()
[all...]
H A Dast_verifier_short_test.cpp28 using ark::es2panda::CompilerOptions;
29 using ark::es2panda::ScriptExtension;
30 using ark::es2panda::checker::ETSChecker;
31 using ark::es2panda::compiler::ast_verifier::ASTVerifier;
32 using ark::es2panda::compiler::ast_verifier::InvariantNameSet;
33 using ark::es2panda::ir::BinaryExpression;
34 using ark::es2panda::ir::BooleanLiteral;
35 using ark::es2panda::ir::Expression;
36 using ark::es2panda::ir::Identifier;
37 using ark::es2panda
[all...]
H A Dast_verifier_protected_access_correct_test.cpp19 using ark::es2panda::compiler::ast_verifier::ASTVerifier;
20 using ark::es2panda::compiler::ast_verifier::InvariantNameSet;
21 using ark::es2panda::ir::ETSScript;
48 ->AddModifier(ark::es2panda::ir::ModifierFlags::PROTECTED); in TEST_F()
H A Dast_verifier_getter_setter_neg_test.cpp22 using ark::es2panda::checker::ETSChecker;
23 using ark::es2panda::compiler::ast_verifier::ASTVerifier;
24 using ark::es2panda::compiler::ast_verifier::InvariantNameSet;
25 using ark::es2panda::ir::AstNode;
26 using ark::es2panda::ir::ETSParameterExpression;
27 using ark::es2panda::ir::Identifier;
28 using ark::es2panda::ir::MethodDefinitionKind;
57 ast->IterateRecursively([&checker](ark::es2panda::ir::AstNode *child) { in TEST_F()
104 ast->IterateRecursively([](ark::es2panda::ir::AstNode *child) { in TEST_F()
151 ast->IterateRecursively([&checker](ark::es2panda in TEST_F()
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DcompileQueue.h30 namespace panda::es2panda::binder {
32 } // namespace panda::es2panda::binder
34 namespace panda::es2panda::compiler {
77 explicit CompileFileJob(es2panda::SourceFile *src, es2panda::CompilerOptions *options, in CompileFileJob()
78 std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, in CompileFileJob()
96 es2panda::SourceFile *src_;
97 es2panda::CompilerOptions *options_;
98 std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_;
107 const es2panda in CompileAbcClassJob()
[all...]
H A DcompilerImpl.h19 #include <es2panda.h>
31 namespace panda::es2panda::parser {
33 } // namespace panda::es2panda::parser
35 namespace panda::es2panda::compiler {
45 panda::pandasm::Program *Compile(parser::Program *program, const es2panda::CompilerOptions &options,
59 } // namespace panda::es2panda::compiler
/arkcompiler/ets_frontend/ets2panda/util/
H A Doptions.h20 #include "es2panda.h"
35 namespace ark::es2panda::util {
74 es2panda::ScriptExtension Extension() const in Extension()
79 const es2panda::CompilerOptions &CompilerOptions() const in CompilerOptions()
84 void SetCompilerOptions(const es2panda::CompilerOptions &options) in SetCompilerOptions()
150 const ark::PandArg<std::string> &arktsConfig, const es2panda::CompilationMode &compMode) in DetermineExtension()
162 extension_ = es2panda::ScriptExtension::JS; in DetermineExtension()
165 extension_ = es2panda::ScriptExtension::INVALID; in DetermineExtension()
169 extension_ = es2panda::ScriptExtension::TS; in DetermineExtension()
171 extension_ = es2panda in DetermineExtension()
[all...]
/arkcompiler/ets_frontend/es2panda/aot/
H A Dmain.cpp26 #include <es2panda.h>
36 namespace panda::es2panda::aot {
59 const std::unique_ptr<panda::es2panda::aot::Options> &options) in GenerateBase64Output()
120 static bool GenerateProgramsByWorkers(const std::map<std::string, panda::es2panda::util::ProgramCache*> &programsInfo, in GenerateProgramsByWorkers()
121 const std::unique_ptr<panda::es2panda::aot::Options> &options, std::map<std::string, size_t> *statp) in GenerateProgramsByWorkers()
123 auto queue = new panda::es2panda::aot::EmitFileQueue(options, statp, programsInfo); in GenerateProgramsByWorkers()
141 static void DumpProgramInfos(const std::map<std::string, panda::es2panda::util::ProgramCache*> &programsInfo, in DumpProgramInfos()
142 const std::unique_ptr<panda::es2panda::aot::Options> &options) in DumpProgramInfos()
144 const es2panda::CompilerOptions &compilerOptions = options->CompilerOptions(); in DumpProgramInfos()
155 es2panda in DumpProgramInfos()
[all...]
H A Doptions.h19 #include <es2panda.h>
34 namespace panda::es2panda::aot {
65 const es2panda::CompilerOptions &CompilerOptions() const in CompilerOptions()
70 es2panda::CompilerOptions &CompilerOptions() in CompilerOptions()
75 es2panda::parser::ScriptKind ScriptKind() const in ScriptKind()
155 es2panda::CompilerOptions compilerOptions_ {};
162 es2panda::parser::ScriptKind scriptKind_ {es2panda::parser::ScriptKind::SCRIPT};
177 std::vector<es2panda::SourceFile> sourceFiles_;
182 } // namespace panda::es2panda
[all...]
H A DemitFiles.h25 namespace panda::es2panda::aot {
48 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, in EmitMergedAbcJob()
60 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_;
67 explicit EmitCacheJob(const std::string &outputProtoName, panda::es2panda::util::ProgramCache *progCache) in EmitCacheJob()
76 panda::es2panda::util::ProgramCache *progCache_;
81 explicit EmitFileQueue(const std::unique_ptr<panda::es2panda::aot::Options> &options, in EmitFileQueue()
83 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo) in EmitFileQueue()
97 const std::unique_ptr<panda::es2panda::aot::Options> &options_;
99 const std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo_;
102 } // namespace panda::es2panda
[all...]
H A DresolveDepsRelation.h25 #include <es2panda.h>
28 namespace panda::es2panda::aot {
32 explicit DepsRelationResolver(const std::map<std::string, panda::es2panda::util::ProgramCache *> &progsInfo, in DepsRelationResolver()
33 const std::unique_ptr<panda::es2panda::aot::Options> &options, in DepsRelationResolver()
53 const std::map<std::string, panda::es2panda::util::ProgramCache *> &progsInfo_;
60 } // namespace panda::es2panda::aot
/arkcompiler/ets_frontend/es2panda/util/
H A Dconcurrent.h21 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
[all...]
H A DmoduleHelpers.h20 #include <es2panda.h>
24 namespace panda::es2panda::util {
27 static void CompileNpmModuleEntryList(const std::string &entriesInfo, panda::es2panda::CompilerOptions &options,
28 std::map<std::string, panda::es2panda::util::ProgramCache*> &progsInfo, panda::ArenaAllocator *allocator);
30 } // panda::es2panda::util
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
H A DclassBuilder.h27 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
45 namespace ark::es2panda::evaluate {
74 } // namespace ark::es2panda
[all...]
/arkcompiler/ets_frontend/merge_abc/src/
H A DprotobufSnapshotGenerator.cpp28 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 &cacheFilePath, in GetCacheContext()
60 std::fstream input = panda::es2panda::util::Helpers::FileStream<std::fstream>( in GetCacheContext()
77 auto *programCache = allocator->New<panda::es2panda::util::ProgramCache>(hashCode, std::move(*program)); in GetCacheContext()
82 void ProtobufSnapshotGenerator::UpdateCacheFile(const panda::es2panda::util::ProgramCache *programCache, in UpdateCacheFile()
90 std::fstream output = panda::es2panda::util::Helpers::FileStream<std::fstream>( in UpdateCacheFile()
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A Dmain.cpp20 namespace ark::es2panda::declgen_ets2ts {
29 auto *cfgImpl = reinterpret_cast<ark::es2panda::public_lib::ConfigImpl *>(cfg); in Run()
34 auto *ctxImpl = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in Run()
49 } // namespace ark::es2panda::declgen_ets2ts
53 return ark::es2panda::declgen_ets2ts::Run(argc, argv); in main()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DirCheckHelper.h22 namespace ark::es2panda::checker {
24 } // namespace ark::es2panda::checker
26 namespace ark::es2panda::ir {
28 } // namespace ark::es2panda::ir
30 namespace ark::es2panda::parser {
32 } // namespace ark::es2panda::parser
34 namespace ark::es2panda::varbinder {
37 } // namespace ark::es2panda::varbinder
39 namespace ark::es2panda::evaluate {
104 } // namespace ark::es2panda
[all...]
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserFlags.h22 namespace ark::es2panda::parser {
82 } // namespace ark::es2panda::parser
87 struct IsAllowedType<ark::es2panda::parser::LexicalScopeType> : std::true_type {
91 struct IsAllowedType<ark::es2panda::parser::VariableParsingFlags> : std::true_type {
95 struct IsAllowedType<ark::es2panda::parser::ExpressionParseFlags> : std::true_type {
99 struct IsAllowedType<ark::es2panda::parser::StatementParsingFlags> : std::true_type {
/arkcompiler/ets_frontend/ets2panda/aot/
H A Dmain.cpp21 #include "es2panda.h"
31 namespace ark::es2panda::aot {
54 static int CompileFromSource(es2panda::Compiler &compiler, es2panda::SourceFile &input, util::Options *options) in CompileFromSource()
78 static int CompileFromConfig(es2panda::Compiler &compiler, util::Options *options) in CompileFromConfig()
98 es2panda::SourceFile input(src, parserInput, options->ParseModule()); in CompileFromConfig()
101 options->ListFiles() && std::cout << "> es2panda: compiling from '" << src << "' to '" << dst << "'" in CompileFromConfig()
105 std::cout << "> es2panda: failed to compile from " << src << " to " << dst << std::endl; in CompileFromConfig()
143 es2panda::Compiler compiler(options->Extension(), options->ThreadCount(), std::move(pluginsOpt.value())); in Run()
164 es2panda in Run()
[all...]
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DforInStatement.h21 namespace panda::es2panda::compiler {
23 } // namespace panda::es2panda::compiler
25 namespace panda::es2panda::checker {
28 } // namespace panda::es2panda::checker
30 namespace panda::es2panda::binder {
32 } // namespace panda::es2panda::binder
34 namespace panda::es2panda::ir {
87 } // namespace panda::es2panda::ir
H A DblockStatement.h21 namespace panda::es2panda::compiler {
23 } // namespace panda::es2panda::compiler
25 namespace panda::es2panda::checker {
28 } // namespace panda::es2panda::checker
30 namespace panda::es2panda::binder {
32 } // namespace panda::es2panda::binder
34 namespace panda::es2panda::ir {
66 } // namespace panda::es2panda::ir
H A DwhileStatement.h21 namespace panda::es2panda::compiler {
23 } // namespace panda::es2panda::compiler
25 namespace panda::es2panda::checker {
28 } // namespace panda::es2panda::checker
30 namespace panda::es2panda::binder {
32 } // namespace panda::es2panda::binder
34 namespace panda::es2panda::ir {
76 } // namespace panda::es2panda::ir
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DcatchClause.h21 namespace panda::es2panda::compiler {
23 } // namespace panda::es2panda::compiler
25 namespace panda::es2panda::checker {
28 } // namespace panda::es2panda::checker
30 namespace panda::es2panda::binder {
32 } // namespace panda::es2panda::binder
34 namespace panda::es2panda::ir {
83 } // namespace panda::es2panda::ir
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsTypeAliasDeclaration.h21 namespace panda::es2panda::binder {
23 } // namespace panda::es2panda::binder
25 namespace panda::es2panda::compiler {
27 } // namespace panda::es2panda::compiler
29 namespace panda::es2panda::checker {
32 } // namespace panda::es2panda::checker
34 namespace panda::es2panda::ir {
83 } // namespace panda::es2panda::ir

Completed in 8 milliseconds

12345678910>>...64