List of functions in the ude.parsers.native_cpp_reparse namespace.
| Entity Name | Description |
|---|---|
| _tokens_after_extent | |
| function_prefix_phantom_macros | If 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_cursors | Every cursor located in main_path, as a list (compute once per file). |
| conditional_line_depths | Preprocessor-conditional nesting depth at every line (index = line number, 1-based; index 0 unused), NOT counting a file-wide include guard. |
| count_main_file_cursors | Number 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_head | tokens[start] is template; return (index after the matching ‘>’, set of template-parameter names) or None. |
| _main_file_tokens | |
| main_file_cursors | Public alias of the pruned main-file cursor walk (compute once per file). |
| undeclared_specialization_args | Unqualified identifiers used as template arguments of a `template<…> struct |
| build_stub_header | Stub 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_text | Joins tokens with a space only where the source had a gap. |
| _classify_block | Kind 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_kinds | For each token index in positions, the outer->inner list of enclosing {} block kinds. |
| find_dropped_type_aliases | using 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. |
Generated with Flude
Copyright © 2026
Directory & Entity Index
| Entity Name | Summary / Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _classify_block function | Kind of the Methods_classify_block
Kind of the
Generated with Flude | ||||||||||||
| _enclosing_block_kinds function | For each token index in Methods_enclosing_block_kinds
For each token index in
Generated with Flude Copyright © 2026 | ||||||||||||
| _main_file_tokens function | Methods_main_file_tokens
Generated with Flude Copyright © 2026 | ||||||||||||
| _spelled_text function | Joins tokens with a space only where the source had a gap. Methods_spelled_text
Joins tokens with a space only where the source had a gap.
Generated with Flude Copyright © 2026 | ||||||||||||
| _split_template_head function |
Methods_split_template_head
Generated with Flude Copyright © 2026 | ||||||||||||
| _tokens_after_extent function | Methods_tokens_after_extent
Generated with Flude Copyright © 2026 | ||||||||||||
| _top_level_main_file_cursors function | Every cursor located in Subtrees rooted in OTHER files are never descended into: a TU built on a PCH carries
the whole Windows SDK / STL (millions of cursors), and walking all of it three times per
file made a full microsoft/terminal run take >3x longer. A cursor in | ||||||||||||
| build_stub_header function | Stub header text for a second parse of Methodsbuild_stub_header
Stub header text for a second parse of
Generated with Flude | ||||||||||||
| conditional_line_depths function | Preprocessor-conditional nesting depth at every line (index = line number, 1-based; index 0 unused), NOT counting a file-wide include guard. libclang’s | ||||||||||||
| count_main_file_cursors function | Number of cursors located in Methodscount_main_file_cursors
Number of cursors located in | ||||||||||||
| find_dropped_type_aliases function |
Returns dicts | ||||||||||||
| function_prefix_phantom_macros function | If Methodsfunction_prefix_phantom_macros
If | ||||||||||||
| main_file_cursors function | Public alias of the pruned main-file cursor walk (compute once per file). Methodsmain_file_cursors
Public alias of the pruned main-file cursor walk (compute once per file).
Generated with Flude Copyright © 2026 | ||||||||||||
| undeclared_specialization_args function | Unqualified identifiers used as template arguments of a Methodsundeclared_specialization_args
Unqualified identifiers used as template arguments of a
Generated with Flude |