1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package common
import "core:odin/ast"
import "core:odin/tokenizer"
Error :: enum {
None = 0,
ParseError = -32700,
InvalidRequest = -32600,
MethodNotFound = -32601,
InvalidParams = -32602,
InternalError = -32603,
serverErrorStart = -32099,
serverErrorEnd = -32000,
ServerNotInitialized = -32002,
UnknownErrorCode = -32001,
RequestCancelled = -32800,
ContentModified = -32801,
}
WorkspaceFolder :: struct {
name: string,
uri: string,
}
parser_warning_handler :: proc(pos: tokenizer.Pos, msg: string, args: ..any) {
}
|