Home
last modified time | relevance | path

Searched refs:restIdent (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dfunction.cpp295 const ir::Identifier *restIdent = param->Argument()->AsIdentifier(); in CheckFunctionRestParameter() local
296 ASSERT(restIdent->Variable()); in CheckFunctionRestParameter()
297 restIdent->Variable()->SetTsType(restType->AsArrayType()->ElementType()); in CheckFunctionRestParameter()
298 return {nullptr, restIdent->Variable()->AsLocalVariable(), false}; in CheckFunctionRestParameter()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dfunction.cpp274 ir::Identifier *restIdent = param->Argument()->AsIdentifier(); in CheckFunctionRestParameter() local
275 ASSERT(restIdent->Variable()); in CheckFunctionRestParameter()
276 restIdent->Variable()->SetTsType(restType->AsArrayType()->ElementType()); in CheckFunctionRestParameter()
277 return {nullptr, restIdent->Variable()->AsLocalVariable(), false}; in CheckFunctionRestParameter()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dfunction.cpp1172 auto const *const restIdent = param->Ident(); in ComposeSignatureInfo() local
1174 ASSERT(restIdent->Variable()); in ComposeSignatureInfo()
1175 signatureInfo->restVar = restIdent->Variable()->AsLocalVariable(); in ComposeSignatureInfo()
1241 auto const *const restIdent = param->Ident(); in SetParamForSignatureInfoOfArrowFunction() local
1243 ASSERT(restIdent->Variable()); in SetParamForSignatureInfoOfArrowFunction()
1244 signatureInfo->restVar = restIdent->Variable()->AsLocalVariable(); in SetParamForSignatureInfoOfArrowFunction()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.cpp1363 auto *const restIdent = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in GetAnnotatedExpressionFromParam() local
1364 restIdent->SetRange(Lexer()->GetToken().Loc()); in GetAnnotatedExpressionFromParam()
1366 parameter = AllocNode<ir::SpreadElement>(ir::AstNodeType::REST_ELEMENT, Allocator(), restIdent); in GetAnnotatedExpressionFromParam()

Completed in 9 milliseconds