@dbml/core 2.6.0 → 3.0.0

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.
@@ -760,68 +760,66 @@ function peg$parse(input, options) {
760
760
  return n[2];
761
761
  })));
762
762
  },
763
- peg$c221 = "COMMENT",
764
- peg$c222 = peg$literalExpectation("COMMENT", false),
765
- peg$c223 = "'",
766
- peg$c224 = peg$literalExpectation("'", false),
767
- peg$c225 = /^[^']/,
768
- peg$c226 = peg$classExpectation(["'"], true, false),
769
- peg$c227 = function peg$c227(comment, c) {
763
+ peg$c221 = "'",
764
+ peg$c222 = peg$literalExpectation("'", false),
765
+ peg$c223 = /^[^']/,
766
+ peg$c224 = peg$classExpectation(["'"], true, false),
767
+ peg$c225 = function peg$c225(comment, c) {
770
768
  return c.join('');
771
769
  },
772
- peg$c228 = "\"",
773
- peg$c229 = peg$literalExpectation("\"", false),
774
- peg$c230 = /^[^"]/,
775
- peg$c231 = peg$classExpectation(["\""], true, false),
776
- peg$c232 = peg$otherExpectation("CREATE TABLE"),
777
- peg$c233 = "temporary",
778
- peg$c234 = peg$literalExpectation("TEMPORARY", true),
779
- peg$c235 = "table",
780
- peg$c236 = peg$literalExpectation("TABLE", true),
781
- peg$c237 = peg$otherExpectation("IF NOT EXISTS"),
782
- peg$c238 = "if",
783
- peg$c239 = peg$literalExpectation("IF", true),
784
- peg$c240 = "exists",
785
- peg$c241 = peg$literalExpectation("EXISTS", true),
786
- peg$c242 = peg$otherExpectation("ALTER TABLE"),
787
- peg$c243 = peg$otherExpectation("CREATE INDEX"),
788
- peg$c244 = function peg$c244(type) {
770
+ peg$c226 = "\"",
771
+ peg$c227 = peg$literalExpectation("\"", false),
772
+ peg$c228 = /^[^"]/,
773
+ peg$c229 = peg$classExpectation(["\""], true, false),
774
+ peg$c230 = peg$otherExpectation("CREATE TABLE"),
775
+ peg$c231 = "temporary",
776
+ peg$c232 = peg$literalExpectation("TEMPORARY", true),
777
+ peg$c233 = "table",
778
+ peg$c234 = peg$literalExpectation("TABLE", true),
779
+ peg$c235 = peg$otherExpectation("IF NOT EXISTS"),
780
+ peg$c236 = "if",
781
+ peg$c237 = peg$literalExpectation("IF", true),
782
+ peg$c238 = "exists",
783
+ peg$c239 = peg$literalExpectation("EXISTS", true),
784
+ peg$c240 = peg$otherExpectation("ALTER TABLE"),
785
+ peg$c241 = peg$otherExpectation("CREATE INDEX"),
786
+ peg$c242 = function peg$c242(type) {
789
787
  return type;
790
788
  },
791
- peg$c245 = function peg$c245() {
789
+ peg$c243 = function peg$c243() {
792
790
  return 'INDEX';
793
791
  },
794
- peg$c246 = "primary",
795
- peg$c247 = peg$literalExpectation("PRIMARY", true),
796
- peg$c248 = "foreign",
797
- peg$c249 = peg$literalExpectation("FOREIGN", true),
798
- peg$c250 = "references",
799
- peg$c251 = peg$literalExpectation("REFERENCES", true),
800
- peg$c252 = "restrict",
801
- peg$c253 = peg$literalExpectation("RESTRICT", true),
802
- peg$c254 = "cascade",
803
- peg$c255 = peg$literalExpectation("CASCADE", true),
804
- peg$c256 = "action",
805
- peg$c257 = peg$literalExpectation("ACTION", true),
806
- peg$c258 = peg$otherExpectation("index type"),
807
- peg$c259 = "using",
808
- peg$c260 = peg$literalExpectation("USING", true),
809
- peg$c261 = "btree",
810
- peg$c262 = peg$literalExpectation("BTREE", true),
811
- peg$c263 = "hash",
812
- peg$c264 = peg$literalExpectation("HASH", true),
813
- peg$c265 = function peg$c265(type) {
792
+ peg$c244 = "primary",
793
+ peg$c245 = peg$literalExpectation("PRIMARY", true),
794
+ peg$c246 = "foreign",
795
+ peg$c247 = peg$literalExpectation("FOREIGN", true),
796
+ peg$c248 = "references",
797
+ peg$c249 = peg$literalExpectation("REFERENCES", true),
798
+ peg$c250 = "restrict",
799
+ peg$c251 = peg$literalExpectation("RESTRICT", true),
800
+ peg$c252 = "cascade",
801
+ peg$c253 = peg$literalExpectation("CASCADE", true),
802
+ peg$c254 = "action",
803
+ peg$c255 = peg$literalExpectation("ACTION", true),
804
+ peg$c256 = peg$otherExpectation("index type"),
805
+ peg$c257 = "using",
806
+ peg$c258 = peg$literalExpectation("USING", true),
807
+ peg$c259 = "btree",
808
+ peg$c260 = peg$literalExpectation("BTREE", true),
809
+ peg$c261 = "hash",
810
+ peg$c262 = peg$literalExpectation("HASH", true),
811
+ peg$c263 = function peg$c263(type) {
814
812
  return type.toUpperCase();
815
813
  },
816
- peg$c266 = peg$otherExpectation("valid name"),
817
- peg$c267 = function peg$c267(c) {
814
+ peg$c264 = peg$otherExpectation("valid name"),
815
+ peg$c265 = function peg$c265(c) {
818
816
  return c.join("");
819
817
  },
820
- peg$c268 = /^[^`]/,
821
- peg$c269 = peg$classExpectation(["`"], true, false),
822
- peg$c270 = ".",
823
- peg$c271 = peg$literalExpectation(".", false),
824
- peg$c272 = function peg$c272(names) {
818
+ peg$c266 = /^[^`]/,
819
+ peg$c267 = peg$classExpectation(["`"], true, false),
820
+ peg$c268 = ".",
821
+ peg$c269 = peg$literalExpectation(".", false),
822
+ peg$c270 = function peg$c270(names) {
825
823
  var dbName = null;
826
824
  var schemaName = null;
827
825
  if (names && names.length > 0) {
@@ -835,22 +833,22 @@ function peg$parse(input, options) {
835
833
  schemaName: schemaName
836
834
  };
837
835
  },
838
- peg$c273 = peg$otherExpectation("valid table name"),
839
- peg$c274 = function peg$c274(pathName, name) {
836
+ peg$c271 = peg$otherExpectation("valid table name"),
837
+ peg$c272 = function peg$c272(pathName, name) {
840
838
  return _objectSpread(_objectSpread({}, pathName), {}, {
841
839
  name: name
842
840
  });
843
841
  },
844
- peg$c275 = peg$otherExpectation("type"),
845
- peg$c276 = function peg$c276(c) {
842
+ peg$c273 = peg$otherExpectation("type"),
843
+ peg$c274 = function peg$c274(c) {
846
844
  return c;
847
845
  },
848
- peg$c277 = function peg$c277(c) {
846
+ peg$c275 = function peg$c275(c) {
849
847
  return {
850
848
  type_name: c
851
849
  };
852
850
  },
853
- peg$c278 = function peg$c278(type_name, args) {
851
+ peg$c276 = function peg$c276(type_name, args) {
854
852
  args = args ? args[2] : null;
855
853
  if (type_name.toLowerCase() !== 'enum') {
856
854
  type_name = args ? type_name + '(' + args + ')' : type_name;
@@ -860,67 +858,67 @@ function peg$parse(input, options) {
860
858
  args: args
861
859
  };
862
860
  },
863
- peg$c279 = peg$otherExpectation("expression"),
864
- peg$c280 = function peg$c280(factors) {
861
+ peg$c277 = peg$otherExpectation("expression"),
862
+ peg$c278 = function peg$c278(factors) {
865
863
  return removeReduntdantSpNewline(_.flattenDeep(factors).join(""));
866
864
  },
867
- peg$c281 = ",",
868
- peg$c282 = peg$literalExpectation(",", false),
869
- peg$c283 = ");",
870
- peg$c284 = peg$literalExpectation(");", false),
871
- peg$c285 = function peg$c285(factors) {
865
+ peg$c279 = ",",
866
+ peg$c280 = peg$literalExpectation(",", false),
867
+ peg$c281 = ");",
868
+ peg$c282 = peg$literalExpectation(");", false),
869
+ peg$c283 = function peg$c283(factors) {
872
870
  return _.flattenDeep(factors).join("");
873
871
  },
874
- peg$c286 = /^[',.a-z0-9_+-`%]/i,
875
- peg$c287 = peg$classExpectation(["'", ",", ".", ["a", "z"], ["0", "9"], "_", ["+", "`"], "%"], false, true),
876
- peg$c288 = /^['.a-z0-9_+\-]/i,
877
- peg$c289 = peg$classExpectation(["'", ".", ["a", "z"], ["0", "9"], "_", "+", "-"], false, true),
878
- peg$c290 = peg$otherExpectation("letter, number or underscore"),
879
- peg$c291 = /^[a-z0-9_]/i,
880
- peg$c292 = peg$classExpectation([["a", "z"], ["0", "9"], "_"], false, true),
881
- peg$c293 = " ",
882
- peg$c294 = peg$literalExpectation(" ", false),
883
- peg$c295 = "`",
884
- peg$c296 = peg$literalExpectation("`", false),
885
- peg$c297 = "\t",
886
- peg$c298 = peg$literalExpectation("\t", false),
887
- peg$c299 = peg$otherExpectation("endline"),
888
- peg$c300 = peg$otherExpectation("newline"),
889
- peg$c301 = "\r\n",
890
- peg$c302 = peg$literalExpectation("\r\n", false),
891
- peg$c303 = "\n",
892
- peg$c304 = peg$literalExpectation("\n", false),
893
- peg$c305 = peg$otherExpectation("space"),
894
- peg$c306 = peg$otherExpectation("comment"),
895
- peg$c307 = "--",
896
- peg$c308 = peg$literalExpectation("--", false),
897
- peg$c309 = /^[^\n]/,
898
- peg$c310 = peg$classExpectation(["\n"], true, false),
899
- peg$c311 = "/*",
900
- peg$c312 = peg$literalExpectation("/*", false),
901
- peg$c313 = "*/",
902
- peg$c314 = peg$literalExpectation("*/", false),
903
- peg$c315 = peg$otherExpectation("string"),
904
- peg$c316 = function peg$c316(chars) {
872
+ peg$c284 = /^[',.a-z0-9_+-`%]/i,
873
+ peg$c285 = peg$classExpectation(["'", ",", ".", ["a", "z"], ["0", "9"], "_", ["+", "`"], "%"], false, true),
874
+ peg$c286 = /^['.a-z0-9_+\-]/i,
875
+ peg$c287 = peg$classExpectation(["'", ".", ["a", "z"], ["0", "9"], "_", "+", "-"], false, true),
876
+ peg$c288 = peg$otherExpectation("letter, number or underscore"),
877
+ peg$c289 = /^[a-z0-9_]/i,
878
+ peg$c290 = peg$classExpectation([["a", "z"], ["0", "9"], "_"], false, true),
879
+ peg$c291 = " ",
880
+ peg$c292 = peg$literalExpectation(" ", false),
881
+ peg$c293 = "`",
882
+ peg$c294 = peg$literalExpectation("`", false),
883
+ peg$c295 = "\t",
884
+ peg$c296 = peg$literalExpectation("\t", false),
885
+ peg$c297 = peg$otherExpectation("endline"),
886
+ peg$c298 = peg$otherExpectation("newline"),
887
+ peg$c299 = "\r\n",
888
+ peg$c300 = peg$literalExpectation("\r\n", false),
889
+ peg$c301 = "\n",
890
+ peg$c302 = peg$literalExpectation("\n", false),
891
+ peg$c303 = peg$otherExpectation("space"),
892
+ peg$c304 = peg$otherExpectation("comment"),
893
+ peg$c305 = "--",
894
+ peg$c306 = peg$literalExpectation("--", false),
895
+ peg$c307 = /^[^\n]/,
896
+ peg$c308 = peg$classExpectation(["\n"], true, false),
897
+ peg$c309 = "/*",
898
+ peg$c310 = peg$literalExpectation("/*", false),
899
+ peg$c311 = "*/",
900
+ peg$c312 = peg$literalExpectation("*/", false),
901
+ peg$c313 = peg$otherExpectation("string"),
902
+ peg$c314 = function peg$c314(chars) {
905
903
  return chars.join('');
906
904
  },
907
- peg$c317 = "\\",
908
- peg$c318 = peg$literalExpectation("\\", false),
909
- peg$c319 = function peg$c319() {
905
+ peg$c315 = "\\",
906
+ peg$c316 = peg$literalExpectation("\\", false),
907
+ peg$c317 = function peg$c317() {
910
908
  return '"';
911
909
  },
912
- peg$c320 = function peg$c320() {
910
+ peg$c318 = function peg$c318() {
913
911
  return text();
914
912
  },
915
- peg$c321 = function peg$c321() {
913
+ peg$c319 = function peg$c319() {
916
914
  return "'";
917
915
  },
918
- peg$c322 = /^[0-9]/,
919
- peg$c323 = peg$classExpectation([["0", "9"]], false, false),
920
- peg$c324 = function peg$c324(left, right) {
916
+ peg$c320 = /^[0-9]/,
917
+ peg$c321 = peg$classExpectation([["0", "9"]], false, false),
918
+ peg$c322 = function peg$c322(left, right) {
921
919
  return parseFloat(left.join("") + "." + right.join(""));
922
920
  },
923
- peg$c325 = function peg$c325(digits) {
921
+ peg$c323 = function peg$c323(digits) {
924
922
  return parseInt(digits.join(""), 10);
925
923
  },
926
924
  peg$currPos = 0,
@@ -6535,13 +6533,13 @@ function peg$parse(input, options) {
6535
6533
  function peg$parseComment() {
6536
6534
  var s0, s1, s2, s3, s4, s5, s6;
6537
6535
  s0 = peg$currPos;
6538
- if (input.substr(peg$currPos, 7) === peg$c221) {
6539
- s1 = peg$c221;
6536
+ if (input.substr(peg$currPos, 7).toLowerCase() === peg$c190) {
6537
+ s1 = input.substr(peg$currPos, 7);
6540
6538
  peg$currPos += 7;
6541
6539
  } else {
6542
6540
  s1 = peg$FAILED;
6543
6541
  if (peg$silentFails === 0) {
6544
- peg$fail(peg$c222);
6542
+ peg$fail(peg$c191);
6545
6543
  }
6546
6544
  }
6547
6545
  if (s1 !== peg$FAILED) {
@@ -6575,50 +6573,50 @@ function peg$parse(input, options) {
6575
6573
  }
6576
6574
  if (s3 !== peg$FAILED) {
6577
6575
  if (input.charCodeAt(peg$currPos) === 39) {
6578
- s4 = peg$c223;
6576
+ s4 = peg$c221;
6579
6577
  peg$currPos++;
6580
6578
  } else {
6581
6579
  s4 = peg$FAILED;
6582
6580
  if (peg$silentFails === 0) {
6583
- peg$fail(peg$c224);
6581
+ peg$fail(peg$c222);
6584
6582
  }
6585
6583
  }
6586
6584
  if (s4 !== peg$FAILED) {
6587
6585
  s5 = [];
6588
- if (peg$c225.test(input.charAt(peg$currPos))) {
6586
+ if (peg$c223.test(input.charAt(peg$currPos))) {
6589
6587
  s6 = input.charAt(peg$currPos);
6590
6588
  peg$currPos++;
6591
6589
  } else {
6592
6590
  s6 = peg$FAILED;
6593
6591
  if (peg$silentFails === 0) {
6594
- peg$fail(peg$c226);
6592
+ peg$fail(peg$c224);
6595
6593
  }
6596
6594
  }
6597
6595
  while (s6 !== peg$FAILED) {
6598
6596
  s5.push(s6);
6599
- if (peg$c225.test(input.charAt(peg$currPos))) {
6597
+ if (peg$c223.test(input.charAt(peg$currPos))) {
6600
6598
  s6 = input.charAt(peg$currPos);
6601
6599
  peg$currPos++;
6602
6600
  } else {
6603
6601
  s6 = peg$FAILED;
6604
6602
  if (peg$silentFails === 0) {
6605
- peg$fail(peg$c226);
6603
+ peg$fail(peg$c224);
6606
6604
  }
6607
6605
  }
6608
6606
  }
6609
6607
  if (s5 !== peg$FAILED) {
6610
6608
  if (input.charCodeAt(peg$currPos) === 39) {
6611
- s6 = peg$c223;
6609
+ s6 = peg$c221;
6612
6610
  peg$currPos++;
6613
6611
  } else {
6614
6612
  s6 = peg$FAILED;
6615
6613
  if (peg$silentFails === 0) {
6616
- peg$fail(peg$c224);
6614
+ peg$fail(peg$c222);
6617
6615
  }
6618
6616
  }
6619
6617
  if (s6 !== peg$FAILED) {
6620
6618
  peg$savedPos = s0;
6621
- s1 = peg$c227(s4, s5);
6619
+ s1 = peg$c225(s4, s5);
6622
6620
  s0 = s1;
6623
6621
  } else {
6624
6622
  peg$currPos = s0;
@@ -6646,13 +6644,13 @@ function peg$parse(input, options) {
6646
6644
  }
6647
6645
  if (s0 === peg$FAILED) {
6648
6646
  s0 = peg$currPos;
6649
- if (input.substr(peg$currPos, 7) === peg$c221) {
6650
- s1 = peg$c221;
6647
+ if (input.substr(peg$currPos, 7).toLowerCase() === peg$c190) {
6648
+ s1 = input.substr(peg$currPos, 7);
6651
6649
  peg$currPos += 7;
6652
6650
  } else {
6653
6651
  s1 = peg$FAILED;
6654
6652
  if (peg$silentFails === 0) {
6655
- peg$fail(peg$c222);
6653
+ peg$fail(peg$c191);
6656
6654
  }
6657
6655
  }
6658
6656
  if (s1 !== peg$FAILED) {
@@ -6686,50 +6684,50 @@ function peg$parse(input, options) {
6686
6684
  }
6687
6685
  if (s3 !== peg$FAILED) {
6688
6686
  if (input.charCodeAt(peg$currPos) === 34) {
6689
- s4 = peg$c228;
6687
+ s4 = peg$c226;
6690
6688
  peg$currPos++;
6691
6689
  } else {
6692
6690
  s4 = peg$FAILED;
6693
6691
  if (peg$silentFails === 0) {
6694
- peg$fail(peg$c229);
6692
+ peg$fail(peg$c227);
6695
6693
  }
6696
6694
  }
6697
6695
  if (s4 !== peg$FAILED) {
6698
6696
  s5 = [];
6699
- if (peg$c230.test(input.charAt(peg$currPos))) {
6697
+ if (peg$c228.test(input.charAt(peg$currPos))) {
6700
6698
  s6 = input.charAt(peg$currPos);
6701
6699
  peg$currPos++;
6702
6700
  } else {
6703
6701
  s6 = peg$FAILED;
6704
6702
  if (peg$silentFails === 0) {
6705
- peg$fail(peg$c231);
6703
+ peg$fail(peg$c229);
6706
6704
  }
6707
6705
  }
6708
6706
  while (s6 !== peg$FAILED) {
6709
6707
  s5.push(s6);
6710
- if (peg$c230.test(input.charAt(peg$currPos))) {
6708
+ if (peg$c228.test(input.charAt(peg$currPos))) {
6711
6709
  s6 = input.charAt(peg$currPos);
6712
6710
  peg$currPos++;
6713
6711
  } else {
6714
6712
  s6 = peg$FAILED;
6715
6713
  if (peg$silentFails === 0) {
6716
- peg$fail(peg$c231);
6714
+ peg$fail(peg$c229);
6717
6715
  }
6718
6716
  }
6719
6717
  }
6720
6718
  if (s5 !== peg$FAILED) {
6721
6719
  if (input.charCodeAt(peg$currPos) === 34) {
6722
- s6 = peg$c228;
6720
+ s6 = peg$c226;
6723
6721
  peg$currPos++;
6724
6722
  } else {
6725
6723
  s6 = peg$FAILED;
6726
6724
  if (peg$silentFails === 0) {
6727
- peg$fail(peg$c229);
6725
+ peg$fail(peg$c227);
6728
6726
  }
6729
6727
  }
6730
6728
  if (s6 !== peg$FAILED) {
6731
6729
  peg$savedPos = s0;
6732
- s1 = peg$c227(s4, s5);
6730
+ s1 = peg$c225(s4, s5);
6733
6731
  s0 = s1;
6734
6732
  } else {
6735
6733
  peg$currPos = s0;
@@ -6774,13 +6772,13 @@ function peg$parse(input, options) {
6774
6772
  if (s1 !== peg$FAILED) {
6775
6773
  s2 = peg$parse_();
6776
6774
  if (s2 !== peg$FAILED) {
6777
- if (input.substr(peg$currPos, 9).toLowerCase() === peg$c233) {
6775
+ if (input.substr(peg$currPos, 9).toLowerCase() === peg$c231) {
6778
6776
  s3 = input.substr(peg$currPos, 9);
6779
6777
  peg$currPos += 9;
6780
6778
  } else {
6781
6779
  s3 = peg$FAILED;
6782
6780
  if (peg$silentFails === 0) {
6783
- peg$fail(peg$c234);
6781
+ peg$fail(peg$c232);
6784
6782
  }
6785
6783
  }
6786
6784
  if (s3 === peg$FAILED) {
@@ -6789,13 +6787,13 @@ function peg$parse(input, options) {
6789
6787
  if (s3 !== peg$FAILED) {
6790
6788
  s4 = peg$parse_();
6791
6789
  if (s4 !== peg$FAILED) {
6792
- if (input.substr(peg$currPos, 5).toLowerCase() === peg$c235) {
6790
+ if (input.substr(peg$currPos, 5).toLowerCase() === peg$c233) {
6793
6791
  s5 = input.substr(peg$currPos, 5);
6794
6792
  peg$currPos += 5;
6795
6793
  } else {
6796
6794
  s5 = peg$FAILED;
6797
6795
  if (peg$silentFails === 0) {
6798
- peg$fail(peg$c236);
6796
+ peg$fail(peg$c234);
6799
6797
  }
6800
6798
  }
6801
6799
  if (s5 !== peg$FAILED) {
@@ -6825,7 +6823,7 @@ function peg$parse(input, options) {
6825
6823
  if (s0 === peg$FAILED) {
6826
6824
  s1 = peg$FAILED;
6827
6825
  if (peg$silentFails === 0) {
6828
- peg$fail(peg$c232);
6826
+ peg$fail(peg$c230);
6829
6827
  }
6830
6828
  }
6831
6829
  return s0;
@@ -6834,13 +6832,13 @@ function peg$parse(input, options) {
6834
6832
  var s0, s1, s2, s3, s4, s5;
6835
6833
  peg$silentFails++;
6836
6834
  s0 = peg$currPos;
6837
- if (input.substr(peg$currPos, 2).toLowerCase() === peg$c238) {
6835
+ if (input.substr(peg$currPos, 2).toLowerCase() === peg$c236) {
6838
6836
  s1 = input.substr(peg$currPos, 2);
6839
6837
  peg$currPos += 2;
6840
6838
  } else {
6841
6839
  s1 = peg$FAILED;
6842
6840
  if (peg$silentFails === 0) {
6843
- peg$fail(peg$c239);
6841
+ peg$fail(peg$c237);
6844
6842
  }
6845
6843
  }
6846
6844
  if (s1 !== peg$FAILED) {
@@ -6858,13 +6856,13 @@ function peg$parse(input, options) {
6858
6856
  if (s3 !== peg$FAILED) {
6859
6857
  s4 = peg$parse_();
6860
6858
  if (s4 !== peg$FAILED) {
6861
- if (input.substr(peg$currPos, 6).toLowerCase() === peg$c240) {
6859
+ if (input.substr(peg$currPos, 6).toLowerCase() === peg$c238) {
6862
6860
  s5 = input.substr(peg$currPos, 6);
6863
6861
  peg$currPos += 6;
6864
6862
  } else {
6865
6863
  s5 = peg$FAILED;
6866
6864
  if (peg$silentFails === 0) {
6867
- peg$fail(peg$c241);
6865
+ peg$fail(peg$c239);
6868
6866
  }
6869
6867
  }
6870
6868
  if (s5 !== peg$FAILED) {
@@ -6894,7 +6892,7 @@ function peg$parse(input, options) {
6894
6892
  if (s0 === peg$FAILED) {
6895
6893
  s1 = peg$FAILED;
6896
6894
  if (peg$silentFails === 0) {
6897
- peg$fail(peg$c237);
6895
+ peg$fail(peg$c235);
6898
6896
  }
6899
6897
  }
6900
6898
  return s0;
@@ -6915,13 +6913,13 @@ function peg$parse(input, options) {
6915
6913
  if (s1 !== peg$FAILED) {
6916
6914
  s2 = peg$parse_();
6917
6915
  if (s2 !== peg$FAILED) {
6918
- if (input.substr(peg$currPos, 5).toLowerCase() === peg$c235) {
6916
+ if (input.substr(peg$currPos, 5).toLowerCase() === peg$c233) {
6919
6917
  s3 = input.substr(peg$currPos, 5);
6920
6918
  peg$currPos += 5;
6921
6919
  } else {
6922
6920
  s3 = peg$FAILED;
6923
6921
  if (peg$silentFails === 0) {
6924
- peg$fail(peg$c236);
6922
+ peg$fail(peg$c234);
6925
6923
  }
6926
6924
  }
6927
6925
  if (s3 !== peg$FAILED) {
@@ -6943,7 +6941,7 @@ function peg$parse(input, options) {
6943
6941
  if (s0 === peg$FAILED) {
6944
6942
  s1 = peg$FAILED;
6945
6943
  if (peg$silentFails === 0) {
6946
- peg$fail(peg$c242);
6944
+ peg$fail(peg$c240);
6947
6945
  }
6948
6946
  }
6949
6947
  return s0;
@@ -6979,7 +6977,7 @@ function peg$parse(input, options) {
6979
6977
  }
6980
6978
  if (s5 !== peg$FAILED) {
6981
6979
  peg$savedPos = s0;
6982
- s1 = peg$c244(s3);
6980
+ s1 = peg$c242(s3);
6983
6981
  s0 = s1;
6984
6982
  } else {
6985
6983
  peg$currPos = s0;
@@ -7026,7 +7024,7 @@ function peg$parse(input, options) {
7026
7024
  }
7027
7025
  if (s3 !== peg$FAILED) {
7028
7026
  peg$savedPos = s0;
7029
- s1 = peg$c245();
7027
+ s1 = peg$c243();
7030
7028
  s0 = s1;
7031
7029
  } else {
7032
7030
  peg$currPos = s0;
@@ -7045,7 +7043,7 @@ function peg$parse(input, options) {
7045
7043
  if (s0 === peg$FAILED) {
7046
7044
  s1 = peg$FAILED;
7047
7045
  if (peg$silentFails === 0) {
7048
- peg$fail(peg$c243);
7046
+ peg$fail(peg$c241);
7049
7047
  }
7050
7048
  }
7051
7049
  return s0;
@@ -7053,13 +7051,13 @@ function peg$parse(input, options) {
7053
7051
  function peg$parseprimary_key() {
7054
7052
  var s0, s1, s2, s3;
7055
7053
  s0 = peg$currPos;
7056
- if (input.substr(peg$currPos, 7).toLowerCase() === peg$c246) {
7054
+ if (input.substr(peg$currPos, 7).toLowerCase() === peg$c244) {
7057
7055
  s1 = input.substr(peg$currPos, 7);
7058
7056
  peg$currPos += 7;
7059
7057
  } else {
7060
7058
  s1 = peg$FAILED;
7061
7059
  if (peg$silentFails === 0) {
7062
- peg$fail(peg$c247);
7060
+ peg$fail(peg$c245);
7063
7061
  }
7064
7062
  }
7065
7063
  if (s1 !== peg$FAILED) {
@@ -7094,13 +7092,13 @@ function peg$parse(input, options) {
7094
7092
  function peg$parseforeign_key() {
7095
7093
  var s0, s1, s2, s3;
7096
7094
  s0 = peg$currPos;
7097
- if (input.substr(peg$currPos, 7).toLowerCase() === peg$c248) {
7095
+ if (input.substr(peg$currPos, 7).toLowerCase() === peg$c246) {
7098
7096
  s1 = input.substr(peg$currPos, 7);
7099
7097
  peg$currPos += 7;
7100
7098
  } else {
7101
7099
  s1 = peg$FAILED;
7102
7100
  if (peg$silentFails === 0) {
7103
- peg$fail(peg$c249);
7101
+ peg$fail(peg$c247);
7104
7102
  }
7105
7103
  }
7106
7104
  if (s1 !== peg$FAILED) {
@@ -7134,13 +7132,13 @@ function peg$parse(input, options) {
7134
7132
  }
7135
7133
  function peg$parsereferences() {
7136
7134
  var s0;
7137
- if (input.substr(peg$currPos, 10).toLowerCase() === peg$c250) {
7135
+ if (input.substr(peg$currPos, 10).toLowerCase() === peg$c248) {
7138
7136
  s0 = input.substr(peg$currPos, 10);
7139
7137
  peg$currPos += 10;
7140
7138
  } else {
7141
7139
  s0 = peg$FAILED;
7142
7140
  if (peg$silentFails === 0) {
7143
- peg$fail(peg$c251);
7141
+ peg$fail(peg$c249);
7144
7142
  }
7145
7143
  }
7146
7144
  return s0;
@@ -7161,23 +7159,23 @@ function peg$parse(input, options) {
7161
7159
  function peg$parsereferences_options() {
7162
7160
  var s0, s1, s2, s3, s4;
7163
7161
  s0 = peg$currPos;
7164
- if (input.substr(peg$currPos, 8).toLowerCase() === peg$c252) {
7162
+ if (input.substr(peg$currPos, 8).toLowerCase() === peg$c250) {
7165
7163
  s1 = input.substr(peg$currPos, 8);
7166
7164
  peg$currPos += 8;
7167
7165
  } else {
7168
7166
  s1 = peg$FAILED;
7169
7167
  if (peg$silentFails === 0) {
7170
- peg$fail(peg$c253);
7168
+ peg$fail(peg$c251);
7171
7169
  }
7172
7170
  }
7173
7171
  if (s1 === peg$FAILED) {
7174
- if (input.substr(peg$currPos, 7).toLowerCase() === peg$c254) {
7172
+ if (input.substr(peg$currPos, 7).toLowerCase() === peg$c252) {
7175
7173
  s1 = input.substr(peg$currPos, 7);
7176
7174
  peg$currPos += 7;
7177
7175
  } else {
7178
7176
  s1 = peg$FAILED;
7179
7177
  if (peg$silentFails === 0) {
7180
- peg$fail(peg$c255);
7178
+ peg$fail(peg$c253);
7181
7179
  }
7182
7180
  }
7183
7181
  if (s1 === peg$FAILED) {
@@ -7232,13 +7230,13 @@ function peg$parse(input, options) {
7232
7230
  if (s2 !== peg$FAILED) {
7233
7231
  s3 = peg$parse_();
7234
7232
  if (s3 !== peg$FAILED) {
7235
- if (input.substr(peg$currPos, 6).toLowerCase() === peg$c256) {
7233
+ if (input.substr(peg$currPos, 6).toLowerCase() === peg$c254) {
7236
7234
  s4 = input.substr(peg$currPos, 6);
7237
7235
  peg$currPos += 6;
7238
7236
  } else {
7239
7237
  s4 = peg$FAILED;
7240
7238
  if (peg$silentFails === 0) {
7241
- peg$fail(peg$c257);
7239
+ peg$fail(peg$c255);
7242
7240
  }
7243
7241
  }
7244
7242
  if (s4 !== peg$FAILED) {
@@ -7309,41 +7307,41 @@ function peg$parse(input, options) {
7309
7307
  var s0, s1, s2, s3;
7310
7308
  peg$silentFails++;
7311
7309
  s0 = peg$currPos;
7312
- if (input.substr(peg$currPos, 5).toLowerCase() === peg$c259) {
7310
+ if (input.substr(peg$currPos, 5).toLowerCase() === peg$c257) {
7313
7311
  s1 = input.substr(peg$currPos, 5);
7314
7312
  peg$currPos += 5;
7315
7313
  } else {
7316
7314
  s1 = peg$FAILED;
7317
7315
  if (peg$silentFails === 0) {
7318
- peg$fail(peg$c260);
7316
+ peg$fail(peg$c258);
7319
7317
  }
7320
7318
  }
7321
7319
  if (s1 !== peg$FAILED) {
7322
7320
  s2 = peg$parse_();
7323
7321
  if (s2 !== peg$FAILED) {
7324
- if (input.substr(peg$currPos, 5).toLowerCase() === peg$c261) {
7322
+ if (input.substr(peg$currPos, 5).toLowerCase() === peg$c259) {
7325
7323
  s3 = input.substr(peg$currPos, 5);
7326
7324
  peg$currPos += 5;
7327
7325
  } else {
7328
7326
  s3 = peg$FAILED;
7329
7327
  if (peg$silentFails === 0) {
7330
- peg$fail(peg$c262);
7328
+ peg$fail(peg$c260);
7331
7329
  }
7332
7330
  }
7333
7331
  if (s3 === peg$FAILED) {
7334
- if (input.substr(peg$currPos, 4).toLowerCase() === peg$c263) {
7332
+ if (input.substr(peg$currPos, 4).toLowerCase() === peg$c261) {
7335
7333
  s3 = input.substr(peg$currPos, 4);
7336
7334
  peg$currPos += 4;
7337
7335
  } else {
7338
7336
  s3 = peg$FAILED;
7339
7337
  if (peg$silentFails === 0) {
7340
- peg$fail(peg$c264);
7338
+ peg$fail(peg$c262);
7341
7339
  }
7342
7340
  }
7343
7341
  }
7344
7342
  if (s3 !== peg$FAILED) {
7345
7343
  peg$savedPos = s0;
7346
- s1 = peg$c265(s3);
7344
+ s1 = peg$c263(s3);
7347
7345
  s0 = s1;
7348
7346
  } else {
7349
7347
  peg$currPos = s0;
@@ -7361,7 +7359,7 @@ function peg$parse(input, options) {
7361
7359
  if (s0 === peg$FAILED) {
7362
7360
  s1 = peg$FAILED;
7363
7361
  if (peg$silentFails === 0) {
7364
- peg$fail(peg$c258);
7362
+ peg$fail(peg$c256);
7365
7363
  }
7366
7364
  }
7367
7365
  return s0;
@@ -7382,7 +7380,7 @@ function peg$parse(input, options) {
7382
7380
  }
7383
7381
  if (s1 !== peg$FAILED) {
7384
7382
  peg$savedPos = s0;
7385
- s1 = peg$c267(s1);
7383
+ s1 = peg$c265(s1);
7386
7384
  }
7387
7385
  s0 = s1;
7388
7386
  if (s0 === peg$FAILED) {
@@ -7390,25 +7388,25 @@ function peg$parse(input, options) {
7390
7388
  s1 = peg$parsequote();
7391
7389
  if (s1 !== peg$FAILED) {
7392
7390
  s2 = [];
7393
- if (peg$c268.test(input.charAt(peg$currPos))) {
7391
+ if (peg$c266.test(input.charAt(peg$currPos))) {
7394
7392
  s3 = input.charAt(peg$currPos);
7395
7393
  peg$currPos++;
7396
7394
  } else {
7397
7395
  s3 = peg$FAILED;
7398
7396
  if (peg$silentFails === 0) {
7399
- peg$fail(peg$c269);
7397
+ peg$fail(peg$c267);
7400
7398
  }
7401
7399
  }
7402
7400
  if (s3 !== peg$FAILED) {
7403
7401
  while (s3 !== peg$FAILED) {
7404
7402
  s2.push(s3);
7405
- if (peg$c268.test(input.charAt(peg$currPos))) {
7403
+ if (peg$c266.test(input.charAt(peg$currPos))) {
7406
7404
  s3 = input.charAt(peg$currPos);
7407
7405
  peg$currPos++;
7408
7406
  } else {
7409
7407
  s3 = peg$FAILED;
7410
7408
  if (peg$silentFails === 0) {
7411
- peg$fail(peg$c269);
7409
+ peg$fail(peg$c267);
7412
7410
  }
7413
7411
  }
7414
7412
  }
@@ -7419,7 +7417,7 @@ function peg$parse(input, options) {
7419
7417
  s3 = peg$parsequote();
7420
7418
  if (s3 !== peg$FAILED) {
7421
7419
  peg$savedPos = s0;
7422
- s1 = peg$c267(s2);
7420
+ s1 = peg$c265(s2);
7423
7421
  s0 = s1;
7424
7422
  } else {
7425
7423
  peg$currPos = s0;
@@ -7438,7 +7436,7 @@ function peg$parse(input, options) {
7438
7436
  if (s0 === peg$FAILED) {
7439
7437
  s1 = peg$FAILED;
7440
7438
  if (peg$silentFails === 0) {
7441
- peg$fail(peg$c266);
7439
+ peg$fail(peg$c264);
7442
7440
  }
7443
7441
  }
7444
7442
  return s0;
@@ -7453,12 +7451,12 @@ function peg$parse(input, options) {
7453
7451
  s4 = peg$parse_();
7454
7452
  if (s4 !== peg$FAILED) {
7455
7453
  if (input.charCodeAt(peg$currPos) === 46) {
7456
- s5 = peg$c270;
7454
+ s5 = peg$c268;
7457
7455
  peg$currPos++;
7458
7456
  } else {
7459
7457
  s5 = peg$FAILED;
7460
7458
  if (peg$silentFails === 0) {
7461
- peg$fail(peg$c271);
7459
+ peg$fail(peg$c269);
7462
7460
  }
7463
7461
  }
7464
7462
  if (s5 !== peg$FAILED) {
@@ -7490,12 +7488,12 @@ function peg$parse(input, options) {
7490
7488
  s4 = peg$parse_();
7491
7489
  if (s4 !== peg$FAILED) {
7492
7490
  if (input.charCodeAt(peg$currPos) === 46) {
7493
- s5 = peg$c270;
7491
+ s5 = peg$c268;
7494
7492
  peg$currPos++;
7495
7493
  } else {
7496
7494
  s5 = peg$FAILED;
7497
7495
  if (peg$silentFails === 0) {
7498
- peg$fail(peg$c271);
7496
+ peg$fail(peg$c269);
7499
7497
  }
7500
7498
  }
7501
7499
  if (s5 !== peg$FAILED) {
@@ -7522,7 +7520,7 @@ function peg$parse(input, options) {
7522
7520
  }
7523
7521
  if (s1 !== peg$FAILED) {
7524
7522
  peg$savedPos = s0;
7525
- s1 = peg$c272(s1);
7523
+ s1 = peg$c270(s1);
7526
7524
  }
7527
7525
  s0 = s1;
7528
7526
  return s0;
@@ -7536,7 +7534,7 @@ function peg$parse(input, options) {
7536
7534
  s2 = peg$parsename();
7537
7535
  if (s2 !== peg$FAILED) {
7538
7536
  peg$savedPos = s0;
7539
- s1 = peg$c274(s1, s2);
7537
+ s1 = peg$c272(s1, s2);
7540
7538
  s0 = s1;
7541
7539
  } else {
7542
7540
  peg$currPos = s0;
@@ -7550,7 +7548,7 @@ function peg$parse(input, options) {
7550
7548
  if (s0 === peg$FAILED) {
7551
7549
  s1 = peg$FAILED;
7552
7550
  if (peg$silentFails === 0) {
7553
- peg$fail(peg$c273);
7551
+ peg$fail(peg$c271);
7554
7552
  }
7555
7553
  }
7556
7554
  return s0;
@@ -7562,7 +7560,7 @@ function peg$parse(input, options) {
7562
7560
  s1 = peg$parsetype_name();
7563
7561
  if (s1 !== peg$FAILED) {
7564
7562
  peg$savedPos = s0;
7565
- s1 = peg$c276(s1);
7563
+ s1 = peg$c274(s1);
7566
7564
  }
7567
7565
  s0 = s1;
7568
7566
  if (s0 === peg$FAILED) {
@@ -7570,7 +7568,7 @@ function peg$parse(input, options) {
7570
7568
  s1 = peg$parsename();
7571
7569
  if (s1 !== peg$FAILED) {
7572
7570
  peg$savedPos = s0;
7573
- s1 = peg$c277(s1);
7571
+ s1 = peg$c275(s1);
7574
7572
  }
7575
7573
  s0 = s1;
7576
7574
  }
@@ -7578,7 +7576,7 @@ function peg$parse(input, options) {
7578
7576
  if (s0 === peg$FAILED) {
7579
7577
  s1 = peg$FAILED;
7580
7578
  if (peg$silentFails === 0) {
7581
- peg$fail(peg$c275);
7579
+ peg$fail(peg$c273);
7582
7580
  }
7583
7581
  }
7584
7582
  return s0;
@@ -7644,7 +7642,7 @@ function peg$parse(input, options) {
7644
7642
  }
7645
7643
  if (s3 !== peg$FAILED) {
7646
7644
  peg$savedPos = s0;
7647
- s1 = peg$c278(s1, s3);
7645
+ s1 = peg$c276(s1, s3);
7648
7646
  s0 = s1;
7649
7647
  } else {
7650
7648
  peg$currPos = s0;
@@ -7672,14 +7670,14 @@ function peg$parse(input, options) {
7672
7670
  }
7673
7671
  if (s1 !== peg$FAILED) {
7674
7672
  peg$savedPos = s0;
7675
- s1 = peg$c280(s1);
7673
+ s1 = peg$c278(s1);
7676
7674
  }
7677
7675
  s0 = s1;
7678
7676
  peg$silentFails--;
7679
7677
  if (s0 === peg$FAILED) {
7680
7678
  s1 = peg$FAILED;
7681
7679
  if (peg$silentFails === 0) {
7682
- peg$fail(peg$c279);
7680
+ peg$fail(peg$c277);
7683
7681
  }
7684
7682
  }
7685
7683
  return s0;
@@ -7801,35 +7799,35 @@ function peg$parse(input, options) {
7801
7799
  s4 = peg$parse_();
7802
7800
  if (s4 === peg$FAILED) {
7803
7801
  if (input.charCodeAt(peg$currPos) === 44) {
7804
- s4 = peg$c281;
7802
+ s4 = peg$c279;
7805
7803
  peg$currPos++;
7806
7804
  } else {
7807
7805
  s4 = peg$FAILED;
7808
7806
  if (peg$silentFails === 0) {
7809
- peg$fail(peg$c282);
7807
+ peg$fail(peg$c280);
7810
7808
  }
7811
7809
  }
7812
7810
  if (s4 === peg$FAILED) {
7813
- if (input.substr(peg$currPos, 2) === peg$c283) {
7814
- s4 = peg$c283;
7811
+ if (input.substr(peg$currPos, 2) === peg$c281) {
7812
+ s4 = peg$c281;
7815
7813
  peg$currPos += 2;
7816
7814
  } else {
7817
7815
  s4 = peg$FAILED;
7818
7816
  if (peg$silentFails === 0) {
7819
- peg$fail(peg$c284);
7817
+ peg$fail(peg$c282);
7820
7818
  }
7821
7819
  }
7822
7820
  if (s4 === peg$FAILED) {
7823
7821
  s4 = peg$currPos;
7824
7822
  s5 = peg$parseendline();
7825
7823
  if (s5 !== peg$FAILED) {
7826
- if (input.substr(peg$currPos, 2) === peg$c283) {
7827
- s6 = peg$c283;
7824
+ if (input.substr(peg$currPos, 2) === peg$c281) {
7825
+ s6 = peg$c281;
7828
7826
  peg$currPos += 2;
7829
7827
  } else {
7830
7828
  s6 = peg$FAILED;
7831
7829
  if (peg$silentFails === 0) {
7832
- peg$fail(peg$c284);
7830
+ peg$fail(peg$c282);
7833
7831
  }
7834
7832
  }
7835
7833
  if (s6 !== peg$FAILED) {
@@ -7911,20 +7909,20 @@ function peg$parse(input, options) {
7911
7909
  }
7912
7910
  if (s1 !== peg$FAILED) {
7913
7911
  peg$savedPos = s0;
7914
- s1 = peg$c285(s1);
7912
+ s1 = peg$c283(s1);
7915
7913
  }
7916
7914
  s0 = s1;
7917
7915
  return s0;
7918
7916
  }
7919
7917
  function peg$parseexprChar() {
7920
7918
  var s0;
7921
- if (peg$c286.test(input.charAt(peg$currPos))) {
7919
+ if (peg$c284.test(input.charAt(peg$currPos))) {
7922
7920
  s0 = input.charAt(peg$currPos);
7923
7921
  peg$currPos++;
7924
7922
  } else {
7925
7923
  s0 = peg$FAILED;
7926
7924
  if (peg$silentFails === 0) {
7927
- peg$fail(peg$c287);
7925
+ peg$fail(peg$c285);
7928
7926
  }
7929
7927
  }
7930
7928
  if (s0 === peg$FAILED) {
@@ -7940,13 +7938,13 @@ function peg$parse(input, options) {
7940
7938
  }
7941
7939
  function peg$parseexprCharNoCommaSpace() {
7942
7940
  var s0;
7943
- if (peg$c288.test(input.charAt(peg$currPos))) {
7941
+ if (peg$c286.test(input.charAt(peg$currPos))) {
7944
7942
  s0 = input.charAt(peg$currPos);
7945
7943
  peg$currPos++;
7946
7944
  } else {
7947
7945
  s0 = peg$FAILED;
7948
7946
  if (peg$silentFails === 0) {
7949
- peg$fail(peg$c289);
7947
+ peg$fail(peg$c287);
7950
7948
  }
7951
7949
  }
7952
7950
  return s0;
@@ -7954,20 +7952,20 @@ function peg$parse(input, options) {
7954
7952
  function peg$parsecharacter() {
7955
7953
  var s0, s1;
7956
7954
  peg$silentFails++;
7957
- if (peg$c291.test(input.charAt(peg$currPos))) {
7955
+ if (peg$c289.test(input.charAt(peg$currPos))) {
7958
7956
  s0 = input.charAt(peg$currPos);
7959
7957
  peg$currPos++;
7960
7958
  } else {
7961
7959
  s0 = peg$FAILED;
7962
7960
  if (peg$silentFails === 0) {
7963
- peg$fail(peg$c292);
7961
+ peg$fail(peg$c290);
7964
7962
  }
7965
7963
  }
7966
7964
  peg$silentFails--;
7967
7965
  if (s0 === peg$FAILED) {
7968
7966
  s1 = peg$FAILED;
7969
7967
  if (peg$silentFails === 0) {
7970
- peg$fail(peg$c290);
7968
+ peg$fail(peg$c288);
7971
7969
  }
7972
7970
  }
7973
7971
  return s0;
@@ -7975,12 +7973,12 @@ function peg$parse(input, options) {
7975
7973
  function peg$parsesp() {
7976
7974
  var s0;
7977
7975
  if (input.charCodeAt(peg$currPos) === 32) {
7978
- s0 = peg$c293;
7976
+ s0 = peg$c291;
7979
7977
  peg$currPos++;
7980
7978
  } else {
7981
7979
  s0 = peg$FAILED;
7982
7980
  if (peg$silentFails === 0) {
7983
- peg$fail(peg$c294);
7981
+ peg$fail(peg$c292);
7984
7982
  }
7985
7983
  }
7986
7984
  return s0;
@@ -7988,22 +7986,22 @@ function peg$parse(input, options) {
7988
7986
  function peg$parsequote() {
7989
7987
  var s0;
7990
7988
  if (input.charCodeAt(peg$currPos) === 96) {
7991
- s0 = peg$c295;
7989
+ s0 = peg$c293;
7992
7990
  peg$currPos++;
7993
7991
  } else {
7994
7992
  s0 = peg$FAILED;
7995
7993
  if (peg$silentFails === 0) {
7996
- peg$fail(peg$c296);
7994
+ peg$fail(peg$c294);
7997
7995
  }
7998
7996
  }
7999
7997
  if (s0 === peg$FAILED) {
8000
7998
  if (input.charCodeAt(peg$currPos) === 34) {
8001
- s0 = peg$c228;
7999
+ s0 = peg$c226;
8002
8000
  peg$currPos++;
8003
8001
  } else {
8004
8002
  s0 = peg$FAILED;
8005
8003
  if (peg$silentFails === 0) {
8006
- peg$fail(peg$c229);
8004
+ peg$fail(peg$c227);
8007
8005
  }
8008
8006
  }
8009
8007
  }
@@ -8012,12 +8010,12 @@ function peg$parse(input, options) {
8012
8010
  function peg$parsecomma() {
8013
8011
  var s0;
8014
8012
  if (input.charCodeAt(peg$currPos) === 44) {
8015
- s0 = peg$c281;
8013
+ s0 = peg$c279;
8016
8014
  peg$currPos++;
8017
8015
  } else {
8018
8016
  s0 = peg$FAILED;
8019
8017
  if (peg$silentFails === 0) {
8020
- peg$fail(peg$c282);
8018
+ peg$fail(peg$c280);
8021
8019
  }
8022
8020
  }
8023
8021
  return s0;
@@ -8025,12 +8023,12 @@ function peg$parse(input, options) {
8025
8023
  function peg$parsetab() {
8026
8024
  var s0;
8027
8025
  if (input.charCodeAt(peg$currPos) === 9) {
8028
- s0 = peg$c297;
8026
+ s0 = peg$c295;
8029
8027
  peg$currPos++;
8030
8028
  } else {
8031
8029
  s0 = peg$FAILED;
8032
8030
  if (peg$silentFails === 0) {
8033
- peg$fail(peg$c298);
8031
+ peg$fail(peg$c296);
8034
8032
  }
8035
8033
  }
8036
8034
  return s0;
@@ -8075,7 +8073,7 @@ function peg$parse(input, options) {
8075
8073
  if (s0 === peg$FAILED) {
8076
8074
  s1 = peg$FAILED;
8077
8075
  if (peg$silentFails === 0) {
8078
- peg$fail(peg$c299);
8076
+ peg$fail(peg$c297);
8079
8077
  }
8080
8078
  }
8081
8079
  return s0;
@@ -8083,23 +8081,23 @@ function peg$parse(input, options) {
8083
8081
  function peg$parsenewline() {
8084
8082
  var s0, s1;
8085
8083
  peg$silentFails++;
8086
- if (input.substr(peg$currPos, 2) === peg$c301) {
8087
- s0 = peg$c301;
8084
+ if (input.substr(peg$currPos, 2) === peg$c299) {
8085
+ s0 = peg$c299;
8088
8086
  peg$currPos += 2;
8089
8087
  } else {
8090
8088
  s0 = peg$FAILED;
8091
8089
  if (peg$silentFails === 0) {
8092
- peg$fail(peg$c302);
8090
+ peg$fail(peg$c300);
8093
8091
  }
8094
8092
  }
8095
8093
  if (s0 === peg$FAILED) {
8096
8094
  if (input.charCodeAt(peg$currPos) === 10) {
8097
- s0 = peg$c303;
8095
+ s0 = peg$c301;
8098
8096
  peg$currPos++;
8099
8097
  } else {
8100
8098
  s0 = peg$FAILED;
8101
8099
  if (peg$silentFails === 0) {
8102
- peg$fail(peg$c304);
8100
+ peg$fail(peg$c302);
8103
8101
  }
8104
8102
  }
8105
8103
  }
@@ -8107,7 +8105,7 @@ function peg$parse(input, options) {
8107
8105
  if (s0 === peg$FAILED) {
8108
8106
  s1 = peg$FAILED;
8109
8107
  if (peg$silentFails === 0) {
8110
- peg$fail(peg$c300);
8108
+ peg$fail(peg$c298);
8111
8109
  }
8112
8110
  }
8113
8111
  return s0;
@@ -8143,7 +8141,7 @@ function peg$parse(input, options) {
8143
8141
  if (s0 === peg$FAILED) {
8144
8142
  s1 = peg$FAILED;
8145
8143
  if (peg$silentFails === 0) {
8146
- peg$fail(peg$c305);
8144
+ peg$fail(peg$c303);
8147
8145
  }
8148
8146
  }
8149
8147
  return s0;
@@ -8183,7 +8181,7 @@ function peg$parse(input, options) {
8183
8181
  if (s0 === peg$FAILED) {
8184
8182
  s1 = peg$FAILED;
8185
8183
  if (peg$silentFails === 0) {
8186
- peg$fail(peg$c305);
8184
+ peg$fail(peg$c303);
8187
8185
  }
8188
8186
  }
8189
8187
  return s0;
@@ -8192,35 +8190,35 @@ function peg$parse(input, options) {
8192
8190
  var s0, s1, s2, s3, s4, s5;
8193
8191
  peg$silentFails++;
8194
8192
  s0 = peg$currPos;
8195
- if (input.substr(peg$currPos, 2) === peg$c307) {
8196
- s1 = peg$c307;
8193
+ if (input.substr(peg$currPos, 2) === peg$c305) {
8194
+ s1 = peg$c305;
8197
8195
  peg$currPos += 2;
8198
8196
  } else {
8199
8197
  s1 = peg$FAILED;
8200
8198
  if (peg$silentFails === 0) {
8201
- peg$fail(peg$c308);
8199
+ peg$fail(peg$c306);
8202
8200
  }
8203
8201
  }
8204
8202
  if (s1 !== peg$FAILED) {
8205
8203
  s2 = [];
8206
- if (peg$c309.test(input.charAt(peg$currPos))) {
8204
+ if (peg$c307.test(input.charAt(peg$currPos))) {
8207
8205
  s3 = input.charAt(peg$currPos);
8208
8206
  peg$currPos++;
8209
8207
  } else {
8210
8208
  s3 = peg$FAILED;
8211
8209
  if (peg$silentFails === 0) {
8212
- peg$fail(peg$c310);
8210
+ peg$fail(peg$c308);
8213
8211
  }
8214
8212
  }
8215
8213
  while (s3 !== peg$FAILED) {
8216
8214
  s2.push(s3);
8217
- if (peg$c309.test(input.charAt(peg$currPos))) {
8215
+ if (peg$c307.test(input.charAt(peg$currPos))) {
8218
8216
  s3 = input.charAt(peg$currPos);
8219
8217
  peg$currPos++;
8220
8218
  } else {
8221
8219
  s3 = peg$FAILED;
8222
8220
  if (peg$silentFails === 0) {
8223
- peg$fail(peg$c310);
8221
+ peg$fail(peg$c308);
8224
8222
  }
8225
8223
  }
8226
8224
  }
@@ -8237,13 +8235,13 @@ function peg$parse(input, options) {
8237
8235
  }
8238
8236
  if (s0 === peg$FAILED) {
8239
8237
  s0 = peg$currPos;
8240
- if (input.substr(peg$currPos, 2) === peg$c311) {
8241
- s1 = peg$c311;
8238
+ if (input.substr(peg$currPos, 2) === peg$c309) {
8239
+ s1 = peg$c309;
8242
8240
  peg$currPos += 2;
8243
8241
  } else {
8244
8242
  s1 = peg$FAILED;
8245
8243
  if (peg$silentFails === 0) {
8246
- peg$fail(peg$c312);
8244
+ peg$fail(peg$c310);
8247
8245
  }
8248
8246
  }
8249
8247
  if (s1 !== peg$FAILED) {
@@ -8251,13 +8249,13 @@ function peg$parse(input, options) {
8251
8249
  s3 = peg$currPos;
8252
8250
  s4 = peg$currPos;
8253
8251
  peg$silentFails++;
8254
- if (input.substr(peg$currPos, 2) === peg$c313) {
8255
- s5 = peg$c313;
8252
+ if (input.substr(peg$currPos, 2) === peg$c311) {
8253
+ s5 = peg$c311;
8256
8254
  peg$currPos += 2;
8257
8255
  } else {
8258
8256
  s5 = peg$FAILED;
8259
8257
  if (peg$silentFails === 0) {
8260
- peg$fail(peg$c314);
8258
+ peg$fail(peg$c312);
8261
8259
  }
8262
8260
  }
8263
8261
  peg$silentFails--;
@@ -8293,13 +8291,13 @@ function peg$parse(input, options) {
8293
8291
  s3 = peg$currPos;
8294
8292
  s4 = peg$currPos;
8295
8293
  peg$silentFails++;
8296
- if (input.substr(peg$currPos, 2) === peg$c313) {
8297
- s5 = peg$c313;
8294
+ if (input.substr(peg$currPos, 2) === peg$c311) {
8295
+ s5 = peg$c311;
8298
8296
  peg$currPos += 2;
8299
8297
  } else {
8300
8298
  s5 = peg$FAILED;
8301
8299
  if (peg$silentFails === 0) {
8302
- peg$fail(peg$c314);
8300
+ peg$fail(peg$c312);
8303
8301
  }
8304
8302
  }
8305
8303
  peg$silentFails--;
@@ -8332,13 +8330,13 @@ function peg$parse(input, options) {
8332
8330
  }
8333
8331
  }
8334
8332
  if (s2 !== peg$FAILED) {
8335
- if (input.substr(peg$currPos, 2) === peg$c313) {
8336
- s3 = peg$c313;
8333
+ if (input.substr(peg$currPos, 2) === peg$c311) {
8334
+ s3 = peg$c311;
8337
8335
  peg$currPos += 2;
8338
8336
  } else {
8339
8337
  s3 = peg$FAILED;
8340
8338
  if (peg$silentFails === 0) {
8341
- peg$fail(peg$c314);
8339
+ peg$fail(peg$c312);
8342
8340
  }
8343
8341
  }
8344
8342
  if (s3 !== peg$FAILED) {
@@ -8370,7 +8368,7 @@ function peg$parse(input, options) {
8370
8368
  if (s0 === peg$FAILED) {
8371
8369
  s1 = peg$FAILED;
8372
8370
  if (peg$silentFails === 0) {
8373
- peg$fail(peg$c306);
8371
+ peg$fail(peg$c304);
8374
8372
  }
8375
8373
  }
8376
8374
  return s0;
@@ -8380,12 +8378,12 @@ function peg$parse(input, options) {
8380
8378
  peg$silentFails++;
8381
8379
  s0 = peg$currPos;
8382
8380
  if (input.charCodeAt(peg$currPos) === 34) {
8383
- s1 = peg$c228;
8381
+ s1 = peg$c226;
8384
8382
  peg$currPos++;
8385
8383
  } else {
8386
8384
  s1 = peg$FAILED;
8387
8385
  if (peg$silentFails === 0) {
8388
- peg$fail(peg$c229);
8386
+ peg$fail(peg$c227);
8389
8387
  }
8390
8388
  }
8391
8389
  if (s1 !== peg$FAILED) {
@@ -8397,17 +8395,17 @@ function peg$parse(input, options) {
8397
8395
  }
8398
8396
  if (s2 !== peg$FAILED) {
8399
8397
  if (input.charCodeAt(peg$currPos) === 34) {
8400
- s3 = peg$c228;
8398
+ s3 = peg$c226;
8401
8399
  peg$currPos++;
8402
8400
  } else {
8403
8401
  s3 = peg$FAILED;
8404
8402
  if (peg$silentFails === 0) {
8405
- peg$fail(peg$c229);
8403
+ peg$fail(peg$c227);
8406
8404
  }
8407
8405
  }
8408
8406
  if (s3 !== peg$FAILED) {
8409
8407
  peg$savedPos = s0;
8410
- s1 = peg$c316(s2);
8408
+ s1 = peg$c314(s2);
8411
8409
  s0 = s1;
8412
8410
  } else {
8413
8411
  peg$currPos = s0;
@@ -8424,12 +8422,12 @@ function peg$parse(input, options) {
8424
8422
  if (s0 === peg$FAILED) {
8425
8423
  s0 = peg$currPos;
8426
8424
  if (input.charCodeAt(peg$currPos) === 39) {
8427
- s1 = peg$c223;
8425
+ s1 = peg$c221;
8428
8426
  peg$currPos++;
8429
8427
  } else {
8430
8428
  s1 = peg$FAILED;
8431
8429
  if (peg$silentFails === 0) {
8432
- peg$fail(peg$c224);
8430
+ peg$fail(peg$c222);
8433
8431
  }
8434
8432
  }
8435
8433
  if (s1 !== peg$FAILED) {
@@ -8441,17 +8439,17 @@ function peg$parse(input, options) {
8441
8439
  }
8442
8440
  if (s2 !== peg$FAILED) {
8443
8441
  if (input.charCodeAt(peg$currPos) === 39) {
8444
- s3 = peg$c223;
8442
+ s3 = peg$c221;
8445
8443
  peg$currPos++;
8446
8444
  } else {
8447
8445
  s3 = peg$FAILED;
8448
8446
  if (peg$silentFails === 0) {
8449
- peg$fail(peg$c224);
8447
+ peg$fail(peg$c222);
8450
8448
  }
8451
8449
  }
8452
8450
  if (s3 !== peg$FAILED) {
8453
8451
  peg$savedPos = s0;
8454
- s1 = peg$c316(s2);
8452
+ s1 = peg$c314(s2);
8455
8453
  s0 = s1;
8456
8454
  } else {
8457
8455
  peg$currPos = s0;
@@ -8470,7 +8468,7 @@ function peg$parse(input, options) {
8470
8468
  if (s0 === peg$FAILED) {
8471
8469
  s1 = peg$FAILED;
8472
8470
  if (peg$silentFails === 0) {
8473
- peg$fail(peg$c315);
8471
+ peg$fail(peg$c313);
8474
8472
  }
8475
8473
  }
8476
8474
  return s0;
@@ -8479,27 +8477,27 @@ function peg$parse(input, options) {
8479
8477
  var s0, s1, s2;
8480
8478
  s0 = peg$currPos;
8481
8479
  if (input.charCodeAt(peg$currPos) === 92) {
8482
- s1 = peg$c317;
8480
+ s1 = peg$c315;
8483
8481
  peg$currPos++;
8484
8482
  } else {
8485
8483
  s1 = peg$FAILED;
8486
8484
  if (peg$silentFails === 0) {
8487
- peg$fail(peg$c318);
8485
+ peg$fail(peg$c316);
8488
8486
  }
8489
8487
  }
8490
8488
  if (s1 !== peg$FAILED) {
8491
8489
  if (input.charCodeAt(peg$currPos) === 34) {
8492
- s2 = peg$c228;
8490
+ s2 = peg$c226;
8493
8491
  peg$currPos++;
8494
8492
  } else {
8495
8493
  s2 = peg$FAILED;
8496
8494
  if (peg$silentFails === 0) {
8497
- peg$fail(peg$c229);
8495
+ peg$fail(peg$c227);
8498
8496
  }
8499
8497
  }
8500
8498
  if (s2 !== peg$FAILED) {
8501
8499
  peg$savedPos = s0;
8502
- s1 = peg$c319();
8500
+ s1 = peg$c317();
8503
8501
  s0 = s1;
8504
8502
  } else {
8505
8503
  peg$currPos = s0;
@@ -8514,12 +8512,12 @@ function peg$parse(input, options) {
8514
8512
  s1 = peg$currPos;
8515
8513
  peg$silentFails++;
8516
8514
  if (input.charCodeAt(peg$currPos) === 34) {
8517
- s2 = peg$c228;
8515
+ s2 = peg$c226;
8518
8516
  peg$currPos++;
8519
8517
  } else {
8520
8518
  s2 = peg$FAILED;
8521
8519
  if (peg$silentFails === 0) {
8522
- peg$fail(peg$c229);
8520
+ peg$fail(peg$c227);
8523
8521
  }
8524
8522
  }
8525
8523
  peg$silentFails--;
@@ -8533,7 +8531,7 @@ function peg$parse(input, options) {
8533
8531
  s2 = peg$parseSourceCharacter();
8534
8532
  if (s2 !== peg$FAILED) {
8535
8533
  peg$savedPos = s0;
8536
- s1 = peg$c320();
8534
+ s1 = peg$c318();
8537
8535
  s0 = s1;
8538
8536
  } else {
8539
8537
  peg$currPos = s0;
@@ -8550,27 +8548,27 @@ function peg$parse(input, options) {
8550
8548
  var s0, s1, s2;
8551
8549
  s0 = peg$currPos;
8552
8550
  if (input.charCodeAt(peg$currPos) === 92) {
8553
- s1 = peg$c317;
8551
+ s1 = peg$c315;
8554
8552
  peg$currPos++;
8555
8553
  } else {
8556
8554
  s1 = peg$FAILED;
8557
8555
  if (peg$silentFails === 0) {
8558
- peg$fail(peg$c318);
8556
+ peg$fail(peg$c316);
8559
8557
  }
8560
8558
  }
8561
8559
  if (s1 !== peg$FAILED) {
8562
8560
  if (input.charCodeAt(peg$currPos) === 39) {
8563
- s2 = peg$c223;
8561
+ s2 = peg$c221;
8564
8562
  peg$currPos++;
8565
8563
  } else {
8566
8564
  s2 = peg$FAILED;
8567
8565
  if (peg$silentFails === 0) {
8568
- peg$fail(peg$c224);
8566
+ peg$fail(peg$c222);
8569
8567
  }
8570
8568
  }
8571
8569
  if (s2 !== peg$FAILED) {
8572
8570
  peg$savedPos = s0;
8573
- s1 = peg$c321();
8571
+ s1 = peg$c319();
8574
8572
  s0 = s1;
8575
8573
  } else {
8576
8574
  peg$currPos = s0;
@@ -8585,12 +8583,12 @@ function peg$parse(input, options) {
8585
8583
  s1 = peg$currPos;
8586
8584
  peg$silentFails++;
8587
8585
  if (input.charCodeAt(peg$currPos) === 39) {
8588
- s2 = peg$c223;
8586
+ s2 = peg$c221;
8589
8587
  peg$currPos++;
8590
8588
  } else {
8591
8589
  s2 = peg$FAILED;
8592
8590
  if (peg$silentFails === 0) {
8593
- peg$fail(peg$c224);
8591
+ peg$fail(peg$c222);
8594
8592
  }
8595
8593
  }
8596
8594
  peg$silentFails--;
@@ -8604,7 +8602,7 @@ function peg$parse(input, options) {
8604
8602
  s2 = peg$parseSourceCharacter();
8605
8603
  if (s2 !== peg$FAILED) {
8606
8604
  peg$savedPos = s0;
8607
- s1 = peg$c320();
8605
+ s1 = peg$c318();
8608
8606
  s0 = s1;
8609
8607
  } else {
8610
8608
  peg$currPos = s0;
@@ -8642,25 +8640,25 @@ function peg$parse(input, options) {
8642
8640
  var s0, s1, s2, s3, s4;
8643
8641
  s0 = peg$currPos;
8644
8642
  s1 = [];
8645
- if (peg$c322.test(input.charAt(peg$currPos))) {
8643
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8646
8644
  s2 = input.charAt(peg$currPos);
8647
8645
  peg$currPos++;
8648
8646
  } else {
8649
8647
  s2 = peg$FAILED;
8650
8648
  if (peg$silentFails === 0) {
8651
- peg$fail(peg$c323);
8649
+ peg$fail(peg$c321);
8652
8650
  }
8653
8651
  }
8654
8652
  if (s2 !== peg$FAILED) {
8655
8653
  while (s2 !== peg$FAILED) {
8656
8654
  s1.push(s2);
8657
- if (peg$c322.test(input.charAt(peg$currPos))) {
8655
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8658
8656
  s2 = input.charAt(peg$currPos);
8659
8657
  peg$currPos++;
8660
8658
  } else {
8661
8659
  s2 = peg$FAILED;
8662
8660
  if (peg$silentFails === 0) {
8663
- peg$fail(peg$c323);
8661
+ peg$fail(peg$c321);
8664
8662
  }
8665
8663
  }
8666
8664
  }
@@ -8669,35 +8667,35 @@ function peg$parse(input, options) {
8669
8667
  }
8670
8668
  if (s1 !== peg$FAILED) {
8671
8669
  if (input.charCodeAt(peg$currPos) === 46) {
8672
- s2 = peg$c270;
8670
+ s2 = peg$c268;
8673
8671
  peg$currPos++;
8674
8672
  } else {
8675
8673
  s2 = peg$FAILED;
8676
8674
  if (peg$silentFails === 0) {
8677
- peg$fail(peg$c271);
8675
+ peg$fail(peg$c269);
8678
8676
  }
8679
8677
  }
8680
8678
  if (s2 !== peg$FAILED) {
8681
8679
  s3 = [];
8682
- if (peg$c322.test(input.charAt(peg$currPos))) {
8680
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8683
8681
  s4 = input.charAt(peg$currPos);
8684
8682
  peg$currPos++;
8685
8683
  } else {
8686
8684
  s4 = peg$FAILED;
8687
8685
  if (peg$silentFails === 0) {
8688
- peg$fail(peg$c323);
8686
+ peg$fail(peg$c321);
8689
8687
  }
8690
8688
  }
8691
8689
  if (s4 !== peg$FAILED) {
8692
8690
  while (s4 !== peg$FAILED) {
8693
8691
  s3.push(s4);
8694
- if (peg$c322.test(input.charAt(peg$currPos))) {
8692
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8695
8693
  s4 = input.charAt(peg$currPos);
8696
8694
  peg$currPos++;
8697
8695
  } else {
8698
8696
  s4 = peg$FAILED;
8699
8697
  if (peg$silentFails === 0) {
8700
- peg$fail(peg$c323);
8698
+ peg$fail(peg$c321);
8701
8699
  }
8702
8700
  }
8703
8701
  }
@@ -8706,7 +8704,7 @@ function peg$parse(input, options) {
8706
8704
  }
8707
8705
  if (s3 !== peg$FAILED) {
8708
8706
  peg$savedPos = s0;
8709
- s1 = peg$c324(s1, s3);
8707
+ s1 = peg$c322(s1, s3);
8710
8708
  s0 = s1;
8711
8709
  } else {
8712
8710
  peg$currPos = s0;
@@ -8726,25 +8724,25 @@ function peg$parse(input, options) {
8726
8724
  var s0, s1, s2;
8727
8725
  s0 = peg$currPos;
8728
8726
  s1 = [];
8729
- if (peg$c322.test(input.charAt(peg$currPos))) {
8727
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8730
8728
  s2 = input.charAt(peg$currPos);
8731
8729
  peg$currPos++;
8732
8730
  } else {
8733
8731
  s2 = peg$FAILED;
8734
8732
  if (peg$silentFails === 0) {
8735
- peg$fail(peg$c323);
8733
+ peg$fail(peg$c321);
8736
8734
  }
8737
8735
  }
8738
8736
  if (s2 !== peg$FAILED) {
8739
8737
  while (s2 !== peg$FAILED) {
8740
8738
  s1.push(s2);
8741
- if (peg$c322.test(input.charAt(peg$currPos))) {
8739
+ if (peg$c320.test(input.charAt(peg$currPos))) {
8742
8740
  s2 = input.charAt(peg$currPos);
8743
8741
  peg$currPos++;
8744
8742
  } else {
8745
8743
  s2 = peg$FAILED;
8746
8744
  if (peg$silentFails === 0) {
8747
- peg$fail(peg$c323);
8745
+ peg$fail(peg$c321);
8748
8746
  }
8749
8747
  }
8750
8748
  }
@@ -8753,7 +8751,7 @@ function peg$parse(input, options) {
8753
8751
  }
8754
8752
  if (s1 !== peg$FAILED) {
8755
8753
  peg$savedPos = s0;
8756
- s1 = peg$c325(s1);
8754
+ s1 = peg$c323(s1);
8757
8755
  }
8758
8756
  s0 = s1;
8759
8757
  return s0;