Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DenumLowering.cpp125 auto *const arrayTypeAnnotation = checker_->AllocNode<ir::TSArrayType>(stringTypeAnnotation); in CreateEnumNamesArray() local
128 return MakeArray(enumDecl, enumClass, "NamesArray", arrayTypeAnnotation, in CreateEnumNamesArray()
379 auto *const arrayTypeAnnotation = checker_->AllocNode<ir::TSArrayType>(intType); in CreateEnumValuesArray() local
381 return MakeArray(enumDecl, enumClass, "ValuesArray", arrayTypeAnnotation, in CreateEnumValuesArray()
398 auto *const arrayTypeAnnotation = checker_->AllocNode<ir::TSArrayType>(stringTypeAnnotation); in CreateEnumStringValuesArray() local
401 return MakeArray(enumDecl, enumClass, "StringValuesArray", arrayTypeAnnotation, in CreateEnumStringValuesArray()
424 auto *const arrayTypeAnnotation = checker_->AllocNode<ir::TSArrayType>(enumTypeAnnotation); in CreateEnumItemsArray() local
426 return MakeArray(enumDecl, enumClass, "ItemsArray", arrayTypeAnnotation, in CreateEnumItemsArray()
445 auto *const arrayTypeAnnotation = checker_->AllocNode<ir::TSArrayType>(enumTypeAnnotation); in CreateBoxedEnumItemsArray() local
447 return MakeArray(enumDecl, enumClass, "BoxedItemsArray", arrayTypeAnnotation, in CreateBoxedEnumItemsArray()