Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.cpp170 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()
395ArrayDestructuringContext nextContext = ArrayDestructuringContext(checker_, rest->Argument(), inAs… in HandleRest()
409 Type *ArrayDestructuringContext::ConvertTupleTypeToArrayTypeIfNecessary(const ir::AstNode *node, Ty… in ConvertTupleTypeToArrayTypeIfNecessary()
[all …]
DdestructuringContext.h88 class ArrayDestructuringContext : public DestructuringContext {
90ArrayDestructuringContext(Checker *checker, const ir::Expression *id, bool inAssignment, bool conv… in ArrayDestructuringContext() function
Dfunction.cpp238ArrayDestructuringContext(this, arrayPattern, false, true, arrayPattern->TypeAnnotation(), param->… in CheckFunctionAssignmentPatternParameter()
313 ArrayDestructuringContext(this, param->Argument(), false, false, nullptr, nullptr); in CheckFunctionRestParameter()
337ArrayDestructuringContext(this, param->AsArrayPattern(), false, false, param->TypeAnnotation(), nu… in CheckFunctionArrayPatternParameter()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
DdestructuringContext.cpp131 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 …]
DdestructuringContext.h101 class ArrayDestructuringContext : public DestructuringContext {
103 …explicit ArrayDestructuringContext(const DestructuringContextArguments &data) : DestructuringConte… in ArrayDestructuringContext() function
Dfunction.cpp232 auto context = ArrayDestructuringContext( in CheckFunctionAssignmentPatternParameter()
292ArrayDestructuringContext({this, param->Argument(), false, false, nullptr, nullptr}); in CheckFunctionRestParameter()
316ArrayDestructuringContext({this, param->AsArrayPattern(), false, false, param->TypeAnnotation(), n… in CheckFunctionArrayPatternParameter()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DvariableDeclarator.cpp136 …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.cpp319 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), false, in CheckPattern()
DobjectExpression.cpp546 … checker::ArrayDestructuringContext(checker, assignmentPattern->Left()->AsArrayPattern(), in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DobjectExpression.cpp361 auto destructuringContext = checker::ArrayDestructuringContext( in CheckAssignmentPattern()
DarrayExpression.cpp256 auto destructuringContext = checker::ArrayDestructuringContext( in CheckAssignmentPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp383 … checker::ArrayDestructuringContext({checker, expr->Left(), true, true, nullptr, expr->Right()}); in Check()
1370 checker::ArrayDestructuringContext({checker, st->Id(), false, in Check()