Home
last modified time | relevance | path

Searched refs:NewExpression (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DnewExpression.cpp26 NewExpression::NewExpression([[maybe_unused]] Tag const tag, NewExpression const &other, in NewExpression() function in ark::es2panda::ir::NewExpression
39 NewExpression *NewExpression::Clone(ArenaAllocator *const allocator, AstNode *const parent) in Clone()
41 if (auto *const clone = allocator->New<NewExpression>(Tag {}, *this, allocator); clone != nullptr) { in Clone()
50 void NewExpression::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
65 void NewExpression::Iterate(const NodeTraverser &cb) const in Iterate()
74 void NewExpression::Dump(ir::AstDumper *dumper) const in Dump()
76 dumper->Add({{"type", "NewExpression"}, {"calle in Dump()
[all...]
H A DnewExpression.h26 class NewExpression : public Expression { class
31 NewExpression() = delete;
32 ~NewExpression() override = default;
34 NO_COPY_SEMANTIC(NewExpression);
35 NO_MOVE_SEMANTIC(NewExpression);
37 explicit NewExpression(Expression *const callee, ArenaVector<Expression *> &&arguments) in NewExpression() function in ark::es2panda::ark::es2panda::ir::NewExpression
41 explicit NewExpression(Tag tag, NewExpression const &other, ArenaAllocator *allocator);
56 [[nodiscard]] NewExpression *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DnewExpression.cpp27 void NewExpression::Iterate(const NodeTraverser &cb) const in Iterate()
40 void NewExpression::Dump(ir::AstDumper *dumper) const in Dump()
42 dumper->Add({{"type", "NewExpression"}, {"callee", callee_}, {"typeParameters", AstDumper::Optional(typeParams_)}, in Dump()
46 void NewExpression::Compile(compiler::PandaGen *pg) const in Compile()
70 checker::Type *NewExpression::Check(checker::Checker *checker) const in Check()
84 void NewExpression::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
H A DnewExpression.h34 class NewExpression : public Expression { class
36 explicit NewExpression(Expression *callee, TSTypeParameterInstantiation *typeParams, in NewExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::NewExpression
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DnewExpressionBuilder.h25 class NewExpressionBuilder : public AstBuilder<ir::NewExpression> {
50 NewExpression *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h53 class NewExpression;
H A DexpressionParser.cpp775 // parse callee part of NewExpression in ParseNewExpression()
785 auto *newExprNode = AllocNode<ir::NewExpression>(callee, std::move(arguments)); in ParseNewExpression()
793 // parse argument part of NewExpression in ParseNewExpression()
814 auto *newExprNode = AllocNode<ir::NewExpression>(callee, std::move(arguments)); in ParseNewExpression()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h65 _(NEW_EXPRESSION, NewExpression) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h70 _(NEW_EXPRESSION, NewExpression) \
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompilerUnrechable.cpp176 void ETSCompiler::Compile([[maybe_unused]] const ir::NewExpression *expr) const in Compile()
H A DJSCompiler.cpp757 void JSCompiler::Compile(const ir::NewExpression *expr) const in Compile()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h88 class NewExpression;
H A DETSAnalyzerUnreachable.cpp121 checker::Type *ETSAnalyzer::Check([[maybe_unused]] ir::NewExpression *expr) const in Check()
H A DTSAnalyzer.cpp685 checker::Type *TSAnalyzer::Check(ir::NewExpression *expr) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h67 class NewExpression;
435 ir::NewExpression *ParseNewExpression();
H A DexpressionParser.cpp926 ir::NewExpression *ParserImpl::ParseNewExpression() in ParseNewExpression()
932 // parse callee part of NewExpression in ParseNewExpression()
938 // parse type params of NewExpression in ParseNewExpression()
956 auto *newExprNode = AllocNode<ir::NewExpression>(callee, typeParamInst, std::move(arguments)); in ParseNewExpression()
964 // parse argument part of NewExpression in ParseNewExpression()
985 auto *newExprNode = AllocNode<ir::NewExpression>(callee, typeParamInst, std::move(arguments)); in ParseNewExpression()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h88 class NewExpression;

Completed in 24 milliseconds