1{ 2 "1": { 3 "diagnostics": [] 4 }, 5 "2": { 6 "diagnostics": [ 7 { 8 "message": "Unexpected token 'add'.", 9 "source": "add", 10 "range": { 11 "start": { 12 "line": 16, 13 "character": 9 14 }, 15 "end": { 16 "line": 16, 17 "character": 12 18 } 19 }, 20 "tags": [], 21 "relatedInfo": [], 22 "code": 1227, 23 "data": 0, 24 "severity": 1, 25 "codeDescription": { 26 "href": "test code description" 27 } 28 }, 29 { 30 "message": "Unexpected token, expected ',' or ')'.", 31 "source": "*ERROR_LITERAL*", 32 "range": { 33 "start": { 34 "line": 16, 35 "character": 14 36 }, 37 "end": { 38 "line": 16, 39 "character": 15 40 } 41 }, 42 "tags": [], 43 "relatedInfo": [], 44 "code": 1229, 45 "data": 0, 46 "severity": 1, 47 "codeDescription": { 48 "href": "test code description" 49 } 50 }, 51 { 52 "message": "Unexpected token ':'.", 53 "source": "*ERROR_LITERAL*", 54 "range": { 55 "start": { 56 "line": 16, 57 "character": 14 58 }, 59 "end": { 60 "line": 16, 61 "character": 15 62 } 63 }, 64 "tags": [], 65 "relatedInfo": [], 66 "code": 1227, 67 "data": 0, 68 "severity": 1, 69 "codeDescription": { 70 "href": "test code description" 71 } 72 }, 73 { 74 "message": "Unexpected token ':'.", 75 "source": "*ERROR_LITERAL*", 76 "range": { 77 "start": { 78 "line": 16, 79 "character": 14 80 }, 81 "end": { 82 "line": 16, 83 "character": 15 84 } 85 }, 86 "tags": [], 87 "relatedInfo": [], 88 "code": 1227, 89 "data": 0, 90 "severity": 1, 91 "codeDescription": { 92 "href": "test code description" 93 } 94 }, 95 { 96 "message": "Unexpected token 'number'.", 97 "source": "number", 98 "range": { 99 "start": { 100 "line": 16, 101 "character": 16 102 }, 103 "end": { 104 "line": 16, 105 "character": 22 106 } 107 }, 108 "tags": [], 109 "relatedInfo": [], 110 "code": 1227, 111 "data": 0, 112 "severity": 1, 113 "codeDescription": { 114 "href": "test code description" 115 } 116 }, 117 { 118 "message": "Unexpected token ','.", 119 "source": "*ERROR_LITERAL*", 120 "range": { 121 "start": { 122 "line": 16, 123 "character": 22 124 }, 125 "end": { 126 "line": 16, 127 "character": 23 128 } 129 }, 130 "tags": [], 131 "relatedInfo": [], 132 "code": 1227, 133 "data": 0, 134 "severity": 1, 135 "codeDescription": { 136 "href": "test code description" 137 } 138 }, 139 { 140 "message": "Unexpected token ','.", 141 "source": "*ERROR_LITERAL*", 142 "range": { 143 "start": { 144 "line": 16, 145 "character": 22 146 }, 147 "end": { 148 "line": 16, 149 "character": 23 150 } 151 }, 152 "tags": [], 153 "relatedInfo": [], 154 "code": 1227, 155 "data": 0, 156 "severity": 1, 157 "codeDescription": { 158 "href": "test code description" 159 } 160 }, 161 { 162 "message": "Unexpected token 'b'.", 163 "source": "", 164 "range": { 165 "start": { 166 "line": 16, 167 "character": 24 168 }, 169 "end": { 170 "line": 16, 171 "character": 24 172 } 173 }, 174 "tags": [], 175 "relatedInfo": [], 176 "code": 1227, 177 "data": 0, 178 "severity": 1, 179 "codeDescription": { 180 "href": "test code description" 181 } 182 }, 183 { 184 "message": "Label must be followed by a loop statement.", 185 "source": "", 186 "range": { 187 "start": { 188 "line": 16, 189 "character": 27 190 }, 191 "end": { 192 "line": 16, 193 "character": 33 194 } 195 }, 196 "tags": [], 197 "relatedInfo": [], 198 "code": 1038, 199 "data": 0, 200 "severity": 1, 201 "codeDescription": { 202 "href": "test code description" 203 } 204 }, 205 { 206 "message": "Unexpected token ')'.", 207 "source": "*ERROR_LITERAL*", 208 "range": { 209 "start": { 210 "line": 16, 211 "character": 33 212 }, 213 "end": { 214 "line": 16, 215 "character": 34 216 } 217 }, 218 "tags": [], 219 "relatedInfo": [], 220 "code": 1227, 221 "data": 0, 222 "severity": 1, 223 "codeDescription": { 224 "href": "test code description" 225 } 226 }, 227 { 228 "message": "Unexpected token ')'.", 229 "source": "*ERROR_LITERAL*", 230 "range": { 231 "start": { 232 "line": 16, 233 "character": 33 234 }, 235 "end": { 236 "line": 16, 237 "character": 34 238 } 239 }, 240 "tags": [], 241 "relatedInfo": [], 242 "code": 1227, 243 "data": 0, 244 "severity": 1, 245 "codeDescription": { 246 "href": "test code description" 247 } 248 }, 249 { 250 "message": "Unexpected token '{'.", 251 "source": "{\n return ((a) + (b));\n}", 252 "range": { 253 "start": { 254 "line": 16, 255 "character": 35 256 }, 257 "end": { 258 "line": 18, 259 "character": 2 260 } 261 }, 262 "tags": [], 263 "relatedInfo": [], 264 "code": 1227, 265 "data": 0, 266 "severity": 1, 267 "codeDescription": { 268 "href": "test code description" 269 } 270 }, 271 { 272 "message": "return keyword should be used in function body.", 273 "source": "return ((a) + (b));", 274 "range": { 275 "start": { 276 "line": 17, 277 "character": 5 278 }, 279 "end": { 280 "line": 17, 281 "character": 18 282 } 283 }, 284 "tags": [], 285 "relatedInfo": [], 286 "code": 1163, 287 "data": 0, 288 "severity": 1, 289 "codeDescription": { 290 "href": "test code description" 291 } 292 } 293 ] 294 } 295}