Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DlocalClassLowering.cpp244 ir::ETSNewClassInstanceExpression *newExpr) { in Perform()
256 param->SetParent(newExpr); in Perform()
257 newExpr->AddToArgumentsFront(param); in Perform()
263 auto *newExpr = ast->AsETSNewClassInstanceExpression(); in Perform()
264 checker::Type *calleeType = newExpr->GetTypeRef()->Check(checker); in Perform()
268 handleLocalClassInstantiation(classDef, newExpr); in Perform()
H A DlambdaLowering.cpp831 auto *newExpr = util::NodeAllocator::ForceSetParent<ir::ETSNewClassInstanceExpression>( in CreateConstructorCall() local
834 newExpr->SetParent(lambdaOrFuncRefParent); in CreateConstructorCall()
836 newExpr->SetRange(lambdaOrFuncRefParent != nullptr ? lambdaOrFuncRefParent->Range() : lambdaOrFuncRef->Range()); in CreateConstructorCall()
840 varBinder->ResolveReferencesForScopeWithContext(newExpr, nearestScope); in CreateConstructorCall()
845 newExpr->Check(checker); in CreateConstructorCall()
847 return newExpr; in CreateConstructorCall()
H A DenumLowering.cpp580 auto *const newExpr =
582 return checker->AllocNode<ir::ThrowStatement>(newExpr);
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp800 ir::Expression *newExpr = nullptr; in CopyClassKeyExpression() local
804 newExpr = AllocNode<ir::Identifier>(ident->Name()); in CopyClassKeyExpression()
809 newExpr = AllocNode<ir::PrivateIdentifier>(ident->Name()); in CopyClassKeyExpression()
814 newExpr = AllocNode<ir::Identifier>(ident->Name()); in CopyClassKeyExpression()
819 newExpr = AllocNode<ir::StringLiteral>(stringLiteral->Str()); in CopyClassKeyExpression()
824 newExpr = AllocNode<ir::BigIntLiteral>(bigIntLiteral->Str()); in CopyClassKeyExpression()
829 newExpr = AllocNode<ir::NumberLiteral>(numberLiteral->Number(), numberLiteral->Str()); in CopyClassKeyExpression()
836 newExpr->SetRange(orginalExpr->Range()); in CopyClassKeyExpression()
837 return newExpr; in CopyClassKeyExpression()

Completed in 10 milliseconds