Skip to main content

Module execute_command

Module execute_command 

Source
Expand description

Execute command support for running tests and debugging.

This module provides comprehensive executeCommand support for the Perl Language Server, implementing a dual analyzer strategy that combines external tool integration with built-in fallback analysis. The implementation ensures 100% availability and robust security through workspace root enforcement and path traversal protection.

Structs§

CommandExecutor
Command executor for LSP incremental server with proper JSON-RPC error handling.
CommandResult
Result of executing a command with standardized structure.
ExecuteCommandProvider
Execute command provider implementing the LSP executeCommand method.

Enums§

PerlCommand
Commands supported by the Perl LSP server for test execution and code analysis.

Functions§

command_exists
Check whether a command exists in the current PATH.
get_supported_commands
Return the supported executeCommand identifiers.