/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | callExpression.cpp | 25 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 D | callExpression.h | 36 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 D | directEvalExpression.h | 26 class DirectEvalExpression : public CallExpression { 30 : CallExpression(callee, std::move(arguments), typeParams, optional), parserStatus_(parserStatus) in DirectEvalExpression()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSCompiler.h | 37 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 D | ETSCompiler.cpp | 310 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 D | etsLaunchExpression.h | 31 class CallExpression; 41 explicit ETSLaunchExpression(CallExpression *expr); 65 [[nodiscard]] const CallExpression *Call() const noexcept 71 CallExpression *expr_;
|
H A D | etsLaunchExpression.cpp | 26 ETSLaunchExpression::ETSLaunchExpression(CallExpression *expr) in ETSLaunchExpression()
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | etsLaunchExpressionBuilder.h | 29 ETSLaunchExpressionBuilder &SetExpression(CallExpression *expr) in SetExpression() 42 CallExpression *expr_ {};
|
H A D | callExpressionBuilder.h | 25 class CallExpressionBuilder : public AstBuilder<ir::CallExpression> { 50 CallExpression *Build() in Build()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | callExpression.cpp | 38 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 D | callExpression.h | 35 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 D | ETSAnalyzer.h | 49 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 D | ETSAnalyzerHelpers.h | 44 ir::CallExpression *expr); 46 checker::ETSChecker *checker, ir::CallExpression *expr); 51 checker::ETSObjectType *ChooseCalleeObj(ETSChecker *checker, ir::CallExpression *expr, checker::Type *calleeType,
|
H A D | ETSchecker.h | 399 void MaybeSubstituteLambdaArgumentsInFunctionCall(ir::CallExpression *callExpr); 400 void MaybeSubstituteLambdaArgumentsInFunctionCallHelper(ir::CallExpression *callExpr, ir::Identifier *ident); 401 void MaybeSubstituteLambdaArguments(const ArenaVector<ir::Expression *> ¶ms, 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 D | enumPostCheckLowering.cpp | 25 ir::CallExpression *EnumPostCheckLoweringPhase::CreateCall( in CreateCall() 38 return checker->AllocNode<ir::CallExpression>(callee, std::move(callArguments), nullptr, false); in CreateCall()
|
H A D | enumPostCheckLowering.h | 34 ir::CallExpression *CreateCall(checker::ETSChecker *checker, ir::ClassDefinition *const classDef,
|
H A D | optionalLowering.cpp | 87 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 D | stringComparison.cpp | 91 auto callExpression = checker->AllocNode<ir::CallExpression>(accessor, std::move(callArgs), nullptr, false, false); in ProcessBinaryExpression()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | helpers.h | 40 bool ValidateMethodAccess(const ir::MemberExpression *memberExpression, const ir::CallExpression *ast);
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.h | 155 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 D | methodBuilder.cpp | 68 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 D | forwardDeclForParserImpl.h | 36 class CallExpression;
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | aliveAnalyzer.h | 76 void AnalyzeCall(const ir::CallExpression *callExpr);
|
H A D | dynamic.cpp | 333 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 D | commonjs.cpp | 98 // create CallExpression in ParseCommonjs() 107 auto *callExpr = AllocNode<ir::CallExpression>(reflectApply, std::move(arguments), nullptr, false); in ParseCommonjs()
|