mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Simple cross-process message protocol
This commit is contained in:
parent
7155d5df89
commit
0aacacd4a2
3 changed files with 84 additions and 223 deletions
|
@ -1,4 +1,10 @@
|
|||
//! Data struture serialization related stuffs for RPC
|
||||
//!
|
||||
//! Define all necessary rpc serialization data structure,
|
||||
//! which include ra_tt related data and some task messages.
|
||||
//! Although adding Serialize and Deserialize trait to ra_tt directly seem to be much easier,
|
||||
//! we deliberately duplicate the ra_tt struct with #[serde(with = "XXDef")]
|
||||
//! for separation of code responsibility.
|
||||
|
||||
use ra_tt::{
|
||||
Delimiter, DelimiterKind, Ident, Leaf, Literal, Punct, SmolStr, Spacing, Subtree, TokenId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue