Get source segment from source code using node location info.
Slices source using the node's lineno/col_offset/end_lineno/
end_col_offset attributes, matching CPython's ast.get_source_segment.
The original source code the node was parsed from
The AST node whose corresponding source text should be extracted
Optionalpadded?: booleanWhen true, pad the first line with leading spaces
so its column offsets line up with the original source (default: false)
The extracted source text, or null if the node lacks complete
location information
AST inspection and construction utilities.