Expand description
Refactoring and modernization helpers for Perl.
Provides AST-driven refactoring operations including import optimization, code modernization, and workspace-wide symbol rename. These are consumed by the LSP code-action and rename providers to offer automated transformations.
Re-exports§
pub use refactor::import_optimizer;pub use refactor::inline;pub use refactor::modernize;pub use refactor::modernize_refactored;pub use refactor::refactoring;pub use refactor::workspace_refactor;pub use refactor::workspace_rename;
Modules§
- ast
- Abstract Syntax Tree (AST) definitions for Perl parsing. AST facade for the core parser engine.
- document_
store - Document store for managing in-memory text content
- error
- Error types and recovery strategies for parser failures. Error types and recovery helpers for the parser engine.
- position
- Position tracking types and UTF-16 mapping utilities. Enhanced position tracking for incremental parsing
- refactor
- Refactoring and modernization helpers. Refactoring and modernization helpers.
- workspace_
index - Workspace-wide symbol index for fast cross-file lookups in Perl LSP.
Structs§
- Node
- Core AST node representing any Perl language construct within parsing workflows.
- Parser
- Parser state for a single Perl source input.
Enums§
- Node
Kind - Comprehensive enumeration of all Perl language constructs supported by the parser.
- Parse
Error - Comprehensive error types that can occur during Perl parsing workflows
Type Aliases§
- Parse
Result - Result type for parser operations in the Perl parsing workflow pipeline
- Source
Location - Type alias for backward compatibility with
SourceLocation.