mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-08 16:07:43 +00:00
17 lines
402 B
Rust
17 lines
402 B
Rust
![]() |
use languageserver_types::TextDocumentIdentifier;
|
||
|
pub use languageserver_types::request::*;
|
||
|
|
||
|
pub enum SyntaxTree {}
|
||
|
|
||
|
impl Request for SyntaxTree {
|
||
|
type Params = SyntaxTreeParams;
|
||
|
type Result = String;
|
||
|
const METHOD: &'static str = "m/syntaxTree";
|
||
|
}
|
||
|
|
||
|
#[derive(Deserialize, Debug)]
|
||
|
#[serde(rename_all="camelCase")]
|
||
|
pub struct SyntaxTreeParams {
|
||
|
pub text_document: TextDocumentIdentifier
|
||
|
}
|