1
Тесты анализатора JSON-файлов =================================
2
--- test/source/json/analyze/check-01.json :
11
Ошибка: Member '2' is duplicated
12
Позиция разбора: test/source/json/analyze/check-01.json:6:5[6,8]
13
Константы и переменные:
15
"true" Punctuation, [1, 10]
17
"string" Annotation, [2, 10]
21
"1.01" Number, [4, 10]
24
"3" Annotation, [5, 14]
26
"null" Punctuation, [6, 10]
30
--- test/source/json/analyze/check-02.json :
39
Ошибка: Irrelevant symbol '45', expected: member name (string)
40
Позиция разбора: test/source/json/analyze/check-02.json:6:21[6,23]
41
--- test/source/json/analyze/check-03.json :
50
Ошибка: Irrelevant symbol '4', expected: ,
51
Позиция разбора: test/source/json/analyze/check-03.json:5:5[5,8]
52
Ошибка: Irrelevant symbol ':'
53
Позиция разбора: test/source/json/analyze/check-03.json:7:9[7,10]
54
Ошибка: Irrelevant symbol 'null', expected: ,
55
Позиция разбора: test/source/json/analyze/check-03.json:7:11[7,15]
56
--- test/source/json/analyze/check-04.json :
65
Ошибка: Irrelevant symbol '}', expected: member name (string)
66
Позиция разбора: test/source/json/analyze/check-04.json:8:1[8,2]
67
--- test/source/json/analyze/check-05.json :
81
Ошибка: Irrelevant symbol '}'
82
Позиция разбора: test/source/json/analyze/check-05.json:13:1[13,2]
83
Ошибка: Irrelevant symbol '', expected: ,
84
Позиция разбора: test/source/json/analyze/check-05.json:13:1[13,2]
85
--- test/source/json/analyze/check-06.json :
94
Ошибка: Irrelevant symbol '', expected: ,
95
Позиция разбора: test/source/json/analyze/check-06.json:8:5[8,5]
96
--- test/source/json/analyze/check-07.json :
110
Ошибка: Irrelevant symbol ']', expected: ,
111
Позиция разбора: test/source/json/analyze/check-07.json:12:5[12,6]
112
Ошибка: Irrelevant symbol ''
113
Позиция разбора: test/source/json/analyze/check-07.json:13:1[13,2]
114
Ошибка: Irrelevant symbol '', expected: ,
115
Позиция разбора: test/source/json/analyze/check-07.json:13:1[13,2]
116
--- test/source/json/analyze/check-08.json :
125
Ошибка: Irrelevant symbol ':', expected: member name (string)
126
Позиция разбора: test/source/json/analyze/check-08.json:3:5[3,6]
127
--- test/source/json/analyze/check-09.json :
141
Ошибка: Irrelevant symbol ':', expected: member name (string)
142
Позиция разбора: test/source/json/analyze/check-09.json:9:14[9,15]
143
--- test/source/json/analyze/check-10.json :
157
Ошибка: Irrelevant symbol ':', expected: member name (string)
158
Позиция разбора: test/source/json/analyze/check-10.json:10:15[10,16]
159
--- test/source/json/analyze/check-11.json :
173
Ошибка: Irrelevant symbol 'end', expected: ,
174
Позиция разбора: test/source/json/analyze/check-11.json:10:13[10,18]
175
Ошибка: Irrelevant symbol '}', expected: :
176
Позиция разбора: test/source/json/analyze/check-11.json:11:9[11,10]
177
Ошибка: Irrelevant symbol ''
178
Позиция разбора: test/source/json/analyze/check-11.json:13:1[13,2]
179
Ошибка: Irrelevant symbol '', expected: ,
180
Позиция разбора: test/source/json/analyze/check-11.json:13:1[13,2]
181
--- test/source/json/analyze/check-12.json :
195
Ошибка: Irrelevant symbol ',', expected: number, string constant, '{', '[', 'true', 'false' or 'null'
196
Позиция разбора: test/source/json/analyze/check-12.json:9:23[9,24]
198
Ошибка: Irrelevant symbol 'end', expected: ,
199
Позиция разбора: test/source/json/analyze/check-12.json:10:13[10,18]
200
Ошибка: Irrelevant symbol '}', expected: :
201
Позиция разбора: test/source/json/analyze/check-12.json:11:9[11,10]
202
Ошибка: Irrelevant symbol ''
203
Позиция разбора: test/source/json/analyze/check-12.json:13:1[13,2]
204
Ошибка: Irrelevant symbol '', expected: ,
205
Позиция разбора: test/source/json/analyze/check-12.json:13:1[13,2]
206
--- test/source/json/analyze/check-13.json :
220
Ошибка: Irrelevant symbol '}', expected: number, string constant, '{', '[', 'true', 'false' or 'null'
221
Позиция разбора: test/source/json/analyze/check-13.json:11:9[11,10]
223
Ошибка: Irrelevant symbol ']', expected: ,
224
Позиция разбора: test/source/json/analyze/check-13.json:12:5[12,6]
225
Ошибка: Irrelevant symbol ''
226
Позиция разбора: test/source/json/analyze/check-13.json:13:1[13,2]
227
Ошибка: Irrelevant symbol '', expected: ,
228
Позиция разбора: test/source/json/analyze/check-13.json:13:1[13,2]
229
--- test/source/json/analyze/check-14.json :
243
Ошибка: Irrelevant symbol '}', expected: member name (string)
244
Позиция разбора: test/source/json/analyze/check-14.json:11:9[11,10]
245
Ошибка: Irrelevant symbol ''
246
Позиция разбора: test/source/json/analyze/check-14.json:13:1[13,2]
247
Ошибка: Irrelevant symbol '', expected: ,
248
Позиция разбора: test/source/json/analyze/check-14.json:13:1[13,2]
249
--- test/source/json/analyze/ex-01.json :
251
Константы и переменные:
253
--- test/source/json/analyze/ex-02.json :
255
"_comment_" : "Структура LexicalParameters для SIMODO fuze",
272
"ignore_sign" : "\\",
273
"type" : "Annotation"
283
"punctuation_chars" : "=|;><.{}[](),",
284
"punctuation_words" : ["include","main","ID","NUMBER","ANNOTATION","true","false"],
285
"digits" : "0123456789ABCDEF",
286
"latin_alphabet" : "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
287
"national_alphabet" : "абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ",
288
"id_extra_symbols" : "_",
289
"may_national_letters_use" : true,
290
"may_national_letters_mix" : true,
291
"is_case_sensitive" : true
293
Константы и переменные:
294
"_comment_" Word, [1, 4]
295
"Структура LexicalParameters для SIMODO fuze" Annotation, [1, 18]
296
"markups" Word, [2, 4]
297
"start" Word, [4, 12]
298
"/*" Annotation, [4, 28]
300
"*/" Annotation, [5, 28]
301
"ignore_sign" Word, [6, 12]
302
"" Annotation, [6, 28]
304
"Comment" Annotation, [7, 28]
305
"start" Word, [10, 12]
306
"//" Annotation, [10, 28]
308
"" Annotation, [11, 28]
309
"ignore_sign" Word, [12, 12]
310
"" Annotation, [12, 28]
311
"type" Word, [13, 12]
312
"Comment" Annotation, [13, 28]
313
"start" Word, [16, 12]
314
""" Annotation, [16, 28]
316
""" Annotation, [17, 28]
317
"ignore_sign" Word, [18, 12]
318
"\" Annotation, [18, 28]
319
"type" Word, [19, 12]
320
"Annotation" Annotation, [19, 28]
321
"masks" Word, [22, 4]
322
"chars" Word, [24, 12]
323
"N" Annotation, [24, 23]
324
"type" Word, [25, 12]
325
"Number" Annotation, [25, 23]
326
"system" Word, [26, 12]
327
"10" Number, [26, 23]
328
"punctuation_chars" Word, [29, 4]
329
"=|;><.{}[]()," Annotation, [29, 26]
330
"punctuation_words" Word, [30, 4]
331
"include" Annotation, [30, 27]
332
"main" Annotation, [30, 37]
333
"ID" Annotation, [30, 44]
334
"NUMBER" Annotation, [30, 49]
335
"ANNOTATION" Annotation, [30, 58]
336
"true" Annotation, [30, 71]
337
"false" Annotation, [30, 78]
338
"digits" Word, [31, 4]
339
"0123456789ABCDEF" Annotation, [31, 26]
340
"latin_alphabet" Word, [32, 4]
341
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Annotation, [32, 26]
342
"national_alphabet" Word, [33, 4]
343
"абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ" Annotation, [33, 26]
344
"id_extra_symbols" Word, [34, 4]
345
"_" Annotation, [34, 26]
346
"may_national_letters_use" Word, [35, 4]
347
"true" Punctuation, [35, 33]
348
"may_national_letters_mix" Word, [36, 4]
349
"true" Punctuation, [36, 33]
350
"is_case_sensitive" Word, [37, 4]
351
"true" Punctuation, [37, 26]
358
[ [22, 14], [28, 4] ]
359
[ [30, 26], [30, 85] ]
361
--- test/source/json/analyze/ex-03.json :
366
Ошибка: Irrelevant symbol 'true', expected: :
367
Позиция разбора: test/source/json/analyze/ex-03.json:2:10[2,14]
368
--- test/source/json/analyze/ex-04.json :
373
Ошибка: Irrelevant symbol ':', expected: member name (string)
374
Позиция разбора: test/source/json/analyze/ex-04.json:2:6[2,7]
375
--- test/source/json/analyze/ex-05.json :
380
Ошибка: Irrelevant symbol ',', expected: number, string constant, '{', '[', 'true', 'false' or 'null'
381
Позиция разбора: test/source/json/analyze/ex-05.json:2:10[2,11]
383
Ошибка: Irrelevant symbol '2', expected: ,
384
Позиция разбора: test/source/json/analyze/ex-05.json:3:4[3,7]
385
Ошибка: Irrelevant symbol '}', expected: :
386
Позиция разбора: test/source/json/analyze/ex-05.json:4:1[4,2]
387
--- test/source/json/analyze/ex-06.json :
392
Ошибка: Irrelevant symbol '2', expected: ,
393
Позиция разбора: test/source/json/analyze/ex-06.json:3:5[3,8]
394
Ошибка: Irrelevant symbol '}', expected: :
395
Позиция разбора: test/source/json/analyze/ex-06.json:4:1[4,2]
396
--- test/source/json/analyze/ex-07.json :
401
Ошибка: Irrelevant symbol '}', expected: member name (string)
402
Позиция разбора: test/source/json/analyze/ex-07.json:4:1[4,2]
403
--- test/source/json/analyze/ex-08.json :
408
Константы и переменные:
409
"1" Annotation, [1, 4]
411
--- test/source/json/analyze/ex-09.json :
416
Ошибка: Irrelevant symbol '', expected: ,
417
Позиция разбора: test/source/json/analyze/ex-09.json:4:1[4,1]
418
--- test/source/json/analyze/ex-10.json :
423
Константы и переменные:
424
"1" Annotation, [1, 4]
426
--- test/source/json/analyze/ex-11.json :
427
лдб : [true, false]--- ANALYZE :
428
Ошибка: Irrelevant symbol 'л', expected: number, string constant, '{', '[', 'true', 'false' or 'null'
429
Позиция разбора: test/source/json/analyze/ex-11.json:1:1[1,2]
431
--- test/source/json/analyze/ex-12.json :
494
Ошибка: Irrelevant symbol 'true', expected: :
495
Позиция разбора: test/source/json/analyze/ex-12.json:2:6[2,10]
496
Ошибка: Irrelevant symbol 'true', expected: :
497
Позиция разбора: test/source/json/analyze/ex-12.json:4:6[4,10]
498
Ошибка: Irrelevant symbol 'true', expected: :
499
Позиция разбора: test/source/json/analyze/ex-12.json:6:6[6,10]
500
Ошибка: Irrelevant symbol 'true', expected: :
501
Позиция разбора: test/source/json/analyze/ex-12.json:8:6[8,10]
502
Ошибка: Irrelevant symbol 'true', expected: :
503
Позиция разбора: test/source/json/analyze/ex-12.json:10:6[10,10]
504
Ошибка: Irrelevant symbol 'true', expected: :
505
Позиция разбора: test/source/json/analyze/ex-12.json:12:6[12,10]
506
Ошибка: Irrelevant symbol 'true', expected: :
507
Позиция разбора: test/source/json/analyze/ex-12.json:14:6[14,10]
508
Ошибка: Irrelevant symbol 'true', expected: :
509
Позиция разбора: test/source/json/analyze/ex-12.json:16:6[16,10]
510
Ошибка: Irrelevant symbol 'true', expected: :
511
Позиция разбора: test/source/json/analyze/ex-12.json:18:6[18,10]
512
Ошибка: Irrelevant symbol 'true', expected: :
513
Позиция разбора: test/source/json/analyze/ex-12.json:20:6[20,10]
514
Ошибка: Irrelevant symbol 'true', expected: :
515
Позиция разбора: test/source/json/analyze/ex-12.json:22:6[22,10]
516
Ошибка: Irrelevant symbol 'true', expected: :
517
Позиция разбора: test/source/json/analyze/ex-12.json:24:6[24,10]
518
Ошибка: Irrelevant symbol 'true', expected: :
519
Позиция разбора: test/source/json/analyze/ex-12.json:26:6[26,10]
520
Ошибка: Irrelevant symbol 'true', expected: :
521
Позиция разбора: test/source/json/analyze/ex-12.json:28:6[28,10]
522
Ошибка: Irrelevant symbol 'true', expected: :
523
Позиция разбора: test/source/json/analyze/ex-12.json:30:6[30,10]
524
Ошибка: Irrelevant symbol 'true', expected: :
525
Позиция разбора: test/source/json/analyze/ex-12.json:32:6[32,10]
526
Ошибка: Irrelevant symbol 'true', expected: :
527
Позиция разбора: test/source/json/analyze/ex-12.json:34:6[34,10]
528
Ошибка: Irrelevant symbol 'true', expected: :
529
Позиция разбора: test/source/json/analyze/ex-12.json:36:6[36,10]
530
Ошибка: Irrelevant symbol 'true', expected: :
531
Позиция разбора: test/source/json/analyze/ex-12.json:38:6[38,10]
532
Ошибка: Irrelevant symbol 'true', expected: :
533
Позиция разбора: test/source/json/analyze/ex-12.json:40:6[40,10]
534
Ошибка: Irrelevant symbol 'true', expected: :
535
Позиция разбора: test/source/json/analyze/ex-12.json:42:6[42,10]
536
Ошибка: Irrelevant symbol 'true', expected: :
537
Позиция разбора: test/source/json/analyze/ex-12.json:44:6[44,10]
538
Ошибка: Irrelevant symbol 'true', expected: :
539
Позиция разбора: test/source/json/analyze/ex-12.json:46:6[46,10]
540
Ошибка: Irrelevant symbol 'true', expected: :
541
Позиция разбора: test/source/json/analyze/ex-12.json:48:6[48,10]
542
Ошибка: Irrelevant symbol 'true', expected: :
543
Позиция разбора: test/source/json/analyze/ex-12.json:50:6[50,10]
544
Ошибка: Irrelevant symbol 'true', expected: :
545
Позиция разбора: test/source/json/analyze/ex-12.json:52:6[52,10]
546
Ошибка: Irrelevant symbol 'true', expected: :
547
Позиция разбора: test/source/json/analyze/ex-12.json:54:6[54,10]
548
Ошибка: Irrelevant symbol 'true', expected: :
549
Позиция разбора: test/source/json/analyze/ex-12.json:56:6[56,10]
550
Ошибка: Irrelevant symbol 'true', expected: :
551
Позиция разбора: test/source/json/analyze/ex-12.json:58:6[58,10]
552
Ошибка: Irrelevant symbol 'true', expected: :
553
Позиция разбора: test/source/json/analyze/ex-12.json:60:6[60,10]
554
Ошибка: Irrelevant symbol '}', expected: member name (string)
555
Позиция разбора: test/source/json/analyze/ex-12.json:62:1[62,2]
556
--- test/source/json/analyze/lex-tokenizer.json :
558
"_comment_1" : "Структура LexicalParameters для SIMODO fuze",
575
"ignore_sign" : "\\",
576
"type" : "Annotation"
581
"ignore_sign" : "\\",
582
"type" : "Annotation"
587
"punctuation_chars" : "+-,;",
588
"punctuation_words" : ["_","_Nebuchadnezzar_II","ФУ_"],
589
"digits" : "0123456789ABCDEF",
590
"latin_alphabet" : "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
591
"national_alphabet" : "абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ",
592
"id_extra_symbols" : "_",
593
"may_national_letters_use" : false,
594
"may_national_letters_mix" : false,
595
"is_case_sensitive" : true
598
Константы и переменные:
599
"_comment_1" Word, [1, 4]
600
"Структура LexicalParameters для SIMODO fuze" Annotation, [1, 19]
601
"markups" Word, [2, 4]
602
"start" Word, [4, 12]
603
"/*" Annotation, [4, 28]
605
"*/" Annotation, [5, 28]
606
"ignore_sign" Word, [6, 12]
607
"" Annotation, [6, 28]
609
"Comment" Annotation, [7, 28]
610
"start" Word, [10, 12]
611
"//" Annotation, [10, 28]
613
"" Annotation, [11, 28]
614
"ignore_sign" Word, [12, 12]
615
"" Annotation, [12, 28]
616
"type" Word, [13, 12]
617
"Comment" Annotation, [13, 28]
618
"start" Word, [16, 12]
619
""" Annotation, [16, 28]
621
""" Annotation, [17, 28]
622
"ignore_sign" Word, [18, 12]
623
"\" Annotation, [18, 28]
624
"type" Word, [19, 12]
625
"Annotation" Annotation, [19, 28]
626
"start" Word, [22, 12]
627
"'" Annotation, [22, 28]
629
"'" Annotation, [23, 28]
630
"ignore_sign" Word, [24, 12]
631
"\" Annotation, [24, 28]
632
"type" Word, [25, 12]
633
"Annotation" Annotation, [25, 28]
634
"masks" Word, [28, 4]
635
"punctuation_chars" Word, [30, 4]
636
"+-,;" Annotation, [30, 26]
637
"punctuation_words" Word, [31, 4]
638
"_" Annotation, [31, 27]
639
"_Nebuchadnezzar_II" Annotation, [31, 31]
640
"ФУ_" Annotation, [31, 52]
641
"digits" Word, [32, 4]
642
"0123456789ABCDEF" Annotation, [32, 26]
643
"latin_alphabet" Word, [33, 4]
644
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Annotation, [33, 26]
645
"national_alphabet" Word, [34, 4]
646
"абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ" Annotation, [34, 26]
647
"id_extra_symbols" Word, [35, 4]
648
"_" Annotation, [35, 26]
649
"may_national_letters_use" Word, [36, 4]
650
"false" Punctuation, [36, 33]
651
"may_national_letters_mix" Word, [37, 4]
652
"false" Punctuation, [37, 33]
653
"is_case_sensitive" Word, [38, 4]
654
"true" Punctuation, [38, 26]
661
[ [28, 14], [29, 4] ]
662
[ [31, 26], [31, 57] ]