Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DconditionalTypeRelaxingConstraintAssignability.ts31 export class Elem< class
40 new Elem(undefined as ElChildren.Void);
41 AssertType(new Elem(undefined as ElChildren.Void), "Elem<undefined>");
42 AssertType(Elem, "typeof Elem");
47 new Elem('' as ElChildren.Text);
48 AssertType(new Elem('' as ElChildren.Text), "Elem<string>");
49 AssertType(Elem, "typeof Elem");
54 new Elem('' as ElChildren.Void | ElChildren.Text); // error
55 AssertType(new Elem('' as ElChildren.Void | ElChildren.Text), "Elem<union>");
56 AssertType(Elem, "typeof Elem");
[all …]
/arkcompiler/runtime_core/libpandafile/
Dannotation_data_accessor.h27 class Elem {
29 Elem(const File &panda_file, File::EntityId name_id, uint32_t value) in Elem() function
33 ~Elem() = default;
35 NO_COPY_SEMANTIC(Elem);
36 NO_MOVE_SEMANTIC(Elem);
92 Elem GetElement(size_t i) const;
Dannotation_data_accessor.cpp36 AnnotationDataAccessor::Elem AnnotationDataAccessor::GetElement(size_t i) const in GetElement()
42 return AnnotationDataAccessor::Elem(panda_file_, File::EntityId(name), value); in GetElement()
Dfile_items.h1672 class Elem {
1674 Elem(StringItem *name, ValueItem *value) : name_(name), value_(value) in Elem() function
1679 ~Elem() = default;
1681 DEFAULT_MOVE_SEMANTIC(Elem);
1682 DEFAULT_COPY_SEMANTIC(Elem);
1722 AnnotationItem(BaseClassItem *cls, std::vector<Elem> elements, std::vector<Tag> tags) in AnnotationItem()
1742 std::vector<Elem> *GetElements() in GetElements()
1747 void SetElements(std::vector<Elem> &&elements) in SetElements()
1764 std::vector<Elem> elements_;
Dmethod_data_accessor-inl.h344 AnnotationDataAccessor::Elem adae = ada.GetElement(i); in GetNumericalAnnotation()
Dfile_reader.cpp194 …n_item = container_.CreateItem<AnnotationItem>(ann_class_item, std::vector<AnnotationItem::Elem>(), in CreateAnnotationItem()
198 …n_item = container_.CreateItem<AnnotationItem>(ann_class_item, std::vector<AnnotationItem::Elem>(), in CreateAnnotationItem()
206 std::vector<AnnotationItem::Elem> item_elements; in CreateAnnotationItem()
211 AnnotationDataAccessor::Elem ann_elem = ann_acc.GetElement(i); in CreateAnnotationItem()
508 item_elements.emplace_back(AnnotationItem::Elem(elem_name_item, elem_value_item)); in CreateAnnotationItem()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dmethod_literal.cpp53 panda_file::AnnotationDataAccessor::Elem adae = ada.GetElement(i); in Initialize()
62 panda_file::AnnotationDataAccessor::Elem adae = ada.GetElement(i); in Initialize()
Dtype_literal_extractor.cpp52 panda_file::AnnotationDataAccessor::Elem adae = ada.GetElement(i); in GetMethodAnnoOffset()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp267 std::vector<AnnotationItem::Elem> runtime_elems;
276 std::vector<AnnotationItem::Elem> elems;
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp429 std::vector<AnnotationItem::Elem> item_elements; in CreateAnnotationItem()