Home
last modified time | relevance | path

Searched refs:identRef (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DstructLowering.cpp47 auto *identRef = checker->AllocNode<ir::Identifier>(param->AsTSTypeParameter()->Name()->Name(), allocator); in CreateStructTypeReference() local
48 identRef->AsIdentifier()->SetReference(); in CreateStructTypeReference()
50 referencePart = checker->AllocNode<ir::ETSTypeReferencePart>(identRef, nullptr, nullptr); in CreateStructTypeReference()
72 auto *identRef = checker->AllocNode<ir::Identifier>(util::StringView(STRUCT_CLASS_NAME), allocator); in CreateStructTypeReference() local
73 identRef->AsIdentifier()->SetReference(); in CreateStructTypeReference()
74 auto *referencePart = checker->AllocNode<ir::ETSTypeReferencePart>(identRef, typeParamInst, nullptr); in CreateStructTypeReference()
H A DdefaultParameterLowering.cpp120 auto *identRef = in CreateTypeParameterInstantiation() local
122 identRef->AsIdentifier()->SetReference(); in CreateTypeParameterInstantiation()
124 referencePart = checker->AllocNode<ir::ETSTypeReferencePart>(identRef, nullptr, nullptr); in CreateTypeParameterInstantiation()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DexpressionTSParser.cpp356 auto *identRef = AllocNode<ir::Identifier>(Lexer()->GetToken().Ident(), Allocator()); in ParseConstExpression() local
357 identRef->SetReference(); in ParseConstExpression()
358 identRef->SetRange(Lexer()->GetToken().Loc()); in ParseConstExpression()
360 auto *typeReference = AllocNode<ir::TSTypeReference>(identRef, nullptr); in ParseConstExpression()
451 ir::Expression *identRef = ParsePrimaryExpression(); in ParsePotentialArrowExpression() local
452 ASSERT(identRef->IsIdentifier()); in ParsePotentialArrowExpression()
458 ir::ArrowFunctionExpression *arrowFuncExpr = ParseArrowFunctionExpression(identRef, nullptr, nullptr, true); in ParsePotentialArrowExpression()
H A DexpressionParser.cpp1498 ir::Expression *identRef = ParsePrimaryExpression(); in ParsePotentialArrowExpression() local
1499 ASSERT(identRef->IsIdentifier()); in ParsePotentialArrowExpression()
1505 ir::ArrowFunctionExpression *arrowFuncExpr = ParseArrowFunctionExpression(identRef, nullptr, nullptr, true); in ParsePotentialArrowExpression()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A Dhelpers.cpp320 auto *identRef = checker->AllocNode<ir::Identifier>(name, checker->Allocator()); in CreateETSTypeReference() local
321 identRef->AsIdentifier()->SetReference(); in CreateETSTypeReference()
323 auto *typeRefPart = checker->AllocNode<ir::ETSTypeReferencePart>(identRef); in CreateETSTypeReference()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp1483 ir::Expression *identRef = ParsePrimaryExpression(); in ParsePotentialArrowExpression() local
1484 ASSERT(identRef->IsIdentifier()); in ParsePotentialArrowExpression()
1486 ir::ArrowFunctionExpression *arrowFuncExpr = ParseArrowFunctionExpression(identRef, nullptr, nullptr, true); in ParsePotentialArrowExpression()
H A DparserImpl.cpp337 auto *identRef = AllocNode<ir::Identifier>(lexer_->GetToken().Ident()); in ParseTsConstExpression() local
338 identRef->SetReference(); in ParseTsConstExpression()
339 identRef->SetRange(lexer_->GetToken().Loc()); in ParseTsConstExpression()
341 auto *typeReference = AllocNode<ir::TSTypeReference>(identRef, nullptr); in ParseTsConstExpression()

Completed in 17 milliseconds