1 //! In-memory document information.
3 /// Information about a document that the Language Client
5 /// Its lifetime is driven by the textDocument/didOpen and textDocument/didClose
6 /// client notifications.
7 #[derive(Debug, Clone)]
8 pub(crate) struct DocumentData {
9 pub(crate) version: i32,
13 pub(crate) fn new(version: i32) -> Self {
14 DocumentData { version }