pub fn folding_ranges(source: &str) -> Vec<FoldingRange>Expand description
Extract folding ranges from Solidity source using tree-sitter.
Returns ranges for contracts, functions, structs, enums, block statements, multi-line comments, consecutive single-line comments, and import groups.