Searched refs:ArrayDestructuringContext (Results 1 – 13 of 13) sorted by relevance
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | destructuringContext.cpp | 170 ArrayDestructuringContext nextContext = ArrayDestructuringContext( in HandleAssignmentPattern() 200 void ArrayDestructuringContext::ValidateInferedType() in ValidateInferedType() 220 Type *ArrayDestructuringContext::GetTypeFromTupleByIndex(TupleType *tuple) in GetTypeFromTupleByIndex() 232 Type *ArrayDestructuringContext::NextInferedType([[maybe_unused]] const util::StringView &searchNam… in NextInferedType() 288 Type *ArrayDestructuringContext::CreateArrayTypeForRest(UnionType *inferedType) in CreateArrayTypeForRest() 315 Type *ArrayDestructuringContext::CreateTupleTypeForRest(TupleType *tuple) in CreateTupleTypeForRest() 345 Type *ArrayDestructuringContext::GetRestType([[maybe_unused]] const lexer::SourcePosition &loc) in GetRestType() 380 void ArrayDestructuringContext::HandleRest(const ir::SpreadElement *rest) in HandleRest() 395 …ArrayDestructuringContext nextContext = ArrayDestructuringContext(checker_, rest->Argument(), inAs… in HandleRest() 409 Type *ArrayDestructuringContext::ConvertTupleTypeToArrayTypeIfNecessary(const ir::AstNode *node, Ty… in ConvertTupleTypeToArrayTypeIfNecessary() [all …]
|
| D | destructuringContext.h | 88 class ArrayDestructuringContext : public DestructuringContext { 90 …ArrayDestructuringContext(Checker *checker, const ir::Expression *id, bool inAssignment, bool conv… in ArrayDestructuringContext() function
|
| D | function.cpp | 238 …ArrayDestructuringContext(this, arrayPattern, false, true, arrayPattern->TypeAnnotation(), param->… in CheckFunctionAssignmentPatternParameter() 313 ArrayDestructuringContext(this, param->Argument(), false, false, nullptr, nullptr); in CheckFunctionRestParameter() 337 …ArrayDestructuringContext(this, param->AsArrayPattern(), false, false, param->TypeAnnotation(), nu… in CheckFunctionArrayPatternParameter()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ts/ |
| D | destructuringContext.cpp | 131 ArrayDestructuringContext nextContext = ArrayDestructuringContext( in HandleAssignmentPatternArrayPattern() 205 void ArrayDestructuringContext::ValidateInferredType() in ValidateInferredType() 225 Type *ArrayDestructuringContext::GetTypeFromTupleByIndex(TupleType *tuple) in GetTypeFromTupleByIndex() 237 Type *ArrayDestructuringContext::NextInferredType([[maybe_unused]] const util::StringView &searchNa… in NextInferredType() 293 Type *ArrayDestructuringContext::CreateArrayTypeForRest(UnionType *inferredType) in CreateArrayTypeForRest() 320 Type *ArrayDestructuringContext::CreateTupleTypeForRest(TupleType *tuple) in CreateTupleTypeForRest() 349 Type *ArrayDestructuringContext::GetRestType([[maybe_unused]] const lexer::SourcePosition &loc) in GetRestType() 384 void ArrayDestructuringContext::HandleRest(ir::SpreadElement *rest) in HandleRest() 399 ArrayDestructuringContext nextContext = ArrayDestructuringContext( in HandleRest() 413 Type *ArrayDestructuringContext::ConvertTupleTypeToArrayTypeIfNecessary(ir::AstNode *node, Type *ty… in ConvertTupleTypeToArrayTypeIfNecessary() [all …]
|
| D | destructuringContext.h | 101 class ArrayDestructuringContext : public DestructuringContext { 103 …explicit ArrayDestructuringContext(const DestructuringContextArguments &data) : DestructuringConte… in ArrayDestructuringContext() function
|
| D | function.cpp | 232 auto context = ArrayDestructuringContext( in CheckFunctionAssignmentPatternParameter() 292 … ArrayDestructuringContext({this, param->Argument(), false, false, nullptr, nullptr}); in CheckFunctionRestParameter() 316 …ArrayDestructuringContext({this, param->AsArrayPattern(), false, false, param->TypeAnnotation(), n… in CheckFunctionArrayPatternParameter()
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | variableDeclarator.cpp | 136 …checker::ArrayDestructuringContext(checker, id_, false, id_->AsArrayPattern()->TypeAnnotation() ==… in Check()
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | assignmentExpression.cpp | 172 …auto destructuringContext = checker::ArrayDestructuringContext(checker, left_, true, true, nullptr… in Check()
|
| D | arrayExpression.cpp | 319 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), false, in CheckPattern()
|
| D | objectExpression.cpp | 546 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), in CheckPattern()
|
| /arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
| D | objectExpression.cpp | 361 auto destructuringContext = checker::ArrayDestructuringContext( in CheckAssignmentPattern()
|
| D | arrayExpression.cpp | 256 auto destructuringContext = checker::ArrayDestructuringContext( in CheckAssignmentPattern()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | TSAnalyzer.cpp | 383 … checker::ArrayDestructuringContext({checker, expr->Left(), true, true, nullptr, expr->Right()}); in Check() 1370 checker::ArrayDestructuringContext({checker, st->Id(), false, in Check()
|