php-lsp 0.2.0

A PHP Language Server Protocol implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Shared E2E test harness: a real LSP server wired over in-memory duplex
//! streams, plus a fluent `TestServer` builder to cut down on JSON-RPC
//! boilerplate in tests.
//!
//! The harness speaks the full LSP wire protocol — no internal API shortcuts —
//! so tests exercise the same path a real editor client would.

#![allow(dead_code, unused_imports)]

mod client;
pub mod fixture;
mod render;
mod server;

pub use client::TestClient;
pub use render::{canonicalize_workspace_edit, render_hover};
pub use server::{OpenedFixture, TestServer};