def parse_comment(self): # Just extract brief and doc m = Parser.parse(self._comment.text) if len(m.brief) > 0: self._comment.brief = m.brief self._comment.doc = m.body
def parse_comment(self): # Just extract brief and doc self._parsed_comment = Parser.parse(self._comment.text) if len(self._parsed_comment.brief) > 0: self._comment.brief = self._parsed_comment.brief self._comment.doc = self._parsed_comment.body
def parse_comment(self): m = Parser.parse(self._comment.text) if len(m.brief) > 0: self._comment.brief = m.brief self._comment.doc = m.body for p in m.preparam: cm = Comment(p.description, self._comment.location) self.template_type_comments[p.name] = cm if p.name in self.template_types: self.template_types[p.name].merge_comment(cm)
def parse_comment(self): m = Parser.parse(self._comment.text) self._comment.params = {} if len(m.brief) > 0: self._comment.brief = m.brief self._comment.doc = m.body for pre in m.preparam: self._comment.params[pre.name] = pre.description for post in m.postparam: if post.name == 'return': self._comment.returns = post.description