@traqula/parser-sparql-1-1 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/cjs/lib/Parser.js +44 -0
  2. package/dist/cjs/lib/expressionParser.js +75 -0
  3. package/dist/cjs/lib/index.js +38 -0
  4. package/dist/cjs/lib/objectListParser.js +57 -0
  5. package/dist/cjs/lib/queryUnitParser.js +44 -0
  6. package/dist/cjs/lib/subSelectParser.js +65 -0
  7. package/dist/cjs/lib/triplesBlockParser.js +57 -0
  8. package/dist/cjs/lib/triplesTemplateParserBuilder.js +59 -0
  9. package/dist/cjs/lib/updateNoModifyParser.js +72 -0
  10. package/dist/cjs/lib/updateUnitParser.js +33 -0
  11. package/dist/cjs/package.json +1 -0
  12. package/dist/cjs/spec/parser.js +43 -0
  13. package/dist/cjs/test/heatmap.js +177 -0
  14. package/dist/cjs/test/query.bench.js +40 -0
  15. package/dist/cjs/test/statics.test.js +80 -0
  16. package/{lib → dist/esm/lib}/Parser.d.ts +116 -116
  17. package/dist/esm/lib/Parser.js.map +1 -0
  18. package/{lib → dist/esm/lib}/expressionParser.d.ts +25 -25
  19. package/dist/esm/lib/expressionParser.js.map +1 -0
  20. package/dist/esm/lib/index.js.map +1 -0
  21. package/{lib → dist/esm/lib}/objectListParser.d.ts +14 -14
  22. package/dist/esm/lib/objectListParser.js.map +1 -0
  23. package/{lib → dist/esm/lib}/queryUnitParser.d.ts +95 -95
  24. package/dist/esm/lib/queryUnitParser.js.map +1 -0
  25. package/{lib → dist/esm/lib}/subSelectParser.d.ts +73 -73
  26. package/dist/esm/lib/subSelectParser.js.map +1 -0
  27. package/{lib → dist/esm/lib}/triplesBlockParser.d.ts +27 -27
  28. package/dist/esm/lib/triplesBlockParser.js.map +1 -0
  29. package/{lib → dist/esm/lib}/triplesTemplateParserBuilder.d.ts +15 -15
  30. package/dist/esm/lib/triplesTemplateParserBuilder.js.map +1 -0
  31. package/{lib → dist/esm/lib}/updateNoModifyParser.d.ts +37 -37
  32. package/dist/esm/lib/updateNoModifyParser.js.map +1 -0
  33. package/{lib → dist/esm/lib}/updateUnitParser.d.ts +103 -103
  34. package/dist/esm/lib/updateUnitParser.js.map +1 -0
  35. package/dist/esm/spec/parser.d.ts +4 -0
  36. package/dist/esm/spec/parser.js +13 -0
  37. package/dist/esm/spec/parser.js.map +1 -0
  38. package/dist/esm/test/heatmap.d.ts +1 -0
  39. package/dist/esm/test/heatmap.js +151 -0
  40. package/dist/esm/test/heatmap.js.map +1 -0
  41. package/dist/esm/test/query.bench.d.ts +1 -0
  42. package/dist/esm/test/query.bench.js +41 -0
  43. package/dist/esm/test/query.bench.js.map +1 -0
  44. package/dist/esm/test/statics.test.d.ts +1 -0
  45. package/dist/esm/test/statics.test.js +61 -0
  46. package/dist/esm/test/statics.test.js.map +1 -0
  47. package/package.json +15 -17
  48. package/lib/Parser.js.map +0 -1
  49. package/lib/expressionParser.js.map +0 -1
  50. package/lib/index.cjs +0 -15183
  51. package/lib/index.js.map +0 -1
  52. package/lib/objectListParser.js.map +0 -1
  53. package/lib/queryUnitParser.js.map +0 -1
  54. package/lib/subSelectParser.js.map +0 -1
  55. package/lib/triplesBlockParser.js.map +0 -1
  56. package/lib/triplesTemplateParserBuilder.js.map +0 -1
  57. package/lib/updateNoModifyParser.js.map +0 -1
  58. package/lib/updateUnitParser.js.map +0 -1
  59. /package/{lib → dist/esm/lib}/Parser.js +0 -0
  60. /package/{lib → dist/esm/lib}/expressionParser.js +0 -0
  61. /package/{lib → dist/esm/lib}/index.d.ts +0 -0
  62. /package/{lib → dist/esm/lib}/index.js +0 -0
  63. /package/{lib → dist/esm/lib}/objectListParser.js +0 -0
  64. /package/{lib → dist/esm/lib}/queryUnitParser.js +0 -0
  65. /package/{lib → dist/esm/lib}/subSelectParser.js +0 -0
  66. /package/{lib → dist/esm/lib}/triplesBlockParser.js +0 -0
  67. /package/{lib → dist/esm/lib}/triplesTemplateParserBuilder.js +0 -0
  68. /package/{lib → dist/esm/lib}/updateNoModifyParser.js +0 -0
  69. /package/{lib → dist/esm/lib}/updateUnitParser.js +0 -0
