Lines Matching refs:ann_elem
114 std::unique_ptr<Value> making_value(const AnnotationElement &ann_elem)
117 switch (ann_elem.GetValue()->GetType()) {
136 copy_val = InitScalarValue(*static_cast<ScalarValue *>(ann_elem.GetValue()));
141 auto *elem_arr = static_cast<ArrayValue *>(ann_elem.GetValue());
163 AnnotationElement::AnnotationElement(const AnnotationElement &ann_elem)
165 this->value_ = making_value(ann_elem);
166 this->name_ = ann_elem.GetName();
169 AnnotationElement &AnnotationElement::operator=(const AnnotationElement &ann_elem)
171 if (this == &ann_elem) {
175 this->value_ = making_value(ann_elem);
176 this->name_ = ann_elem.GetName();