Lines Matching full:doc
52 doc: Optional['QAPIDoc'] = None):
55 self.doc: Optional['QAPIDoc'] = doc
183 doc: Optional['QAPIDoc'] = None) -> None:
184 self.exprs.append(QAPIExpression(expr, info, doc))
187 def reject_expr_doc(doc: Optional['QAPIDoc']) -> None:
188 if doc and doc.symbol:
190 doc.info,
192 % doc.symbol)
233 if name == 'doc-required':
236 "pragma 'doc-required' must be boolean")
302 # Start of doc comment
424 # End of doc comment
439 def get_doc_indented(self, doc: 'QAPIDoc') -> Optional[str]:
443 doc.append_line(line)
451 doc.append_line(line)
468 doc.append_line(line)
471 def get_doc_paragraph(self, doc: 'QAPIDoc') -> Optional[str]:
479 doc.append_line(line)
498 doc = QAPIDoc(info, symbol)
512 if doc.features:
522 doc.new_feature(self.info, match.group(1))
525 doc.append_line(text)
526 line = self.get_doc_indented(doc)
527 if not doc.features:
540 doc.new_argument(self.info, match.group(1))
543 doc.append_line(text)
544 line = self.get_doc_indented(doc)
578 doc.new_tagged_section(
584 doc.append_line(text)
585 line = self.get_doc_indented(doc)
593 doc.ensure_untagged_section(self.info)
594 doc.append_line(line)
595 line = self.get_doc_paragraph(doc)
598 doc = QAPIDoc(info)
599 doc.ensure_untagged_section(self.info)
612 doc.append_line(line)
618 doc.end()
619 return doc
692 # info points to the doc comment block's first line
694 # definition doc's symbol, None for free-form doc
799 # Determine where to insert stub doc - it should go at the