Home
last modified time | relevance | path

Searched refs:fieldIdent (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DunionLowering.cpp88 auto *fieldIdent = checker->AllocNode<ir::Identifier>(propName, allocator); in CreateUnionFieldClassProperty() local
92 checker->AllocNode<ir::ClassProperty>(fieldIdent, nullptr, nullptr, ir::ModifierFlags::NONE, allocator, false); in CreateUnionFieldClassProperty()
95 auto [decl, var] = varbinder->NewVarDecl<varbinder::LetDecl>(fieldIdent->Start(), fieldIdent->Name()); in CreateUnionFieldClassProperty()
98 fieldIdent->SetVariable(var); in CreateUnionFieldClassProperty()
H A DlocalClassLowering.cpp42 auto *fieldIdent = allocator->New<ir::Identifier>(fieldName.View(), allocator); in CreateCapturedField() local
46 allocator->New<ir::ClassProperty>(fieldIdent, nullptr, nullptr, ir::ModifierFlags::NONE, allocator, false); in CreateCapturedField()
47 fieldIdent->SetParent(field); in CreateCapturedField()
50 auto [decl, var] = varBinder->NewVarDecl<varbinder::LetDecl>(pos, fieldIdent->Name()); in CreateCapturedField()
55 fieldIdent->SetVariable(var); in CreateCapturedField()
H A DenumLowering.cpp256 auto *const fieldIdent = Allocator()->New<ir::Identifier>("ordinal", Allocator()); in CreateOrdinalField() local
258 auto *field = checker_->AllocNode<ir::ClassProperty>(fieldIdent, nullptr, intTypeAnnotation, in CreateOrdinalField()
261 auto [decl, var] = varbinder_->NewVarDecl<varbinder::LetDecl>(lexer::SourcePosition(), fieldIdent->Name()); in CreateOrdinalField()
264 fieldIdent->SetVariable(var); in CreateOrdinalField()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Ddynamic.cpp371 auto *fieldIdent = AllocNode<ir::Identifier>(name, Allocator()); in CreateStaticReadonlyField() local
376 fieldIdent, nullptr, AllocNode<ir::ETSPrimitiveType>(ir::PrimitiveType::INT), flags, Allocator(), false); in CreateStaticReadonlyField()
592 auto *fieldIdent = AllocNode<ir::Identifier>(import->AssemblerName(), Allocator());
597 fieldIdent, nullptr, AllocNode<ir::OpaqueTypeNode>(GlobalBuiltinDynamicType(import->Language())),
655 auto *fieldIdent = AllocNode<ir::Identifier>(assemblyName, Allocator());
658 AllocNode<ir::ClassProperty>(fieldIdent, nullptr, AllocNode<ir::OpaqueTypeNode>(GlobalBuiltinJSValueType()),
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A Dhelpers.cpp347 auto *fieldIdent = checker->AllocNode<ir::Identifier>(name, checker->Allocator()); in CreateClassProperty() local
349 checker->AllocNode<ir::ClassProperty>(fieldIdent, nullptr, type, modifiers, checker->Allocator(), false); in CreateClassProperty()

Completed in 8 milliseconds