Esempio n. 1
0
 def fromComment(cmt):
     DocBlock(parse_docblock(cmt))
Esempio n. 2
0
 def _iter_docs(self):
     for doc in self._docs:
         if re.match("///", doc):
             yield parse_docblock(doc)
         elif doc.startswith("/**") and doc.endswith("*/"):
             yield parse_docblock(doc)
Esempio n. 3
0
 def _iter_docs(self):
     for doc in self._docs:
         if re.match("///", doc):
             yield parse_docblock(doc)
         elif doc.startswith("/**") and doc.endswith("*/"):
             yield parse_docblock(doc)