Home
last modified time | relevance | path

Searched refs:ArrayDestructuringContext (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.cpp177 ArrayDestructuringContext nextContext = ArrayDestructuringContext( in HandleAssignmentPattern()
191 void ArrayDestructuringContext::ValidateInferedType() in ValidateInferedType()
211 Type *ArrayDestructuringContext::GetTypeFromTupleByIndex(TupleType *tuple) in GetTypeFromTupleByIndex()
223 Type *ArrayDestructuringContext::NextInferedType([[maybe_unused]] const util::StringView &searchNam… in NextInferedType()
279 Type *ArrayDestructuringContext::CreateArrayTypeForRest(UnionType *inferedType) in CreateArrayTypeForRest()
306 Type *ArrayDestructuringContext::CreateTupleTypeForRest(TupleType *tuple) in CreateTupleTypeForRest()
335 Type *ArrayDestructuringContext::GetRestType([[maybe_unused]] const lexer::SourcePosition &loc) in GetRestType()
370 void ArrayDestructuringContext::HandleRest(const ir::SpreadElement *rest) in HandleRest()
385ArrayDestructuringContext nextContext = ArrayDestructuringContext(checker_, rest->Argument(), inAs… in HandleRest()
399 Type *ArrayDestructuringContext::ConvertTupleTypeToArrayTypeIfNecessary(const ir::AstNode *node, Ty… in ConvertTupleTypeToArrayTypeIfNecessary()
[all …]
DdestructuringContext.h86 class ArrayDestructuringContext : public DestructuringContext {
88ArrayDestructuringContext(Checker *checker, const ir::Expression *id, bool inAssignment, bool conv… in ArrayDestructuringContext() function
Dfunction.cpp235ArrayDestructuringContext(this, arrayPattern, false, true, arrayPattern->TypeAnnotation(), param->… in CheckFunctionAssignmentPatternParameter()
310 ArrayDestructuringContext(this, param->Argument(), false, false, nullptr, nullptr); in CheckFunctionRestParameter()
334ArrayDestructuringContext(this, param->AsArrayPattern(), false, false, param->TypeAnnotation(), nu… in CheckFunctionArrayPatternParameter()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DvariableDeclarator.cpp135 …checker::ArrayDestructuringContext(checker, id_, false, id_->AsArrayPattern()->TypeAnnotation() ==… in Check()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DassignmentExpression.cpp172 …auto destructuringContext = checker::ArrayDestructuringContext(checker, left_, true, true, nullptr… in Check()
DarrayExpression.cpp317 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), false, in CheckPattern()
DobjectExpression.cpp521 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), in CheckPattern()