Skip to main content

parse_cpp_file_with_object_macro_fields

Function parse_cpp_file_with_object_macro_fields 

Source
pub fn parse_cpp_file_with_object_macro_fields(
    file: &ProjectFile,
    source: &str,
    tree: &Tree,
    object_macro_fields: HashMap<String, Vec<MacroReplacementField>>,
) -> ParsedFile
Expand description

Extract a source after seeding its object-like field-list environment from include-visible declarations. The seed is consumed structurally by the ordinary declaration walk; local definitions and undef directives retain their source-order semantics.