Преглед изворни кода

added annotations for secondary bundles

rakshit пре 2 година
родитељ
комит
afd8a39406

+ 6 - 0
be.uantwerpen.msdl.vafl.docgen/src/be/uantwerpen/msdl/vafl/docgen/annotationUtils.mtl

@@ -14,6 +14,12 @@ element.ownedAnnotations->select(p|p.property.name.toString().matches(annotation
 
 [query public getCommentAnnotations(element : AnnotatedElement) : Set(Annotation) = getAnnotations(element, 'comment')/]
 
+[query public getLabelAnnotation(element : AnnotatedElement) : Annotation = getAnnotation(element, 'label')/]
+
+[query public getDefinedByAnnotations(element : AnnotatedElement) : Set(Annotation) = getAnnotations(element, 'isDefinedBy')/]
+
+[query public getSeeAlsoAnnotations(element : AnnotatedElement) : Set(Annotation) = getAnnotations(element, 'seeAlso')/]
+
 [template public annotationValue(annotation : Annotation) post(trim())]
 [let annotationLiteral : QuotedLiteral = annotation.value]
 [annotationLiteral.value.toString()/]