List of variables in the ude.parsers.native_cpp_syntactic_backend namespace.

Entity NameDescription
logger
_DEAD_LINE_CHECKED_NODE_TYPESThe only tree-sitter-cpp node types this backend ever registers as an entity (or descends into for namespace bookkeeping).
_ENTITY_NODE_TYPESSame set as _DEAD_LINE_CHECKED_NODE_TYPES minus namespace_definition itself used by _has_naked_top_level_entity() to tell an “entity” a .inl.hpp file might declare from the namespace_definition wrapper that makes declaring it outside its real namespace’s own context safe.
_VISIBILITY_RANKSame rank table and comparison as native_cpp_backend.py’s own _visible() helper a member is included iff its own rank is <= the configured min_visibility’s rank (e.g.
_RELATES_TAG_REDoxygen’s @relates/\relates/@relatesalso/\relatesalso tag reclassifies a free function’s compound membership for display purposes it becomes a documented “member” of the tagged class even though it’s syntactically a free function (OpenCV’s whole MatExpr operator+/-/* family is declared this way: one @relates cv::MatExpr comment before a whole block of otherwise-undocumented free operators).

Generated with Flude

Copyright © 2026

Directory & Entity Index

Entity NameSummary / Description
_DEAD_LINE_CHECKED_NODE_TYPES variable

The only tree-sitter-cpp node types this backend ever registers as an entity (or descends into for namespace bookkeeping).

The dead-line check in _visit_tree.traverse() applies ONLY to these never to purely structural/container node types (translation_unit, compound_statement, declaration_list, preproc_ifdef/preproc_else, …). Those containers’ own “start line” is frequently a comment, a blank line, or a “#ifdef”/"#else" directive line itself none of which a dead-line computation based on pcpp’s real-token stream ever counts as “kept”, regardless of whether the content they wrap is actually live. Gating on a container’s own start line would kill an entire live subtree (e.g. every real header starts with a multi-line license comment, so translation_unit itself always “starts” on a dead line).

_ENTITY_NODE_TYPES variable

Same set as _DEAD_LINE_CHECKED_NODE_TYPES minus namespace_definition itself used by _has_naked_top_level_entity() to tell an “entity” a .inl.hpp file might declare from the namespace_definition wrapper that makes declaring it outside its real namespace’s own context safe.

Instance Variables

  • ude.parsers.native_cpp_syntactic_backend._ENTITY_NODE_TYPES

Generated with Flude

Copyright © 2026

_RELATES_TAG_RE variable

Doxygen’s @relates/\relates/@relatesalso/\relatesalso tag reclassifies a free function’s compound membership for display purposes it becomes a documented “member” of the tagged class even though it’s syntactically a free function (OpenCV’s whole MatExpr operator+/-/* family is declared this way: one @relates cv::MatExpr comment before a whole block of otherwise-undocumented free operators).

Same regex and “sticky within a namespace scope” semantics as native_cpp_backend.py’s own DEL-B42 handling (see that module’s own extensive comment for the real-corpus evidence) mirrored here, not reinvented.

_VISIBILITY_RANK variable

Same rank table and comparison as native_cpp_backend.py’s own _visible() helper a member is included iff its own rank is <= the configured min_visibility’s rank (e.g.

min_visibility=“protected” keeps public and protected members, drops private ones).

Instance Variables

  • dict ude.parsers.native_cpp_syntactic_backend._VISIBILITY_RANK

Generated with Flude

Copyright © 2026

logger variable

Instance Variables

  • ude.parsers.native_cpp_syntactic_backend.logger

Generated with Flude

Copyright © 2026