pub fn folding_ranges(&self) -> ProgramFoldingRanges {
        let ast = self.original_ast();
        let mut ranges_collector = FoldingRangeCollector {
            folding_ranges: vec![],
        };
        ranges_collector.visit_stmt_list(&ast);
        ProgramFoldingRanges(ranges_collector.folding_ranges)
    }
/// Returns [span](Span)s of foldable ranges in a program.
/// Such ranges generally correspond to expressions and definitions in a program.
Returns [span](Span)s of foldable ranges in a program.
Such ranges generally correspond to expressions and definitions in a program.
Returns [ span ] ( Span ) s of foldable ranges in a program . Such ranges generally correspond to expressions and definitions in a program .
pub fn folding_ranges(&self) -> ProgramFoldingRanges {
        let ast = self.original_ast();
        let mut ranges_collector = FoldingRangeCollector {
            folding_ranges: vec![],
        };
        ranges_collector.visit_stmt_list(&ast);
        ProgramFoldingRanges(ranges_collector.folding_ranges)
    }
pub fn folding_ranges ( & self ) -> ProgramFoldingRanges { let ast = self . original_ast ( ) ; let mut ranges_collector = FoldingRangeCollector { folding_ranges : vec ! [ ] , } ; ranges_collector . visit_stmt_list ( & ast ) ; ProgramFoldingRanges ( ranges_collector . folding_ranges ) }
Returns [span](Span)s of foldable ranges in a program.
Returns [ span ] ( Span ) s of foldable ranges in a program .
&self
&self