src/jsdoc/DocComment.vala
authorAlan Knowles <alan@roojs.com>
Thu, 10 Jan 2019 07:32:45 +0000 (15:32 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Jan 2019 07:32:45 +0000 (15:32 +0800)
src/jsdoc/DocComment.vala

index 1ea1d9c..024dc4d 100644 (file)
@@ -185,7 +185,15 @@ namespace JSDOC
                        }
                        return ret;
            }
-                   
+            public string getTagAsString ( DocTagTitle tagTitle) {
+                       string[] ret =  {}
+               foreach(var tag in this.tags) {
+                       if (tag.title == tagTitle) {
+                               ret += tag.desc;
+                       }
+                       }
+                       return ret;
+           }   
        }
 }