Home
last modified time | relevance | path

Searched refs:arguments_ (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DnewExpressionBuilder.h28 : AstBuilder(allocator), arguments_(Allocator()->Adapter()) in NewExpressionBuilder()
40 arguments_ = std::move(arguments); in SetArguments()
46 arguments_.emplace_back(arguments); in AddArguments()
52 auto *node = AllocNode(callee_, std::move(arguments_)); in Build()
58 ArenaVector<Expression *> arguments_; member in ark::es2panda::ir::NewExpressionBuilder
H A DcallExpressionBuilder.h28 : AstBuilder(allocator), arguments_(Allocator()->Adapter()) in CallExpressionBuilder()
40 arguments_ = std::move(arguments); in SetArguments()
46 arguments_.emplace_back(arguments); in SetArguments()
52 auto *node = AllocNode(callee_, std::move(arguments_), nullptr, false); in Build()
58 ArenaVector<Expression *> arguments_; member in ark::es2panda::ir::CallExpressionBuilder
H A DdirectEvalExpressionBuilder.h28 : AstBuilder(allocator), arguments_(Allocator()->Adapter()) in DirectEvalExpressionBuilder()
40 arguments_ = std::move(arguments); in SetArguments()
46 arguments_.emplace_back(arguments); in SetArguments()
58 auto *node = AllocNode(callee_, std::move(arguments_), nullptr, false, parserStatus_); in Build()
64 ArenaVector<Expression *> arguments_; member in ark::es2panda::ir::DirectEvalExpressionBuilder
H A DetsNewClassInstanceExpressionBuilder.h28 : AstBuilder(allocator), arguments_(Allocator()->Adapter()) in ETSNewClassInstanceExpressionBuilder()
46 arguments_.emplace_back(argument); in AddArgument()
52 auto *node = AllocNode(typeReference_, std::move(arguments_), classDef_); in Build()
58 ArenaVector<ir::Expression *> arguments_; member in ark::es2panda::ir::ETSNewClassInstanceExpressionBuilder
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DnewExpression.cpp35 for (auto *it : arguments_) { in Iterate()
43 {"arguments", arguments_}}); in Dump()
54 if (!util::Helpers::ContainSpreadElement(arguments_)) { in Compile()
55 for (const auto *it : arguments_) { in Compile()
61 pg->NewObject(this, ctor, arguments_.size() + 1); in Compile()
65 pg->CreateArray(this, arguments_, argsObj); in Compile()
77 return checker->resolveCallOrNewExpression(calleeObj->ConstructSignatures(), arguments_, Start()); in Check()
88 for (auto iter = arguments_.begin(); iter != arguments_.end(); iter++) { in UpdateSelf()
H A DcallExpression.cpp46 for (auto *it : arguments_) { in Iterate()
55 {"arguments", arguments_}, in Dump()
63 pg->CreateArray(this, arguments_, argsObj); in CreateSpreadArguments()
83 arguments_[0]->AsSpreadElement()->Argument()->Compile(pg); in CompileSuperCallWithSpreadArgs()
103 if (arguments_.empty()) { in CompileSuperCall()
111 for (const auto *it : arguments_) { in CompileSuperCall()
117 pg->SuperCall(this, argStart, arguments_.size()); in CompileSuperCall()
161 bool containsSpread = util::Helpers::ContainSpreadElement(arguments_); in Compile()
204 for (const auto *it : arguments_) { in Compile()
211 pg->CallThis(this, callee, static_cast<int64_t>(arguments_ in Compile()
[all...]
H A DcallExpression.h41 arguments_(std::move(arguments)), in CallExpression()
64 return arguments_; in Arguments()
69 return arguments_; in Arguments()
100 ArenaVector<Expression *> arguments_; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::CallExpression
H A DnewExpression.h39 typeParams_(typeParams), arguments_(std::move(arguments)) in NewExpression()
55 return arguments_; in Arguments()
67 ArenaVector<Expression *> arguments_; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::NewExpression
/arkcompiler/ets_frontend/ets2panda/ir/ets/
H A DetsNewClassInstanceExpression.cpp32 for (auto *&arg : arguments_) { in TransformChildren()
51 for (auto *arg : arguments_) { in Iterate()
64 {"arguments", arguments_}, in Dump()
75 for (auto argument : arguments_) { in Dump()
77 if (argument != arguments_.back()) { in Dump()
106 : Expression(static_cast<Expression const &>(other)), arguments_(allocator->Adapter()), signature_(other.signature_) in ETSNewClassInstanceExpression()
112 for (auto *const argument : other.arguments_) { in ETSNewClassInstanceExpression()
113 arguments_.emplace_back(argument->Clone(allocator, this)->AsExpression()); in ETSNewClassInstanceExpression()
H A DetsNewClassInstanceExpression.h48 arguments_(std::move(arguments)), in ETSNewClassInstanceExpression()
75 return arguments_;
90 arguments_.insert(arguments_.begin(), expr); in AddToArgumentsFront()
112 ArenaVector<ir::Expression *> arguments_; member in ark::es2panda::ark::es2panda::ark::es2panda::ir::ETSNewClassInstanceExpression
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DnewExpression.cpp28 : Expression(static_cast<Expression const &>(other)), arguments_(allocator->Adapter()) in NewExpression()
34 for (auto *argument : other.arguments_) { in NewExpression()
35 arguments_.emplace_back(argument->Clone(allocator, this)->AsExpression()); in NewExpression()
57 for (auto *&it : arguments_) { in TransformChildren()
69 for (auto *it : arguments_) { in Iterate()
76 dumper->Add({{"type", "NewExpression"}, {"callee", callee_}, {"arguments", arguments_}}); in Dump()
H A DcallExpression.cpp39 for (auto *&it : arguments_) { in TransformChildren()
55 for (auto *it : arguments_) { in Iterate()
68 {"arguments", arguments_}, in Dump()
86 for (auto arg : arguments_) { in Dump()
88 if (arg != arguments_.back()) { in Dump()
128 arguments_(allocator->Adapter()), in CallExpression()
136 for (auto *const argument : other.arguments_) { in CallExpression()
137 arguments_.emplace_back(argument->Clone(allocator, this)->AsExpression()); in CallExpression()
H A DnewExpression.h38 : Expression(AstNodeType::NEW_EXPRESSION), callee_(callee), arguments_(std::move(arguments)) in NewExpression()
53 return arguments_;
74 ArenaVector<Expression *> arguments_; member in ark::es2panda::ark::es2panda::ir::NewExpression
H A DcallExpression.h49 arguments_(std::move(arguments)), in CallExpression()
91 return arguments_;
96 return arguments_;
168 ArenaVector<Expression *> arguments_; member in ark::es2panda::ark::es2panda::ark::es2panda::ir::CallExpression
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit_builder_helper.cpp34 : circuit_(builder->GetCircuit()), circuitBuilder_(builder), arguments_(arguments) in Environment()
39 arguments_[i] = circuitBuilder_->Arguments(i); in Environment()
H A Dcircuit_builder_helper.h332 return arguments_.at(index); in GetArgument()
388 std::vector<GateRef> arguments_; member in panda::panda::ecmascript::kungfu::Environment
/arkcompiler/toolchain/tooling/base/
H A Dpt_params.h748 if (!arguments_) { in GetArguments()
751 return &(arguments_.value()); in GetArguments()
756 return arguments_.has_value(); in HasArguments()
853 std::optional<std::vector<std::unique_ptr<CallArgument>>> arguments_ {};
H A Dpt_params.cpp807 // paramsObject->arguments_ in Create()
823 paramsObject->arguments_ = std::move(callArgument); in Create()

Completed in 12 milliseconds