Home
last modified time | relevance | path

Searched refs:CallExpression (Results 1 - 25 of 52) sorted by relevance

123

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DcallExpression.cpp25 void CallExpression::TransformChildren(const NodeTransformer &cb, std::string_view const transformationName) in TransformChildren()
47 void CallExpression::Iterate(const NodeTraverser &cb) const in Iterate()
64 void CallExpression::Dump(ir::AstDumper *dumper) const in Dump()
66 dumper->Add({{"type", "CallExpression"}, in Dump()
73 void CallExpression::Dump(ir::SrcDumper *dumper) const in Dump()
101 void CallExpression::Compile(compiler::PandaGen *pg) const in Compile()
106 void CallExpression::Compile(compiler::ETSGen *etsg) const in Compile()
111 checker::Type *CallExpression::Check(checker::TSChecker *checker) in Check()
116 bool CallExpression::IsETSConstructorCall() const in IsETSConstructorCall()
121 checker::Type *CallExpression
126 CallExpression::CallExpression(CallExpression const &other, ArenaAllocator *const allocator) CallExpression() function in ark::es2panda::ir::CallExpression
[all...]
H A DcallExpression.h36 class CallExpression : public MaybeOptionalExpression { class
38 CallExpression() = delete;
39 ~CallExpression() override = default;
41 NO_COPY_SEMANTIC(CallExpression);
42 NO_MOVE_SEMANTIC(CallExpression);
44 explicit CallExpression(Expression *const callee, ArenaVector<Expression *> &&arguments, in CallExpression() function in ark::es2panda::ark::es2panda::ark::es2panda::ir::CallExpression
55 explicit CallExpression(CallExpression const &other, ArenaAllocator *allocator);
148 [[nodiscard]] CallExpression *Clone(ArenaAllocator *allocator, AstNode *parent) override;
H A DdirectEvalExpression.h26 class DirectEvalExpression : public CallExpression {
30 : CallExpression(callee, std::move(arguments), typeParams, optional), parserStatus_(parserStatus) in DirectEvalExpression()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.h37 bool IsSucceedCompilationProxyMemberExpr(const ir::CallExpression *expr) const;
38 void GetDynamicNameParts(const ir::CallExpression *expr, ArenaVector<util::StringView> &parts) const;
39 void CompileDynamic(const ir::CallExpression *expr, compiler::VReg &calleeReg) const;
43 void EmitCall(const ir::CallExpression *expr, compiler::VReg &calleeReg, checker::Signature *signature) const;
H A DETSCompiler.cpp310 static void MaybeCastUnionTypeToFunctionType(compiler::ETSGen *etsg, const ir::CallExpression *expr, in MaybeCastUnionTypeToFunctionType()
667 static void ConvertRestArguments(checker::ETSChecker *const checker, const ir::CallExpression *expr, in ConvertRestArguments()
689 arrayExpression->SetParent(const_cast<ir::CallExpression *>(expr)); in ConvertRestArguments()
699 void ConvertArgumentsForFunctionalCall(checker::ETSChecker *const checker, const ir::CallExpression *expr) in ConvertArgumentsForFunctionalCall()
719 cast->SetParent(const_cast<ir::CallExpression *>(expr)); in ConvertArgumentsForFunctionalCall()
747 bool ETSCompiler::IsSucceedCompilationProxyMemberExpr(const ir::CallExpression *expr) const in IsSucceedCompilationProxyMemberExpr()
800 void ETSCompiler::CompileDynamic(const ir::CallExpression *expr, compiler::VReg &calleeReg) const in CompileDynamic()
832 void ETSCompiler::EmitCall(const ir::CallExpression *expr, compiler::VReg &calleeReg, in EmitCall()
851 static checker::Signature *ConvertArgumentsForFunctionReference(ETSGen *etsg, const ir::CallExpression *expr) in ConvertArgumentsForFunctionReference()
873 void ETSCompiler::Compile(const ir::CallExpression *exp
[all...]
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsLaunchExpression.h31 class CallExpression;
41 explicit ETSLaunchExpression(CallExpression *expr);
65 [[nodiscard]] const CallExpression *Call() const noexcept
71 CallExpression *expr_;
H A DetsLaunchExpression.cpp26 ETSLaunchExpression::ETSLaunchExpression(CallExpression *expr) in ETSLaunchExpression()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DetsLaunchExpressionBuilder.h29 ETSLaunchExpressionBuilder &SetExpression(CallExpression *expr) in SetExpression()
42 CallExpression *expr_ {};
H A DcallExpressionBuilder.h25 class CallExpressionBuilder : public AstBuilder<ir::CallExpression> {
50 CallExpression *Build() in Build()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DcallExpression.cpp38 void CallExpression::Iterate(const NodeTraverser &cb) const in Iterate()
51 void CallExpression::Dump(ir::AstDumper *dumper) const in Dump()
53 dumper->Add({{"type", "CallExpression"}, in Dump()
60 compiler::VReg CallExpression::CreateSpreadArguments(compiler::PandaGen *pg) const in CreateSpreadArguments()
68 void CallExpression::CompileSuperCallWithSpreadArgs(compiler::PandaGen *pg) const in CompileSuperCallWithSpreadArgs()
95 void CallExpression::CompileSuperCall(compiler::PandaGen *pg, bool containsSpread) const in CompileSuperCall()
141 void CallExpression::Compile(compiler::PandaGen *pg) const in Compile()
218 checker::Type *CallExpression::Check(checker::Checker *checker) const in Check()
232 void CallExpression::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
H A DcallExpression.h35 class CallExpression : public Expression { class
37 explicit CallExpression(Expression *callee, ArenaVector<Expression *> &&arguments, in CallExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::CallExpression
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.h49 checker::Signature *ResolveSignature(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType,
51 checker::Type *GetReturnType(ir::CallExpression *expr, checker::Type *calleeType) const;
53 checker::Type *GetCallExpressionReturnType(ir::CallExpression *expr, checker::Type *calleeType) const;
H A DETSAnalyzerHelpers.h44 ir::CallExpression *expr);
46 checker::ETSChecker *checker, ir::CallExpression *expr);
51 checker::ETSObjectType *ChooseCalleeObj(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType,
H A DETSchecker.h399 void MaybeSubstituteLambdaArgumentsInFunctionCall(ir::CallExpression *callExpr);
400 void MaybeSubstituteLambdaArgumentsInFunctionCallHelper(ir::CallExpression *callExpr, ir::Identifier *ident);
401 void MaybeSubstituteLambdaArguments(const ArenaVector<ir::Expression *> &params, ir::CallExpression *callExpr);
430 ir::CallExpression *callExpr, const lexer::SourcePosition &pos,
464 void ValidateSignatureAccessibility(ETSObjectType *callee, const ir::CallExpression *callExpr, Signature *signature,
694 void EnsureValidCurlyBrace(ir::CallExpression *callExpr);
697 void HandleUpdatedCallExpressionNode(ir::CallExpression *callExpr);
858 void MoveTrailingBlockToEnclosingBlockStatement(ir::CallExpression *callExpr);
859 void TransformTraillingLambda(ir::CallExpression *callExpr);
860 ArenaVector<ir::Expression *> ExtendArgumentsWithFakeLamda(ir::CallExpression *callExp
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DenumPostCheckLowering.cpp25 ir::CallExpression *EnumPostCheckLoweringPhase::CreateCall( in CreateCall()
38 return checker->AllocNode<ir::CallExpression>(callee, std::move(callArguments), nullptr, false); in CreateCall()
H A DenumPostCheckLowering.h34 ir::CallExpression *CreateCall(checker::ETSChecker *checker, ir::ClassDefinition *const classDef,
H A DoptionalLowering.cpp87 static ir::AstNode *LowerExpression(public_lib::Context *ctx, ir::CallExpression *const expr, in LowerExpression()
92 return LowerOptionalExpr<ir::CallExpression>([](auto *e) { return e->Callee(); }, in LowerExpression()
H A DstringComparison.cpp91 auto callExpression = checker->AllocNode<ir::CallExpression>(accessor, std::move(callArgs), nullptr, false, false); in ProcessBinaryExpression()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A Dhelpers.h40 bool ValidateMethodAccess(const ir::MemberExpression *memberExpression, const ir::CallExpression *ast);
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.h155 ir::CallExpression *CreateCallExpressionForTsModule(ir::TSModuleDeclaration *node,
171 ir::CallExpression *CreateGetOwnPropertyDescriptorCall(ir::Expression *target, ir::Expression *key);
172 ir::CallExpression *CreateDefinePropertyCall(ir::Expression *target, ir::Expression *key, ir::Expression *value);
206 ir::CallExpression *CreateCallExpressionForTsEnum(ir::TSEnumDeclaration *node, util::StringView name,
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
H A DmethodBuilder.cpp68 auto *callExpression = checker->AllocNode<ir::CallExpression>(callee, std::move(args), nullptr, false); in CreateTypedReturnStatement()
157 checker_->AllocNode<ir::CallExpression>(callee, std::move(callArguments), nullptr, false); in CreateSuperConstructorExpressionCall()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DforwardDeclForParserImpl.h36 class CallExpression;
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h76 void AnalyzeCall(const ir::CallExpression *callExpr);
H A Ddynamic.cpp333 auto *initCall = AllocNode<ir::CallExpression>(callee, ArenaVector<ir::Expression *>(Allocator()->Adapter()), in CreateDynamicCallClassInitializer()
421 auto *loadCall = AllocNode<ir::CallExpression>(callee, std::move(callParams), nullptr, false); in ClassInitializerFromImport()
517 auto *callLambda = AllocNode<ir::CallExpression>(callee, std::move(callParams), nullptr, false);
553 auto *initCall = AllocNode<ir::CallExpression>(callee, std::move(callParams), nullptr, false);
/arkcompiler/ets_frontend/es2panda/parser/
H A Dcommonjs.cpp98 // create CallExpression in ParseCommonjs()
107 auto *callExpr = AllocNode<ir::CallExpression>(reflectApply, std::move(arguments), nullptr, false); in ParseCommonjs()

Completed in 12 milliseconds

123