@@ -0,0 +1,151 @@
1
+ import { Parser } from '../lib/index.js';
2
+ export const queryLargeObjectList = `
3
+ BASE <http://foo.com/>
4
+ INSERT DATA {
5
+ GRAPH <http://example.com/data> {
6
+ <a> <b> 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
7
+ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
8
+ 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 .
9
+ <c> <d> "000"; <d> "001"; <d> "002"; <d> "003"; <d> "004"; <d> "005"; <d> "006"; <d> "007"; <d> "008"; <d> "009";
10
+ <d> "010"; <d> "011"; <d> "012"; <d> "013"; <d> "014"; <d> "015"; <d> "016"; <d> "017"; <d> "018"; <d> "019";
11
+ <d> "020"; <d> "021"; <d> "022"; <d> "023"; <d> "024"; <d> "025"; <d> "026"; <d> "027"; <d> "028"; <d> "029";
12
+ <d> "030"; <d> "031"; <d> "032"; <d> "033"; <d> "034"; <d> "035"; <d> "036"; <d> "037"; <d> "038"; <d> "039";
13
+ <d> "040"; <d> "041"; <d> "042"; <d> "043"; <d> "044"; <d> "045"; <d> "046"; <d> "047"; <d> "048"; <d> "049";
14
+ <d> "050"; <d> "051"; <d> "052"; <d> "053"; <d> "054"; <d> "055"; <d> "056"; <d> "057"; <d> "058"; <d> "059";
15
+ <d> "060"; <d> "061"; <d> "062"; <d> "063"; <d> "064"; <d> "065"; <d> "066"; <d> "067"; <d> "068"; <d> "069";
16
+ <d> "070"; <d> "071"; <d> "072"; <d> "073"; <d> "074"; <d> "075"; <d> "076"; <d> "077"; <d> "078"; <d> "079";
17
+ <d> "080"; <d> "081"; <d> "082"; <d> "083"; <d> "084"; <d> "085"; <d> "086"; <d> "087"; <d> "088"; <d> "089";
18
+ <d> "090"; <d> "091"; <d> "092"; <d> "093"; <d> "094"; <d> "095"; <d> "096"; <d> "097"; <d> "098"; <d> "099";
19
+ <d> "100"; <d> "101"; <d> "102"; <d> "103"; <d> "104"; <d> "105"; <d> "106"; <d> "107"; <d> "108"; <d> "109";
20
+ <d> "110"; <d> "111"; <d> "112"; <d> "113"; <d> "114"; <d> "115"; <d> "116"; <d> "117"; <d> "118"; <d> "119";
21
+ <d> "120"; <d> "121"; <d> "122"; <d> "123"; <d> "124"; <d> "125"; <d> "126"; <d> "127"; <d> "128"; <d> "129";
22
+ <d> "130"; <d> "131"; <d> "132"; <d> "133"; <d> "134"; <d> "135"; <d> "136"; <d> "137"; <d> "138"; <d> "139";
23
+ <d> "140"; <d> "141"; <d> "142"; <d> "143"; <d> "144"; <d> "145"; <d> "146"; <d> "147"; <d> "148"; <d> "149";
24
+ <d> "150"; <d> "151"; <d> "152"; <d> "153"; <d> "154"; <d> "155"; <d> "156"; <d> "157"; <d> "158"; <d> "159";
25
+ <d> "160"; <d> "161"; <d> "162"; <d> "163"; <d> "164"; <d> "165"; <d> "166"; <d> "167"; <d> "168"; <d> "169";
26
+ <d> "170"; <d> "171"; <d> "172"; <d> "173"; <d> "174"; <d> "175"; <d> "176"; <d> "177"; <d> "178"; <d> "179";
27
+ <d> "180"; <d> "181"; <d> "182"; <d> "183"; <d> "184"; <d> "185"; <d> "186"; <d> "187"; <d> "188"; <d> "189";
28
+ <d> "190"; <d> "191"; <d> "192"; <d> "193"; <d> "194"; <d> "195"; <d> "196"; <d> "197"; <d> "198"; <d> "199";
29
+ <d> "200"; <d> "201"; <d> "202"; <d> "203"; <d> "204"; <d> "205"; <d> "206"; <d> "207"; <d> "208"; <d> "209";
30
+ <d> "210"; <d> "211"; <d> "212"; <d> "213"; <d> "214"; <d> "215"; <d> "216"; <d> "217"; <d> "218"; <d> "219";
31
+ <d> "220"; <d> "221"; <d> "222"; <d> "223"; <d> "224"; <d> "225"; <d> "226"; <d> "227"; <d> "228"; <d> "229";
32
+ <d> "230"; <d> "231"; <d> "232"; <d> "233"; <d> "234"; <d> "235"; <d> "236"; <d> "237"; <d> "238"; <d> "239";
33
+ <d> "240"; <d> "241"; <d> "242"; <d> "243"; <d> "244"; <d> "245"; <d> "246"; <d> "247"; <d> "248"; <d> "249";
34
+ <d> "250"; <d> "251"; <d> "252"; <d> "253"; <d> "254"; <d> "255"; <d> "256"; <d> "257"; <d> "258"; <d> "259";
35
+ <d> "260"; <d> "261"; <d> "262"; <d> "263"; <d> "264"; <d> "265"; <d> "266"; <d> "267"; <d> "268"; <d> "269";
36
+ <d> "270"; <d> "271"; <d> "272"; <d> "273"; <d> "274"; <d> "275"; <d> "276"; <d> "277"; <d> "278"; <d> "279";
37
+ <d> "280"; <d> "281"; <d> "282"; <d> "283"; <d> "284"; <d> "285"; <d> "286"; <d> "287"; <d> "288"; <d> "289";
38
+ <d> "290"; <d> "291"; <d> "292"; <d> "293"; <d> "294"; <d> "295"; <d> "296"; <d> "297"; <d> "298"; <d> "299".
39
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
40
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
41
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
42
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
43
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
44
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
45
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
46
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
47
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
48
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
49
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
50
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
51
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
52
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
53
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
54
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
55
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
56
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
57
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
58
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
59
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
60
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
61
+ <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .
62
+ <e> <f> <g000> . <e> <f> <g001> . <e> <f> <g002> . <e> <f> <g003> . <e> <f> <g004> .
63
+ <e> <f> <g005> . <e> <f> <g006> . <e> <f> <g007> . <e> <f> <g008> . <e> <f> <g009> .
64
+ <e> <f> <g010> . <e> <f> <g011> . <e> <f> <g012> . <e> <f> <g013> . <e> <f> <g014> .
65
+ <e> <f> <g015> . <e> <f> <g016> . <e> <f> <g017> . <e> <f> <g018> . <e> <f> <g019> .
66
+ <e> <f> <g020> . <e> <f> <g021> . <e> <f> <g022> . <e> <f> <g023> . <e> <f> <g024> .
67
+ <e> <f> <g025> . <e> <f> <g026> . <e> <f> <g027> . <e> <f> <g028> . <e> <f> <g029> .
68
+ <e> <f> <g030> . <e> <f> <g031> . <e> <f> <g032> . <e> <f> <g033> . <e> <f> <g034> .
69
+ <e> <f> <g035> . <e> <f> <g036> . <e> <f> <g037> . <e> <f> <g038> . <e> <f> <g039> .
70
+ <e> <f> <g040> . <e> <f> <g041> . <e> <f> <g042> . <e> <f> <g043> . <e> <f> <g044> .
71
+ <e> <f> <g045> . <e> <f> <g046> . <e> <f> <g047> . <e> <f> <g048> . <e> <f> <g049> .
72
+ <e> <f> <g050> . <e> <f> <g051> . <e> <f> <g052> . <e> <f> <g053> . <e> <f> <g054> .
73
+ <e> <f> <g055> . <e> <f> <g056> . <e> <f> <g057> . <e> <f> <g058> . <e> <f> <g059> .
74
+ <e> <f> <g060> . <e> <f> <g061> . <e> <f> <g062> . <e> <f> <g063> . <e> <f> <g064> .
75
+ <e> <f> <g065> . <e> <f> <g066> . <e> <f> <g067> . <e> <f> <g068> . <e> <f> <g069> .
76
+ <e> <f> <g070> . <e> <f> <g071> . <e> <f> <g072> . <e> <f> <g073> . <e> <f> <g074> .
77
+ <e> <f> <g075> . <e> <f> <g076> . <e> <f> <g077> . <e> <f> <g078> . <e> <f> <g079> .
78
+ <e> <f> <g080> . <e> <f> <g081> . <e> <f> <g082> . <e> <f> <g083> . <e> <f> <g084> .
79
+ <e> <f> <g085> . <e> <f> <g086> . <e> <f> <g087> . <e> <f> <g088> . <e> <f> <g089> .
80
+ <e> <f> <g090> . <e> <f> <g091> . <e> <f> <g092> . <e> <f> <g093> . <e> <f> <g094> .
81
+ <e> <f> <g095> . <e> <f> <g096> . <e> <f> <g097> . <e> <f> <g098> . <e> <f> <g099> .
82
+ <e> <f> <g100> . <e> <f> <g101> . <e> <f> <g102> . <e> <f> <g103> . <e> <f> <g104> .
83
+ <e> <f> <g105> . <e> <f> <g106> . <e> <f> <g107> . <e> <f> <g108> . <e> <f> <g109> .
84
+ <e> <f> <g110> . <e> <f> <g111> . <e> <f> <g112> . <e> <f> <g113> . <e> <f> <g114> .
85
+ <e> <f> <g115> . <e> <f> <g116> . <e> <f> <g117> . <e> <f> <g118> . <e> <f> <g119> .
86
+ <e> <f> <g120> . <e> <f> <g121> . <e> <f> <g122> . <e> <f> <g123> . <e> <f> <g124> .
87
+ <e> <f> <g125> . <e> <f> <g126> . <e> <f> <g127> . <e> <f> <g128> . <e> <f> <g129> .
88
+ <e> <f> <g130> . <e> <f> <g131> . <e> <f> <g132> . <e> <f> <g133> . <e> <f> <g134> .
89
+ <e> <f> <g135> . <e> <f> <g136> . <e> <f> <g137> . <e> <f> <g138> . <e> <f> <g139> .
90
+ <e> <f> <g140> . <e> <f> <g141> . <e> <f> <g142> . <e> <f> <g143> . <e> <f> <g144> .
91
+ <e> <f> <g145> . <e> <f> <g146> . <e> <f> <g147> . <e> <f> <g148> . <e> <f> <g149> .
92
+ <e> <f> <g150> . <e> <f> <g151> . <e> <f> <g152> . <e> <f> <g153> . <e> <f> <g154> .
93
+ <e> <f> <g155> . <e> <f> <g156> . <e> <f> <g157> . <e> <f> <g158> . <e> <f> <g159> .
94
+ <e> <f> <g160> . <e> <f> <g161> . <e> <f> <g162> . <e> <f> <g163> . <e> <f> <g164> .
95
+ <e> <f> <g165> . <e> <f> <g166> . <e> <f> <g167> . <e> <f> <g168> . <e> <f> <g169> .
96
+ <e> <f> <g170> . <e> <f> <g171> . <e> <f> <g172> . <e> <f> <g173> . <e> <f> <g174> .
97
+ <e> <f> <g175> . <e> <f> <g176> . <e> <f> <g177> . <e> <f> <g178> . <e> <f> <g179> .
98
+ <e> <f> <g180> . <e> <f> <g181> . <e> <f> <g182> . <e> <f> <g183> . <e> <f> <g184> .
99
+ <e> <f> <g185> . <e> <f> <g186> . <e> <f> <g187> . <e> <f> <g188> . <e> <f> <g189> .
100
+ <e> <f> <g190> . <e> <f> <g191> . <e> <f> <g192> . <e> <f> <g193> . <e> <f> <g194> .
101
+ <e> <f> <g195> . <e> <f> <g196> . <e> <f> <g197> . <e> <f> <g198> . <e> <f> <g199> .
102
+ <e> <f> <g200> . <e> <f> <g201> . <e> <f> <g202> . <e> <f> <g203> . <e> <f> <g204> .
103
+ <e> <f> <g205> . <e> <f> <g206> . <e> <f> <g207> . <e> <f> <g208> . <e> <f> <g209> .
104
+ <e> <f> <g210> . <e> <f> <g211> . <e> <f> <g212> . <e> <f> <g213> . <e> <f> <g214> .
105
+ <e> <f> <g215> . <e> <f> <g216> . <e> <f> <g217> . <e> <f> <g218> . <e> <f> <g219> .
106
+ <e> <f> <g220> . <e> <f> <g221> . <e> <f> <g222> . <e> <f> <g223> . <e> <f> <g224> .
107
+ <e> <f> <g225> . <e> <f> <g226> . <e> <f> <g227> . <e> <f> <g228> . <e> <f> <g229> .
108
+ <e> <f> <g230> . <e> <f> <g231> . <e> <f> <g232> . <e> <f> <g233> . <e> <f> <g234> .
109
+ <e> <f> <g235> . <e> <f> <g236> . <e> <f> <g237> . <e> <f> <g238> . <e> <f> <g239> .
110
+ <e> <f> <g240> . <e> <f> <g241> . <e> <f> <g242> . <e> <f> <g243> . <e> <f> <g244> .
111
+ <e> <f> <g245> . <e> <f> <g246> . <e> <f> <g247> . <e> <f> <g248> . <e> <f> <g249> .
112
+ <e> <f> <g250> . <e> <f> <g251> . <e> <f> <g252> . <e> <f> <g253> . <e> <f> <g254> .
113
+ <e> <f> <g255> . <e> <f> <g256> . <e> <f> <g257> . <e> <f> <g258> . <e> <f> <g259> .
114
+ <e> <f> <g260> . <e> <f> <g261> . <e> <f> <g262> . <e> <f> <g263> . <e> <f> <g264> .
115
+ <e> <f> <g265> . <e> <f> <g266> . <e> <f> <g267> . <e> <f> <g268> . <e> <f> <g269> .
116
+ <e> <f> <g270> . <e> <f> <g271> . <e> <f> <g272> . <e> <f> <g273> . <e> <f> <g274> .
117
+ <e> <f> <g275> . <e> <f> <g276> . <e> <f> <g277> . <e> <f> <g278> . <e> <f> <g279> .
118
+ <e> <f> <g280> . <e> <f> <g281> . <e> <f> <g282> . <e> <f> <g283> . <e> <f> <g284> .
119
+ <e> <f> <g285> . <e> <f> <g286> . <e> <f> <g287> . <e> <f> <g288> . <e> <f> <g289> .
120
+ <e> <f> <g290> . <e> <f> <g291> . <e> <f> <g292> . <e> <f> <g293> . <e> <f> <g294> .
121
+ <e> <f> <g295> . <e> <f> <g296> . <e> <f> <g297> . <e> <f> <g298> . <e> <f> <g299> .
122
+ <e> <f> <g300> . <e> <f> <g301> . <e> <f> <g302> . <e> <f> <g303> . <e> <f> <g304> .
123
+ <e> <f> <g305> . <e> <f> <g306> . <e> <f> <g307> . <e> <f> <g308> . <e> <f> <g309> .
124
+ <e> <f> <g310> . <e> <f> <g311> . <e> <f> <g312> . <e> <f> <g313> . <e> <f> <g314> .
125
+ <e> <f> <g315> . <e> <f> <g316> . <e> <f> <g317> . <e> <f> <g318> . <e> <f> <g319> .
126
+ <e> <f> <g320> . <e> <f> <g321> . <e> <f> <g322> . <e> <f> <g323> . <e> <f> <g324> .
127
+ <e> <f> <g325> . <e> <f> <g326> . <e> <f> <g327> . <e> <f> <g328> . <e> <f> <g329> .
128
+ <e> <f> <g330> . <e> <f> <g331> . <e> <f> <g332> . <e> <f> <g333> . <e> <f> <g334> .
129
+ <e> <f> <g335> . <e> <f> <g336> . <e> <f> <g337> . <e> <f> <g338> . <e> <f> <g339> .
130
+ <e> <f> <g340> . <e> <f> <g341> . <e> <f> <g342> . <e> <f> <g343> . <e> <f> <g344> .
131
+ <e> <f> <g345> . <e> <f> <g346> . <e> <f> <g347> . <e> <f> <g348> . <e> <f> <g349> .
132
+ <e> <f> <g350> . <e> <f> <g351> . <e> <f> <g352> . <e> <f> <g353> . <e> <f> <g354> .
133
+ <e> <f> <g355> . <e> <f> <g356> . <e> <f> <g357> . <e> <f> <g358> . <e> <f> <g359> .
134
+ <e> <f> <g360> . <e> <f> <g361> . <e> <f> <g362> . <e> <f> <g363> . <e> <f> <g364> .
135
+ <e> <f> <g365> . <e> <f> <g366> . <e> <f> <g367> . <e> <f> <g368> . <e> <f> <g369> .
136
+ <e> <f> <g370> . <e> <f> <g371> . <e> <f> <g372> . <e> <f> <g373> . <e> <f> <g374> .
137
+ <e> <f> <g375> . <e> <f> <g376> . <e> <f> <g377> . <e> <f> <g378> . <e> <f> <g379> .
138
+ <e> <f> <g380> . <e> <f> <g381> . <e> <f> <g382> . <e> <f> <g383> . <e> <f> <g384> .
139
+ <e> <f> <g385> . <e> <f> <g386> . <e> <f> <g387> . <e> <f> <g388> . <e> <f> <g389> .
140
+ <e> <f> <g390> . <e> <f> <g391> . <e> <f> <g392> . <e> <f> <g393> . <e> <f> <g394> .
141
+ <e> <f> <g395> . <e> <f> <g396> . <e> <f> <g397> . <e> <f> <g398> . <e> <f> <g399> .
142
+ }
143
+ }
144
+ `;
145
+ if (false) {
146
+ const parser = new Parser();
147
+ for (let i = 0; i < 1000; i++) {
148
+ parser.parse(queryLargeObjectList);
149
+ }
150
+ }
151
+ //# sourceMappingURL=heatmap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heatmap.js","sourceRoot":"","sources":["../../../test/heatmap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8InC,CAAC;AAEF,IAAI,KAAK,EAAE,CAAC;IACV,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;QAC9B,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACrC,CAAC;AACH,CAAC","sourcesContent":["import { Parser } from '../lib/index.js';\n\nexport const queryLargeObjectList = `\nBASE <http://foo.com/>\nINSERT DATA {\n GRAPH <http://example.com/data> {\n <a> <b> 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,\n 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,\n 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 .\n <c> <d> \"000\"; <d> \"001\"; <d> \"002\"; <d> \"003\"; <d> \"004\"; <d> \"005\"; <d> \"006\"; <d> \"007\"; <d> \"008\"; <d> \"009\";\n <d> \"010\"; <d> \"011\"; <d> \"012\"; <d> \"013\"; <d> \"014\"; <d> \"015\"; <d> \"016\"; <d> \"017\"; <d> \"018\"; <d> \"019\";\n <d> \"020\"; <d> \"021\"; <d> \"022\"; <d> \"023\"; <d> \"024\"; <d> \"025\"; <d> \"026\"; <d> \"027\"; <d> \"028\"; <d> \"029\";\n <d> \"030\"; <d> \"031\"; <d> \"032\"; <d> \"033\"; <d> \"034\"; <d> \"035\"; <d> \"036\"; <d> \"037\"; <d> \"038\"; <d> \"039\";\n <d> \"040\"; <d> \"041\"; <d> \"042\"; <d> \"043\"; <d> \"044\"; <d> \"045\"; <d> \"046\"; <d> \"047\"; <d> \"048\"; <d> \"049\";\n <d> \"050\"; <d> \"051\"; <d> \"052\"; <d> \"053\"; <d> \"054\"; <d> \"055\"; <d> \"056\"; <d> \"057\"; <d> \"058\"; <d> \"059\";\n <d> \"060\"; <d> \"061\"; <d> \"062\"; <d> \"063\"; <d> \"064\"; <d> \"065\"; <d> \"066\"; <d> \"067\"; <d> \"068\"; <d> \"069\";\n <d> \"070\"; <d> \"071\"; <d> \"072\"; <d> \"073\"; <d> \"074\"; <d> \"075\"; <d> \"076\"; <d> \"077\"; <d> \"078\"; <d> \"079\";\n <d> \"080\"; <d> \"081\"; <d> \"082\"; <d> \"083\"; <d> \"084\"; <d> \"085\"; <d> \"086\"; <d> \"087\"; <d> \"088\"; <d> \"089\";\n <d> \"090\"; <d> \"091\"; <d> \"092\"; <d> \"093\"; <d> \"094\"; <d> \"095\"; <d> \"096\"; <d> \"097\"; <d> \"098\"; <d> \"099\";\n <d> \"100\"; <d> \"101\"; <d> \"102\"; <d> \"103\"; <d> \"104\"; <d> \"105\"; <d> \"106\"; <d> \"107\"; <d> \"108\"; <d> \"109\";\n <d> \"110\"; <d> \"111\"; <d> \"112\"; <d> \"113\"; <d> \"114\"; <d> \"115\"; <d> \"116\"; <d> \"117\"; <d> \"118\"; <d> \"119\";\n <d> \"120\"; <d> \"121\"; <d> \"122\"; <d> \"123\"; <d> \"124\"; <d> \"125\"; <d> \"126\"; <d> \"127\"; <d> \"128\"; <d> \"129\";\n <d> \"130\"; <d> \"131\"; <d> \"132\"; <d> \"133\"; <d> \"134\"; <d> \"135\"; <d> \"136\"; <d> \"137\"; <d> \"138\"; <d> \"139\";\n <d> \"140\"; <d> \"141\"; <d> \"142\"; <d> \"143\"; <d> \"144\"; <d> \"145\"; <d> \"146\"; <d> \"147\"; <d> \"148\"; <d> \"149\";\n <d> \"150\"; <d> \"151\"; <d> \"152\"; <d> \"153\"; <d> \"154\"; <d> \"155\"; <d> \"156\"; <d> \"157\"; <d> \"158\"; <d> \"159\";\n <d> \"160\"; <d> \"161\"; <d> \"162\"; <d> \"163\"; <d> \"164\"; <d> \"165\"; <d> \"166\"; <d> \"167\"; <d> \"168\"; <d> \"169\";\n <d> \"170\"; <d> \"171\"; <d> \"172\"; <d> \"173\"; <d> \"174\"; <d> \"175\"; <d> \"176\"; <d> \"177\"; <d> \"178\"; <d> \"179\";\n <d> \"180\"; <d> \"181\"; <d> \"182\"; <d> \"183\"; <d> \"184\"; <d> \"185\"; <d> \"186\"; <d> \"187\"; <d> \"188\"; <d> \"189\";\n <d> \"190\"; <d> \"191\"; <d> \"192\"; <d> \"193\"; <d> \"194\"; <d> \"195\"; <d> \"196\"; <d> \"197\"; <d> \"198\"; <d> \"199\";\n <d> \"200\"; <d> \"201\"; <d> \"202\"; <d> \"203\"; <d> \"204\"; <d> \"205\"; <d> \"206\"; <d> \"207\"; <d> \"208\"; <d> \"209\";\n <d> \"210\"; <d> \"211\"; <d> \"212\"; <d> \"213\"; <d> \"214\"; <d> \"215\"; <d> \"216\"; <d> \"217\"; <d> \"218\"; <d> \"219\";\n <d> \"220\"; <d> \"221\"; <d> \"222\"; <d> \"223\"; <d> \"224\"; <d> \"225\"; <d> \"226\"; <d> \"227\"; <d> \"228\"; <d> \"229\";\n <d> \"230\"; <d> \"231\"; <d> \"232\"; <d> \"233\"; <d> \"234\"; <d> \"235\"; <d> \"236\"; <d> \"237\"; <d> \"238\"; <d> \"239\";\n <d> \"240\"; <d> \"241\"; <d> \"242\"; <d> \"243\"; <d> \"244\"; <d> \"245\"; <d> \"246\"; <d> \"247\"; <d> \"248\"; <d> \"249\";\n <d> \"250\"; <d> \"251\"; <d> \"252\"; <d> \"253\"; <d> \"254\"; <d> \"255\"; <d> \"256\"; <d> \"257\"; <d> \"258\"; <d> \"259\";\n <d> \"260\"; <d> \"261\"; <d> \"262\"; <d> \"263\"; <d> \"264\"; <d> \"265\"; <d> \"266\"; <d> \"267\"; <d> \"268\"; <d> \"269\";\n <d> \"270\"; <d> \"271\"; <d> \"272\"; <d> \"273\"; <d> \"274\"; <d> \"275\"; <d> \"276\"; <d> \"277\"; <d> \"278\"; <d> \"279\";\n <d> \"280\"; <d> \"281\"; <d> \"282\"; <d> \"283\"; <d> \"284\"; <d> \"285\"; <d> \"286\"; <d> \"287\"; <d> \"288\"; <d> \"289\";\n <d> \"290\"; <d> \"291\"; <d> \"292\"; <d> \"293\"; <d> \"294\"; <d> \"295\"; <d> \"296\"; <d> \"297\"; <d> \"298\"; <d> \"299\".\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> . <e> <f> <g> .\n <e> <f> <g000> . <e> <f> <g001> . <e> <f> <g002> . <e> <f> <g003> . <e> <f> <g004> .\n <e> <f> <g005> . <e> <f> <g006> . <e> <f> <g007> . <e> <f> <g008> . <e> <f> <g009> .\n <e> <f> <g010> . <e> <f> <g011> . <e> <f> <g012> . <e> <f> <g013> . <e> <f> <g014> .\n <e> <f> <g015> . <e> <f> <g016> . <e> <f> <g017> . <e> <f> <g018> . <e> <f> <g019> .\n <e> <f> <g020> . <e> <f> <g021> . <e> <f> <g022> . <e> <f> <g023> . <e> <f> <g024> .\n <e> <f> <g025> . <e> <f> <g026> . <e> <f> <g027> . <e> <f> <g028> . <e> <f> <g029> .\n <e> <f> <g030> . <e> <f> <g031> . <e> <f> <g032> . <e> <f> <g033> . <e> <f> <g034> .\n <e> <f> <g035> . <e> <f> <g036> . <e> <f> <g037> . <e> <f> <g038> . <e> <f> <g039> .\n <e> <f> <g040> . <e> <f> <g041> . <e> <f> <g042> . <e> <f> <g043> . <e> <f> <g044> .\n <e> <f> <g045> . <e> <f> <g046> . <e> <f> <g047> . <e> <f> <g048> . <e> <f> <g049> .\n <e> <f> <g050> . <e> <f> <g051> . <e> <f> <g052> . <e> <f> <g053> . <e> <f> <g054> .\n <e> <f> <g055> . <e> <f> <g056> . <e> <f> <g057> . <e> <f> <g058> . <e> <f> <g059> .\n <e> <f> <g060> . <e> <f> <g061> . <e> <f> <g062> . <e> <f> <g063> . <e> <f> <g064> .\n <e> <f> <g065> . <e> <f> <g066> . <e> <f> <g067> . <e> <f> <g068> . <e> <f> <g069> .\n <e> <f> <g070> . <e> <f> <g071> . <e> <f> <g072> . <e> <f> <g073> . <e> <f> <g074> .\n <e> <f> <g075> . <e> <f> <g076> . <e> <f> <g077> . <e> <f> <g078> . <e> <f> <g079> .\n <e> <f> <g080> . <e> <f> <g081> . <e> <f> <g082> . <e> <f> <g083> . <e> <f> <g084> .\n <e> <f> <g085> . <e> <f> <g086> . <e> <f> <g087> . <e> <f> <g088> . <e> <f> <g089> .\n <e> <f> <g090> . <e> <f> <g091> . <e> <f> <g092> . <e> <f> <g093> . <e> <f> <g094> .\n <e> <f> <g095> . <e> <f> <g096> . <e> <f> <g097> . <e> <f> <g098> . <e> <f> <g099> .\n <e> <f> <g100> . <e> <f> <g101> . <e> <f> <g102> . <e> <f> <g103> . <e> <f> <g104> .\n <e> <f> <g105> . <e> <f> <g106> . <e> <f> <g107> . <e> <f> <g108> . <e> <f> <g109> .\n <e> <f> <g110> . <e> <f> <g111> . <e> <f> <g112> . <e> <f> <g113> . <e> <f> <g114> .\n <e> <f> <g115> . <e> <f> <g116> . <e> <f> <g117> . <e> <f> <g118> . <e> <f> <g119> .\n <e> <f> <g120> . <e> <f> <g121> . <e> <f> <g122> . <e> <f> <g123> . <e> <f> <g124> .\n <e> <f> <g125> . <e> <f> <g126> . <e> <f> <g127> . <e> <f> <g128> . <e> <f> <g129> .\n <e> <f> <g130> . <e> <f> <g131> . <e> <f> <g132> . <e> <f> <g133> . <e> <f> <g134> .\n <e> <f> <g135> . <e> <f> <g136> . <e> <f> <g137> . <e> <f> <g138> . <e> <f> <g139> .\n <e> <f> <g140> . <e> <f> <g141> . <e> <f> <g142> . <e> <f> <g143> . <e> <f> <g144> .\n <e> <f> <g145> . <e> <f> <g146> . <e> <f> <g147> . <e> <f> <g148> . <e> <f> <g149> .\n <e> <f> <g150> . <e> <f> <g151> . <e> <f> <g152> . <e> <f> <g153> . <e> <f> <g154> .\n <e> <f> <g155> . <e> <f> <g156> . <e> <f> <g157> . <e> <f> <g158> . <e> <f> <g159> .\n <e> <f> <g160> . <e> <f> <g161> . <e> <f> <g162> . <e> <f> <g163> . <e> <f> <g164> .\n <e> <f> <g165> . <e> <f> <g166> . <e> <f> <g167> . <e> <f> <g168> . <e> <f> <g169> .\n <e> <f> <g170> . <e> <f> <g171> . <e> <f> <g172> . <e> <f> <g173> . <e> <f> <g174> .\n <e> <f> <g175> . <e> <f> <g176> . <e> <f> <g177> . <e> <f> <g178> . <e> <f> <g179> .\n <e> <f> <g180> . <e> <f> <g181> . <e> <f> <g182> . <e> <f> <g183> . <e> <f> <g184> .\n <e> <f> <g185> . <e> <f> <g186> . <e> <f> <g187> . <e> <f> <g188> . <e> <f> <g189> .\n <e> <f> <g190> . <e> <f> <g191> . <e> <f> <g192> . <e> <f> <g193> . <e> <f> <g194> .\n <e> <f> <g195> . <e> <f> <g196> . <e> <f> <g197> . <e> <f> <g198> . <e> <f> <g199> .\n <e> <f> <g200> . <e> <f> <g201> . <e> <f> <g202> . <e> <f> <g203> . <e> <f> <g204> .\n <e> <f> <g205> . <e> <f> <g206> . <e> <f> <g207> . <e> <f> <g208> . <e> <f> <g209> .\n <e> <f> <g210> . <e> <f> <g211> . <e> <f> <g212> . <e> <f> <g213> . <e> <f> <g214> .\n <e> <f> <g215> . <e> <f> <g216> . <e> <f> <g217> . <e> <f> <g218> . <e> <f> <g219> .\n <e> <f> <g220> . <e> <f> <g221> . <e> <f> <g222> . <e> <f> <g223> . <e> <f> <g224> .\n <e> <f> <g225> . <e> <f> <g226> . <e> <f> <g227> . <e> <f> <g228> . <e> <f> <g229> .\n <e> <f> <g230> . <e> <f> <g231> . <e> <f> <g232> . <e> <f> <g233> . <e> <f> <g234> .\n <e> <f> <g235> . <e> <f> <g236> . <e> <f> <g237> . <e> <f> <g238> . <e> <f> <g239> .\n <e> <f> <g240> . <e> <f> <g241> . <e> <f> <g242> . <e> <f> <g243> . <e> <f> <g244> .\n <e> <f> <g245> . <e> <f> <g246> . <e> <f> <g247> . <e> <f> <g248> . <e> <f> <g249> .\n <e> <f> <g250> . <e> <f> <g251> . <e> <f> <g252> . <e> <f> <g253> . <e> <f> <g254> .\n <e> <f> <g255> . <e> <f> <g256> . <e> <f> <g257> . <e> <f> <g258> . <e> <f> <g259> .\n <e> <f> <g260> . <e> <f> <g261> . <e> <f> <g262> . <e> <f> <g263> . <e> <f> <g264> .\n <e> <f> <g265> . <e> <f> <g266> . <e> <f> <g267> . <e> <f> <g268> . <e> <f> <g269> .\n <e> <f> <g270> . <e> <f> <g271> . <e> <f> <g272> . <e> <f> <g273> . <e> <f> <g274> .\n <e> <f> <g275> . <e> <f> <g276> . <e> <f> <g277> . <e> <f> <g278> . <e> <f> <g279> .\n <e> <f> <g280> . <e> <f> <g281> . <e> <f> <g282> . <e> <f> <g283> . <e> <f> <g284> .\n <e> <f> <g285> . <e> <f> <g286> . <e> <f> <g287> . <e> <f> <g288> . <e> <f> <g289> .\n <e> <f> <g290> . <e> <f> <g291> . <e> <f> <g292> . <e> <f> <g293> . <e> <f> <g294> .\n <e> <f> <g295> . <e> <f> <g296> . <e> <f> <g297> . <e> <f> <g298> . <e> <f> <g299> .\n <e> <f> <g300> . <e> <f> <g301> . <e> <f> <g302> . <e> <f> <g303> . <e> <f> <g304> .\n <e> <f> <g305> . <e> <f> <g306> . <e> <f> <g307> . <e> <f> <g308> . <e> <f> <g309> .\n <e> <f> <g310> . <e> <f> <g311> . <e> <f> <g312> . <e> <f> <g313> . <e> <f> <g314> .\n <e> <f> <g315> . <e> <f> <g316> . <e> <f> <g317> . <e> <f> <g318> . <e> <f> <g319> .\n <e> <f> <g320> . <e> <f> <g321> . <e> <f> <g322> . <e> <f> <g323> . <e> <f> <g324> .\n <e> <f> <g325> . <e> <f> <g326> . <e> <f> <g327> . <e> <f> <g328> . <e> <f> <g329> .\n <e> <f> <g330> . <e> <f> <g331> . <e> <f> <g332> . <e> <f> <g333> . <e> <f> <g334> .\n <e> <f> <g335> . <e> <f> <g336> . <e> <f> <g337> . <e> <f> <g338> . <e> <f> <g339> .\n <e> <f> <g340> . <e> <f> <g341> . <e> <f> <g342> . <e> <f> <g343> . <e> <f> <g344> .\n <e> <f> <g345> . <e> <f> <g346> . <e> <f> <g347> . <e> <f> <g348> . <e> <f> <g349> .\n <e> <f> <g350> . <e> <f> <g351> . <e> <f> <g352> . <e> <f> <g353> . <e> <f> <g354> .\n <e> <f> <g355> . <e> <f> <g356> . <e> <f> <g357> . <e> <f> <g358> . <e> <f> <g359> .\n <e> <f> <g360> . <e> <f> <g361> . <e> <f> <g362> . <e> <f> <g363> . <e> <f> <g364> .\n <e> <f> <g365> . <e> <f> <g366> . <e> <f> <g367> . <e> <f> <g368> . <e> <f> <g369> .\n <e> <f> <g370> . <e> <f> <g371> . <e> <f> <g372> . <e> <f> <g373> . <e> <f> <g374> .\n <e> <f> <g375> . <e> <f> <g376> . <e> <f> <g377> . <e> <f> <g378> . <e> <f> <g379> .\n <e> <f> <g380> . <e> <f> <g381> . <e> <f> <g382> . <e> <f> <g383> . <e> <f> <g384> .\n <e> <f> <g385> . <e> <f> <g386> . <e> <f> <g387> . <e> <f> <g388> . <e> <f> <g389> .\n <e> <f> <g390> . <e> <f> <g391> . <e> <f> <g392> . <e> <f> <g393> . <e> <f> <g394> .\n <e> <f> <g395> . <e> <f> <g396> . <e> <f> <g397> . <e> <f> <g398> . <e> <f> <g399> .\n }\n}\n`;\n\nif (false) {\n const parser = new Parser();\n\n for (let i = 0; i < 1000; i++) {\n parser.parse(queryLargeObjectList);\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,41 @@
1
+ import { positiveTest } from '@traqula/test-utils';
2
+ import { Parser as SparqlJSparser } from 'sparqljs';
3
+ import { describe, bench } from 'vitest';
4
+ import { Parser as TraqulaParser } from '../lib/index.js';
5
+ import { queryLargeObjectList } from './heatmap.js';
6
+ describe('query 1.1, exclude construction', () => {
7
+ const traqulaParser = new TraqulaParser();
8
+ const noSourceTrackingTraqula = new TraqulaParser({
9
+ lexerConfig: {
10
+ positionTracking: 'onlyOffset',
11
+ },
12
+ });
13
+ const sparqlJSparser = new SparqlJSparser();
14
+ const query = queryLargeObjectList;
15
+ describe('large objectList', () => {
16
+ bench('traqula parse', () => {
17
+ traqulaParser.parse(query);
18
+ });
19
+ bench('sparqljs', () => {
20
+ sparqlJSparser.parse(query);
21
+ });
22
+ });
23
+ describe('general queries', async () => {
24
+ const allQueries = await Promise.all([...positiveTest('sparql-1-1')]
25
+ .map(x => x.statics().then(x => x.query)));
26
+ bench('traqula parse 1.1', () => {
27
+ for (const query of allQueries) {
28
+ traqulaParser.parse(query);
29
+ }
30
+ });
31
+ bench('sparqljs', () => {
32
+ for (const query of allQueries) {
33
+ sparqlJSparser.parse(query);
34
+ }
35
+ });
36
+ bench('traqula no-source tracking', () => {
37
+ noSourceTrackingTraqula.parse(query);
38
+ });
39
+ });
40
+ });
41
+ //# sourceMappingURL=query.bench.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.bench.js","sourceRoot":"","sources":["../../../test/query.bench.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MA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YAC9B,CAAC;QACH,CAAC,CAAC,CAAC;QACH,KAAK,CAAC,4BAA4B,EAAE,GAAG,EAAE;YACvC,uBAAuB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { positiveTest } from '@traqula/test-utils';\nimport { Parser as SparqlJSparser } from 'sparqljs';\nimport { describe, bench } from 'vitest';\nimport { Parser as TraqulaParser } from '../lib/index.js';\nimport { queryLargeObjectList } from './heatmap.js';\n\ndescribe('query 1.1, exclude construction', () => {\n const traqulaParser = new TraqulaParser();\n const noSourceTrackingTraqula = new TraqulaParser({\n lexerConfig: {\n positionTracking: 'onlyOffset',\n },\n });\n const sparqlJSparser = new SparqlJSparser();\n const query = queryLargeObjectList;\n\n describe('large objectList', () => {\n bench('traqula parse', () => {\n traqulaParser.parse(query);\n });\n bench('sparqljs', () => {\n sparqlJSparser.parse(query);\n });\n });\n\n describe('general queries', async() => {\n const allQueries = await Promise.all([ ...positiveTest('sparql-1-1') ]\n .map(x => x.statics().then(x => x.query)));\n\n bench('traqula parse 1.1', () => {\n for (const query of allQueries) {\n traqulaParser.parse(query);\n }\n });\n bench('sparqljs', () => {\n for (const query of allQueries) {\n sparqlJSparser.parse(query);\n }\n });\n bench('traqula no-source tracking', () => {\n noSourceTrackingTraqula.parse(query);\n });\n });\n});\n"]}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,61 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import { lex } from '@traqula/rules-sparql-1-1';
4
+ import { getStaticFilePath, importSparql11NoteTests, negativeTest, positiveTest } from '@traqula/test-utils';
5
+ import { DataFactory } from 'rdf-data-factory';
6
+ import { describe, it } from 'vitest';
7
+ import { Parser, sparql11ParserBuilder } from '../lib/index.js';
8
+ describe('a SPARQL 1.1 parser', () => {
9
+ const parser = new Parser();
10
+ const context = { prefixes: { ex: 'http://example.org/' } };
11
+ function _sinkAst(suite, test, response) {
12
+ const dir = getStaticFilePath();
13
+ const fileLoc = path.join(dir, suite, `${test}.json`);
14
+ // eslint-disable-next-line no-sync
15
+ fs.writeFileSync(fileLoc, JSON.stringify(response, null, 2));
16
+ }
17
+ it('passes chevrotain validation', () => {
18
+ sparql11ParserBuilder.build({
19
+ tokenVocabulary: lex.sparql11LexerBuilder.tokenVocabulary,
20
+ lexerConfig: {
21
+ skipValidations: false,
22
+ ensureOptimizations: true,
23
+ },
24
+ parserConfig: {
25
+ skipValidations: false,
26
+ },
27
+ });
28
+ });
29
+ describe('positive paths', () => {
30
+ for (const { name, statics } of positiveTest('paths')) {
31
+ it(`can parse ${name}`, async ({ expect }) => {
32
+ const { query, ast } = await statics();
33
+ const res = parser.parsePath(query, context);
34
+ // _sinkAst('paths', name, <object> res);
35
+ expect(res).toEqualParsedQuery(ast);
36
+ });
37
+ }
38
+ });
39
+ describe('positive sparql 1.1', () => {
40
+ for (const { name, statics } of positiveTest('sparql-1-1')) {
41
+ it(`can parse ${name}`, async ({ expect }) => {
42
+ const { query, ast } = await statics();
43
+ const res = parser.parse(query, context);
44
+ // _sinkAst('sparql-1-1', name, <object> res);
45
+ expect(res).toEqualParsedQuery(ast);
46
+ });
47
+ }
48
+ });
49
+ describe('negative SPARQL 1.1', () => {
50
+ for (const { name, statics } of negativeTest('sparql-1-1-invalid')) {
51
+ it(`should NOT parse ${name}`, async ({ expect }) => {
52
+ const { query } = await statics();
53
+ expect(() => parser.parse(query, context)).toThrow();
54
+ });
55
+ }
56
+ });
57
+ describe('specific sparql 1.1 tests', () => {
58
+ importSparql11NoteTests(parser, new DataFactory());
59
+ });
60
+ });
61
+ //# sourceMappingURL=statics.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statics.test.js","sourceRoot":"","sources":["../../../test/statics.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AA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,CAAC;gBAClC,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;YACvD,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACzC,uBAAuB,CAAC,MAAM,EAAE,IAAI,WAAW,EAAY,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport type { BaseQuad } from '@rdfjs/types';\nimport { lex } from '@traqula/rules-sparql-1-1';\nimport { getStaticFilePath, importSparql11NoteTests, negativeTest, positiveTest } from '@traqula/test-utils';\nimport { DataFactory } from 'rdf-data-factory';\nimport { describe, it } from 'vitest';\nimport { Parser, sparql11ParserBuilder } from '../lib/index.js';\n\ndescribe('a SPARQL 1.1 parser', () => {\n const parser = new Parser();\n const context = { prefixes: { ex: 'http://example.org/' }};\n\n function _sinkAst(suite: string, test: string, response: object): void {\n const dir = getStaticFilePath();\n const fileLoc = path.join(dir, suite, `${test}.json`);\n // eslint-disable-next-line no-sync\n fs.writeFileSync(fileLoc, JSON.stringify(response, null, 2));\n }\n\n it('passes chevrotain validation', () => {\n sparql11ParserBuilder.build({\n tokenVocabulary: lex.sparql11LexerBuilder.tokenVocabulary,\n lexerConfig: {\n skipValidations: false,\n ensureOptimizations: true,\n },\n parserConfig: {\n skipValidations: false,\n },\n });\n });\n\n describe('positive paths', () => {\n for (const { name, statics } of positiveTest('paths')) {\n it(`can parse ${name}`, async({ expect }) => {\n const { query, ast } = await statics();\n const res: unknown = parser.parsePath(query, context);\n // _sinkAst('paths', name, <object> res);\n expect(res).toEqualParsedQuery(ast);\n });\n }\n });\n\n describe('positive sparql 1.1', () => {\n for (const { name, statics } of positiveTest('sparql-1-1')) {\n it(`can parse ${name}`, async({ expect }) => {\n const { query, ast } = await statics();\n const res: unknown = parser.parse(query, context);\n // _sinkAst('sparql-1-1', name, <object> res);\n expect(res).toEqualParsedQuery(ast);\n });\n }\n });\n\n describe('negative SPARQL 1.1', () => {\n for (const { name, statics } of negativeTest('sparql-1-1-invalid')) {\n it(`should NOT parse ${name}`, async({ expect }) => {\n const { query } = await statics();\n expect(() => parser.parse(query, context)).toThrow();\n });\n }\n });\n\n describe('specific sparql 1.1 tests', () => {\n importSparql11NoteTests(parser, new DataFactory<BaseQuad>());\n });\n});\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@traqula/parser-sparql-1-1",
3
3
  "type": "module",
