Expand description
AST utilities for Perl LSP microcrates.
This crate has a narrow responsibility: provide AST and source-text helpers used by higher-level LSP features (for example, code actions).
Functionsยง
- find_
declaration_ position - Find the best position to insert a declaration.
- find_
function_ insert_ position - Find a good position to insert a function.
- find_
node_ at_ range - Find the most specific node covering the provided byte range.
- find_
statement_ start - Find the start of the current statement.
- get_
indent_ at - Get indentation at a position.