This class is used to store the contents of an open LSP file in memory.
| 32 | |
| 33 | @dataclasses.dataclass |
| 34 | class LSPFileBuffer: |
| 35 | """ |
| 36 | This class is used to store the contents of an open LSP file in memory. |
| 37 | """ |
| 38 | |
| 39 | # uri of the file |
| 40 | uri: str |
| 41 | |
| 42 | # The contents of the file |
| 43 | contents: str |
| 44 | |
| 45 | # The version of the file |
| 46 | version: int |
| 47 | |
| 48 | # The language id of the file |
| 49 | language_id: str |
| 50 | |
| 51 | # reference count of the file |
| 52 | ref_count: int |
| 53 | |
| 54 | |
| 55 | class LanguageServer: |