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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"success": true,
"typed_root": {
"type_name": "oak_rust::ast::RustRoot",
"content": {
"items": [
{
"Function": {
"body": {
"block_end": 0,
"block_start": 0,
"nested": 0,
"span": {
"end": 0,
"start": 0
},
"statements": []
},
"generics": [],
"is_async": false,
"is_extern": false,
"is_unsafe": false,
"name": {
"name": "",
"span": {
"end": 0,
"start": 0
}
},
"params": [],
"return_type": null,
"span": {
"end": 49,
"start": 0
}
}
}
]
}
},
"errors": [
"Expected 'Identifier' at 2",
"Expected 'LeftParen' at 2",
"Expected 'LeftBrace' at 9",
"Expected 'Identifier' at 20",
"Expected 'Keyword(In)' at 20",
"Expected 'LeftBrace' at 21",
"Expected 'RightBrace' at 55",
"Expected 'RightBrace' at 55"
]
}