Lines Matching full:annotation
142 case Value::Type::ANNOTATION: in CheckValueType()
151 if (value_type == Value::Type::ANNOTATION && !record.metadata->IsAnnotation() && in CheckValueType()
154 SetLastError("Record " + type.GetName() + " isn't annotation"); in CheckValueType()
470 auto annotation = value->GetAsScalar()->GetValue<AnnotationData>(); in CreateScalarAnnotationValueItem() local
471 …auto *annotation_item = CreateAnnotationItem(container, annotation, program, classes, fields, meth… in CreateScalarAnnotationValueItem()
525 case Value::Type::ANNOTATION: { in CreateScalarValueItem()
563 …nItem *AsmEmitter::CreateAnnotationItem(ItemContainer *container, const AnnotationData &annotation, in CreateAnnotationItem() argument
569 auto record_name = annotation.GetName(); in CreateAnnotationItem()
578 SetLastError("Record " + record_name + " isn't annotation"); in CreateAnnotationItem()
585 for (const auto &element : annotation.GetElements()) { in CreateAnnotationItem()
613 … SetLastError("Incorrect annotation element " + function_name + ": " + GetLastError()); in CreateAnnotationItem()
621 …SetLastError("Cannot create value item for annotation element " + function_name + ": " + GetLastEr… in CreateAnnotationItem()
668 for (const auto &annotation : metadata.GetAnnotations()) { in AddAnnotations() local
669 …auto *annotation_item = CreateAnnotationItem(container, annotation, program, classes, fields, meth… in AddAnnotations()
674 auto &record = program.record_table.find(annotation.GetName())->second; in AddAnnotations()