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

Entity NameDescription
_tokens_after_extent
function_prefix_phantom_macrosIf cursor is the phantom head of a function declaration (an int-typed VAR/FIELD decl directly followed by [<IDENT>...] <name> (), return the ALL_CAPS prefix macro names that must be defined empty for clang to parse the real declaration (possibly an empty list). Return None when it is not such a phantom.
_top_level_main_file_cursorsEvery cursor located in main_path, as a list (compute once per file).
conditional_line_depthsPreprocessor-conditional nesting depth at every line (index = line number, 1-based; index 0 unused), NOT counting a file-wide include guard.
count_main_file_cursorsNumber of cursors located in main_path – the acceptance check for a re-parse: a stub that conflicts with a real declaration drops declarations, so the second parse is only used when this count did not shrink.
_split_template_headtokens[start] is template; return (index after the matching ‘>’, set of template-parameter names) or None.
_main_file_tokens
main_file_cursorsPublic alias of the pruned main-file cursor walk (compute once per file).
undeclared_specialization_argsUnqualified identifiers used as template arguments of a `template<…> struct
build_stub_headerStub header text for a second parse of main_path, or None when the file shows no recognised symptom (the common case: no second parse, no cost).
_spelled_textJoins tokens with a space only where the source had a gap.
_classify_blockKind of the { block whose statement-header tokens (spelling strings) are header: ’ns’ (namespace / extern “C”), ‘class’ (struct/class/union definition) or ‘other’ (function body, enum, initializer, lambda, …).
_enclosing_block_kindsFor each token index in positions, the outer->inner list of enclosing {} block kinds.
find_dropped_type_aliasesusing NAME = <type>; declarations in main_path that libclang DROPPED (no alias cursor at all) because the right-hand side names an undeclared type – the same silent drop as the specialization case in the module docstring (real: microsoft/terminal’s using FromJsonResult = std::tuple<Model::IActionArgs, ...> with IActionArgs only visible through a generated header). An alias has no members, so it can be built straight from its tokens.
_MACRO_NAME_RE
_PHANTOM_KINDS
_CLASS_KEYS
_BUILTIN_TYPE_KEYWORDS
_COND_OPEN_RE
_COND_CLOSE_RE
_GUARD_IFNDEF_RE
_GUARD_DEFINE_RE
_ALIAS_ENCLOSING_KINDS
_ALIAS_KINDS
_FUNCTION_TAIL_WORDS

Generated with Flude

Copyright © 2026

Directory & Entity Index

Entity NameSummary / Description
FunctionsList of functions in ude.parsers.native_cpp_reparse
VariablesList of variables in ude.parsers.native_cpp_reparse