Lines Matching defs:str
50 def __init__(self, fname: str):
55 def preamble_add(self, text: str) -> None:
58 def add(self, text: str) -> None:
72 def write(self, output_dir: str) -> None:
95 def _wrap_ifcond(ifcond: QAPISchemaIfCond, before: str, after: str) -> str:
113 extra: Optional[str] = None) -> str:
136 def __init__(self, fname: str):
158 def __init__(self, fname: str, blurb: str, pydoc: str):
236 prefix: str,
237 what: str,
238 blurb: str,
239 pydoc: str):
247 def write(self, output_dir: str) -> None:
254 prefix: str,
255 what: str,
256 user_blurb: str,
257 builtin_blurb: Optional[str],
258 pydoc: str,
290 def _module_dirname(name: str) -> str:
295 def _module_basename(self, what: str, name: str) -> str:
307 def _module_filename(self, what: str, name: str) -> str:
311 def _add_module(self, name: str, blurb: str) -> None:
327 def _temp_module(self, name: str) -> Iterator[None]:
333 def write(self, output_dir: str, opt_builtins: bool = False) -> None:
345 def _begin_user_module(self, name: str) -> None:
348 def visit_module(self, name: str) -> None:
362 def visit_include(self, name: str, info: Optional[QAPISourceInfo]) -> None: