示例#1
0
 def fromComment(cmt):
     DocBlock(parse_docblock(cmt))
示例#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)
示例#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)