Home
last modified time | relevance | path

Searched refs:SpreadElement (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/base/
DspreadElement.cpp24 ValidationInfo SpreadElement::ValidateExpression() in ValidateExpression()
45 bool SpreadElement::ConvertibleToRest(bool isDeclaration, bool allowPattern) in ConvertibleToRest()
77 void SpreadElement::SetTsTypeAnnotation(Expression *typeAnnotation) in SetTsTypeAnnotation()
82 void SpreadElement::Iterate(const NodeTraverser &cb) const in Iterate()
91 void SpreadElement::Dump(ir::AstDumper *dumper) const in Dump()
98 void SpreadElement::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
100 checker::Type *SpreadElement::Check([[maybe_unused]] checker::Checker *checker) const in Check()
105 void SpreadElement::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
DspreadElement.h33 class SpreadElement : public Expression {
35 …explicit SpreadElement(AstNodeType nodeType, Expression *argument) : Expression(nodeType), argumen… in SpreadElement() function
/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.h26 class SpreadElement; variable
71 virtual void HandleRest(const ir::SpreadElement *rest) = 0;
102 void HandleRest(const ir::SpreadElement *rest) override;
123 void HandleRest(const ir::SpreadElement *rest) override;
DtypeElaborationContext.h26 class SpreadElement; variable
DdestructuringContext.cpp370 void ArrayDestructuringContext::HandleRest(const ir::SpreadElement *rest) in HandleRest()
523 void ObjectDestructuringContext::HandleRest(const ir::SpreadElement *rest) in HandleRest()
Dfunction.cpp257 const ir::SpreadElement *param, SignatureInfo *signatureInfo) in CheckFunctionRestParameter()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
Dmember_expression_78-expected.txt132 "type": "SpreadElement",
Dmember_expression_79-expected.txt186 "type": "SpreadElement",
Dexpression_1-expected.txt155 "type": "SpreadElement",
DobjectLiteralAssignability5-expected.txt390 "type": "SpreadElement",
/arkcompiler/ets_frontend/ts2panda/src/expression/
DarrayLiteralExpression.ts176 function storeSpreadElement(compiler: Compiler, pandaGen: PandaGen, element: ts.SpreadElement, arra…
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-array-expression-expected.txt424 "type": "SpreadElement",
Dtest-call-expression-expected.txt296 "type": "SpreadElement",
Dtest-object-expression-expected.txt390 "type": "SpreadElement",
/arkcompiler/ets_frontend/es2panda/ir/
DastNodeMapping.h153 _(SPREAD_ELEMENT, REST_ELEMENT, SpreadElement, RestElement)
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definiton22-expected.txt502 "type": "SpreadElement",
Dtest-class-super-1-expected.txt363 "type": "SpreadElement",
Dtest-function-with-type-assertion-expected.txt272 "type": "SpreadElement",
/arkcompiler/ets_frontend/es2panda/compiler/base/
Ddestructuring.cpp32 static void GenRestElement(PandaGen *pg, const ir::SpreadElement *restElement, in GenRestElement()
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h45 class SpreadElement; variable
422 const ir::SpreadElement *param, SignatureInfo *signatureInfo);
/arkcompiler/ets_frontend/ts2panda/src/base/
Dutil.ts46 if (args[i].kind === ts.SyntaxKind.SpreadElement) {
/arkcompiler/ets_frontend/ts2panda/src/
DcompilerUtils.ts104 …emitRestElement(isDeclaration ? (<ts.BindingElement>element).name : (<ts.SpreadElement>element).ex…
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h72 class SpreadElement; variable
354 … ir::SpreadElement *ParseSpreadElement(ExpressionParseFlags flags = ExpressionParseFlags::NO_OPTS);
DparserImpl.cpp2694 params.push_back(AllocNode<ir::SpreadElement>(ir::AstNodeType::REST_ELEMENT, in CreateImplicitConstructor()
2700 callArgs.push_back(AllocNode<ir::SpreadElement>(ir::AstNodeType::SPREAD_ELEMENT, in CreateImplicitConstructor()
3548 ir::SpreadElement *ParserImpl::ParseSpreadElement(ExpressionParseFlags flags) in ParseSpreadElement()
3580 auto *spreadElementNode = AllocNode<ir::SpreadElement>(nodeType, argument); in ParseSpreadElement()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DobjectExpression.cpp353 const ir::SpreadElement *spread = properties_[i]->AsSpreadElement(); in CompileRemainingProperties()

12