Lines Matching full:abi
7 Parse ABI documentation and produce results from it.
20 from abi.helpers import AbiDebug, ABI_DIR
24 """Main class to parse ABI files."""
26 #: Valid tags at Documentation/ABI.
29 #: ABI elements that will auto-generate cross-references.
67 self.re_abi = re.compile(r"(Documentation/ABI/)([\w\/\-]+)")
98 """Parse a single line of an ABI file."""
152 # ABI symbols
270 """Parse ABI README file."""
320 fdata.nametag["what"] = [f"ABI file {path}/{basename}"]
354 """Internal function to parse documentation ABI recursively."""
383 """Parse documentation ABI."""
391 """Print description as found inside ABI files."""
399 Converts a Documentation/ABI + basename into a ReST cross-reference.
412 # Having titles inside ABI files will only work if extra
432 # Use cross-references for ABI generated docs where needed
435 abi = m[0] + m[1]
437 xref = self.file_refs.get(abi)
439 # This may happen if ABI is on a separate directory,
440 # like parsing ABI testing and symbol is at stable.
443 self.log.info("Didn't find ABI reference for '%s'", abi)
446 d = re.sub(fr"\b{abi}\b", f":ref:`{new} <{xref}>`", d)
453 # Finding ABI here is more complex due to wildcards
465 """Print ABI at stdout."""
537 msg += "Has the following ABI:\n\n"
555 """Warn about duplicated ABI entries."""
581 """ Searches for ABI symbols."""