Expand description
Client-side Proc-Macro crate
We separate proc-macro expanding logic to an extern program to allow different implementations (e.g. wasm or dylib loading). And this crate is used to provide basic infrastructure for communication between two processes: Client (RA itself), Server (the external program)
Modules§
- bidirectional_
protocol - Bidirectional protocol methods
- client
- Definitions and operations for the proc macro client operated in rust-analyzer.
- flat
- Serialization-friendly representation of
tt::TopSubtree. - legacy_
protocol - The initial proc-macro-srv protocol, soon to be deprecated.
- pool
- A pool of proc-macro server processes
- process
- Handle process life-time and message passing for proc-macro client
- token_
stream - The proc-macro server token stream implementation.
- transport
- Contains construct for transport of messages.
- version
- The versions of the server protocol
Enums§
- Proc
Macro Kind - Represents different kinds of procedural macros that can be expanded by the external server.
- Protocol
Format - Protocol format for communication between client and server.