Defensively extracts file and line attributes from a <location> child element.

Returns:

A tuple of (file path or None, line number or None).

Methods

_extract_location

_extract_location(element: ET.Element) -> Tuple[Optional[str], Optional[int]]

Defensively extracts file and line attributes from a <location> child element.

Returns:

A tuple of (file path or None, line number or None).

ParameterTypeDescription
elementET.ElementA Doxygen XML compounddef or memberdef element.

Generated with Flude

Copyright © 2026