4
- "version": "0.0.21",
4
+ "version": "0.0.23",
5
5
  "description": "SPARQL 1.1 parser",
6
6
  "lsd:module": true,
7
7
  "license": "MIT",
@@ -17,31 +17,29 @@
17
17
  "exports": {
18
18
  "./package.json": "./package.json",
19
19
  ".": {
20
- "types": "./lib/index.d.ts",
21
- "import": "./lib/index.js",
22
- "require": "./lib/index.cjs"
20
+ "types": "./dist/esm/lib/index.d.ts",
21
+ "import": "./dist/esm/lib/index.js",
22
+ "require": "./dist/cjs/lib/index.js"
23
23
  }
24
24
  },
25
- "main": "lib/index.js",
25
+ "main": "dist/esm/lib/index.js",
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
29
  "files": [
30
- "lib/**/*.cjs",
31
- "lib/**/*.d.ts",
32
- "lib/**/*.js",
33
- "lib/**/*.js.map"
30
+ "dist/**/*.d.ts",
31
+ "dist/**/*.js",
32
+ "dist/**/*.js.map",
33
+ "dist/**/package.json"
34
34
  ],
35
35
  "engines": {
36
36
  "node": "^20.19.0 || >=22.12.0"
37
37
  },
38
- "typings": "lib/index",
39
38
  "scripts": {
40
39
  "build": "yarn build:ts && yarn build:transpile && yarn build:transpile-spec",
41
40
  "build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
42
- "build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts",
43
- "build:transpile-spec": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --platform=node --bundle --log-level=error --outfile=spec/parser.cjs spec/parser.ts",
44
- "spec:base": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/",
41
+ "build:transpile": "esbuild dist/esm/**/*.js --outdir=dist/cjs --platform=node --format=cjs",
42
+ "spec:base": "rdf-test-suite dist/cjs/spec/parser.js http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/",
45
43
  "spec:query": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/",
46
44
  "spec:update": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/",
47
45
  "spec:earl:query": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl",
@@ -50,16 +48,16 @@
50
48
  "spec:earl": "yarn spec:earl:query && yarn spec:earl:update"
51
49
  },
