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

Entity NameDescription
_has_naked_top_level_entitySelf-containment check for a *.inl.hpp impl-only header, adopted after directly confirming two real corpus examples (mat.inl.hpp, matx.inl.hpp) each wrap their entire content in their own namespace cv { ... } – but NOT assuming every such file everywhere does the same. #included mid-parent-header content relying on an already-open namespace it never reopens itself is completely legal C++ (the preprocessor is purely textual substitution; nothing requires a included file to be self-contained) – parsing that kind of file standalone would silently misattribute its entities to the global namespace instead of just omitting them, which is worse than the already-accepted “some entities in impl-only headers are missing” gap. So: parse the file’s own text, and only trust it (attribute its entities as found) if EVERY entity-shaped node is nested inside at least one namespace_definition – any entity sitting directly at file scope is treated as a signal this file assumes external context, and the whole file is skipped, matching the previous unconditional- exclusion behavior for exactly that file.
_visible
_split_macro_nameSplits a native-style macro config entry (e.g. “CV_EXPORTS”, “_WIN32=1”, “CV_EXPORTS_AS(x)=”) into (bare_name, is_function_like).
_to_pcpp_defineConverts a native-style macro config entry into a pcpp #define body (the part after #define), e.g. “CV_EXPORTS_W=” -> “CV_EXPORTS_W”, “_WIN32=1” -> “_WIN32 1”, “CV_EXPORTS_AS(x)=” -> “CV_EXPORTS_AS(x)”.
_blank_annotation_macrosReplaces known macro names with equal-length whitespace, in place.
_expand_function_like_macrosSplices a real, already-computed macro expansion into its own invocation’s exact byte span, in place – the sibling of _blank_annotation_macros above, same per-line/skip-directive-line/NAME\\s*\\([^()]*\\) matching shape, but substituting real expansion text instead of blanking to whitespace (DEL-B33, 2026-09-27).
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
FunctionsList of functions in ude.parsers.native_cpp_syntactic_backend
VariablesList of variables in ude.parsers.native_cpp_syntactic_backend