Lines Matching refs:str

44 def gen_features(features: Sequence[QAPISchemaFeature]) -> str:
51 def __init__(self, fname: str): argument
56 def preamble_add(self, text: str) -> None: argument
59 def add(self, text: str) -> None: argument
62 def get_content(self) -> str:
65 def _top(self) -> str:
69 def _bottom(self) -> str:
73 def write(self, output_dir: str) -> None: argument
96 def _wrap_ifcond(ifcond: QAPISchemaIfCond, before: str, after: str) -> str: argument
114 extra: Optional[str] = None) -> str: argument
137 def __init__(self, fname: str): argument
139 self._start_if: Optional[Tuple[QAPISchemaIfCond, str, str]] = None
153 def get_content(self) -> str:
159 def __init__(self, fname: str, blurb: str, pydoc: str): argument
165 def _top(self) -> str:
182 def _bottom(self) -> str:
192 def _top(self) -> str:
195 def _bottom(self) -> str:
200 def _top(self) -> str:
237 prefix: str, argument
238 what: str, argument
239 blurb: str, argument
240 pydoc: str): argument
248 def write(self, output_dir: str) -> None: argument
255 prefix: str, argument
256 what: str, argument
257 user_blurb: str, argument
258 builtin_blurb: Optional[str], argument
259 pydoc: str, argument
266 self._current_module: Optional[str] = None
267 self._module: Dict[str, Tuple[QAPIGenC, QAPIGenH,
269 self._main_module: Optional[str] = None
291 def _module_dirname(name: str) -> str: argument
296 def _module_basename(self, what: str, name: str) -> str: argument
308 def _module_filename(self, what: str, name: str) -> str: argument
312 def _add_module(self, name: str, blurb: str) -> None: argument
328 def _temp_module(self, name: str) -> Iterator[None]: argument
334 def write(self, output_dir: str, opt_builtins: bool = False) -> None: argument
346 def _begin_user_module(self, name: str) -> None: argument
349 def visit_module(self, name: str) -> None: argument
363 def visit_include(self, name: str, info: Optional[QAPISourceInfo]) -> None: argument