52
50
  "dependencies": {
53
- "@traqula/core": "^0.0.21",
54
- "@traqula/rules-sparql-1-1": "^0.0.21"
51
+ "@traqula/core": "^0.0.23",
52
+ "@traqula/rules-sparql-1-1": "^0.0.23"
55
53
  },
56
54
  "devDependencies": {
57
55
  "@rdfjs/types": "^2.0.0",
58
- "@traqula/test-utils": "^0.0.21",
56
+ "@traqula/test-utils": "^0.0.23",
59
57
  "@types/sparqljs": "^3.1.12",
60
58
  "rdf-data-factory": "^2.0.1",
61
59
  "rdf-test-suite": "^2.0.0",
62
60
  "sparqljs": "^3.7.3"
63
61
  },
64
- "gitHead": "6e27b4bab942e473c11576196320bd52894ea5a4"
62
+ "gitHead": "36ec1aae80524a84f044182811a55ebeef6d9cda"
65
63
  }
package/lib/Parser.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Parser.js","sourceRoot":"","sources":["Parser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,MAAM,CAAC,sBAAsB,CAAC;KAC9E,KAAK,CAAC,mBAAmB,EAAU,EAAE,CAAC;KACtC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAI/B,MAAM,OAAO,MAAO,SAAQ,mBAAoC;IAC9D,YAAmB,OAA8D,EAAE;QACjF,MAAM,MAAM,GAAiB,qBAAqB,CAAC,KAAK,CAAC;YACvD,GAAG,IAAI;YACP,eAAe,EAAE,CAAC,CAAC,oBAAoB,CAAC,eAAe;YACvD,iBAAiB,EAAE,qBAAqB;SACzC,CAAC,CAAC;QACH,KAAK,CAAC,MAAM,CAAC,CAAC;IAChB,CAAC;CACF","sourcesContent":["import type { ParserBuildArgs } from '@traqula/core';\nimport { ParserBuilder } from '@traqula/core';\nimport type * as T11 from '@traqula/rules-sparql-1-1';\nimport { gram, lex as l, MinimalSparqlParser, sparqlCodepointEscape } from '@traqula/rules-sparql-1-1';\nimport { queryUnitParserBuilder } from './queryUnitParser.js';\nimport { updateParserBuilder } from './updateUnitParser.js';\n\nexport const sparql11ParserBuilder = ParserBuilder.create(queryUnitParserBuilder)\n .merge(updateParserBuilder, <const> [])\n .addRule(gram.queryOrUpdate);\n\nexport type SparqlParser = ReturnType<typeof sparql11ParserBuilder.build>;\n\nexport class Parser extends MinimalSparqlParser<T11.SparqlQuery> {\n public constructor(args: Pick<ParserBuildArgs, 'parserConfig' | 'lexerConfig'> = {}) {\n const parser: SparqlParser = sparql11ParserBuilder.build({\n ...args,\n tokenVocabulary: l.sparql11LexerBuilder.tokenVocabulary,\n queryPreProcessor: sparqlCodepointEscape,\n });\n super(parser);\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"expressionParser.js","sourceRoot":"","sources":["expressionParser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEjD,MAAM,cAAc,GAAW;IAC7B,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,uBAAuB;IAC5B,IAAI,CAAC,wBAAwB;IAC7B,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,oBAAoB;IACzB,IAAI,CAAC,iBAAiB;IACtB,IAAI,CAAC,cAAc;IACnB,IAAI,CAAC,kBAAkB;IACvB,IAAI,CAAC,wBAAwB;IAC7B,IAAI,CAAC,eAAe;IACpB,IAAI,CAAC,iBAAiB;IACtB,IAAI,CAAC,oBAAoB;IACzB,eAAe;IACf,IAAI,CAAC,aAAa;IAClB,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,cAAc;IACnB,IAAI,CAAC,sBAAsB;IAC3B,IAAI,CAAC,sBAAsB;IAC3B,IAAI,CAAC,sBAAsB;IAC3B,IAAI,CAAC,cAAc;IACnB,IAAI,CAAC,IAAI;IACT,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,WAAW;IAChB,IAAI,CAAC,kBAAkB;IACvB,IAAI,CAAC,eAAe;IACpB,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,oBAAoB;IACzB,IAAI,CAAC,WAAW;IAChB,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,WAAW;IAChB,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,aAAa;IAClB,IAAI,CAAC,aAAa;IAClB,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,YAAY;IACjB,IAAI,CAAC,qBAAqB;C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,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,qBAAqB,EAC1B,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,MAAM,CACZ;KACA,OAAO,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import { ParserBuilder } from '@traqula/core';\nimport { gram } from '@traqula/rules-sparql-1-1';\n\nconst rulesNoBuiltIn = <const> [\n gram.expression,\n gram.conditionalOrExpression,\n gram.conditionalAndExpression,\n gram.valueLogical,\n gram.relationalExpression,\n gram.numericExpression,\n gram.expressionList,\n gram.additiveExpression,\n gram.multiplicativeExpression,\n gram.unaryExpression,\n gram.primaryExpression,\n gram.brackettedExpression,\n // BuiltInCall,\n gram.iriOrFunction,\n gram.rdfLiteral,\n gram.numericLiteral,\n gram.numericLiteralUnsigned,\n gram.numericLiteralPositive,\n gram.numericLiteralNegative,\n gram.booleanLiteral,\n gram.var_,\n gram.builtInStr,\n gram.builtInLang,\n gram.builtInLangmatches,\n gram.builtInDatatype,\n gram.builtInBound,\n gram.builtInIri,\n gram.builtInUri,\n gram.builtInBnodeSparqlJs,\n gram.builtInRand,\n gram.builtInAbs,\n gram.builtInCeil,\n gram.builtInFloor,\n gram.builtInRound,\n gram.builtInConcat,\n gram.builtInStrlen,\n gram.builtInUcase,\n gram.builtInLcase,\n gram.builtInEncode_for_uri,\n];\n\nconst builtInPatch: typeof gram.builtInCall = {\n name: 'builtInCall',\n impl: ({ OR, SUBRULE }) => () => OR(gram.builtInCallList(SUBRULE).slice(0, -2)),\n};\n\nexport const expressionParserBuilder = ParserBuilder.create(rulesNoBuiltIn)\n .addMany(\n gram.builtInContains,\n gram.builtInStrstarts,\n gram.builtInStrends,\n gram.builtInStrbefore,\n gram.builtInStrafter,\n gram.builtInYear,\n gram.builtInMonth,\n gram.builtInDay,\n gram.builtInHours,\n gram.builtInMinutes,\n gram.builtInSeconds,\n gram.builtInTimezone,\n gram.builtInTz,\n gram.builtInNow,\n gram.builtInUuid,\n gram.builtInStruuid,\n gram.builtInMd5,\n gram.builtInSha1,\n gram.builtInSha256,\n gram.builtInSha384,\n gram.builtInSha512,\n gram.builtInCoalesce,\n gram.builtInIf,\n gram.builtInStrlang,\n gram.builtInStrdt,\n gram.builtInSameterm,\n gram.builtInIsiri,\n gram.builtInIsuri,\n gram.builtInIsblank,\n gram.builtInIsliteral,\n gram.builtInIsnumeric,\n gram.regexExpression,\n gram.substringExpression,\n gram.strReplaceExpression,\n gram.aggregateCount,\n gram.aggregateSum,\n gram.aggregateMin,\n gram.aggregateMax,\n gram.aggregateAvg,\n gram.aggregateSample,\n gram.aggregateGroup_concat,\n gram.aggregate,\n gram.iri,\n gram.prefixedName,\n gram.argList,\n gram.string,\n )\n .addRule(builtInPatch);\n\nexport type ExpressionParser = ReturnType<typeof expressionParserBuilder.build>;\n"]}