@dbml/core 2.4.1 → 2.4.2
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.
- package/lib/export/MysqlExporter.js +87 -14
- package/lib/export/PostgresExporter.js +88 -14
- package/lib/export/SqlServerExporter.js +88 -14
- package/lib/export/utils.js +40 -0
- package/lib/parse/dbml/parser.pegjs +13 -5
- package/lib/parse/dbmlParser.js +349 -296
- package/package.json +2 -2
package/lib/parse/dbmlParser.js
CHANGED
|
@@ -291,17 +291,18 @@ function peg$parse(input, options) {
|
|
|
291
291
|
return ref;
|
|
292
292
|
},
|
|
293
293
|
peg$c25 = function peg$c25(field1, relation, field2, ref_settings) {
|
|
294
|
+
var rel = getRelations(relation);
|
|
294
295
|
var endpoints = [{
|
|
295
296
|
schemaName: field1.schemaName,
|
|
296
297
|
tableName: field1.tableName,
|
|
297
298
|
fieldNames: field1.fieldNames,
|
|
298
|
-
relation:
|
|
299
|
+
relation: rel[0],
|
|
299
300
|
token: location()
|
|
300
301
|
}, {
|
|
301
302
|
schemaName: field2.schemaName,
|
|
302
303
|
tableName: field2.tableName,
|
|
303
304
|
fieldNames: field2.fieldNames,
|
|
304
|
-
relation:
|
|
305
|
+
relation: rel[1],
|
|
305
306
|
token: location()
|
|
306
307
|
}];
|
|
307
308
|
return {
|
|
@@ -372,17 +373,18 @@ function peg$parse(input, options) {
|
|
|
372
373
|
var refs = [];
|
|
373
374
|
fields.forEach(function (field) {
|
|
374
375
|
(field.inline_refs || []).forEach(function (iref) {
|
|
376
|
+
var rel = getRelations(iref.relation);
|
|
375
377
|
var endpoints = [{
|
|
376
378
|
schemaName: iref.schemaName,
|
|
377
379
|
tableName: iref.tableName,
|
|
378
380
|
fieldNames: iref.fieldNames,
|
|
379
|
-
relation:
|
|
381
|
+
relation: rel[1],
|
|
380
382
|
token: iref.token
|
|
381
383
|
}, {
|
|
382
384
|
schemaName: schemaName,
|
|
383
385
|
tableName: name,
|
|
384
386
|
fieldNames: [field.name],
|
|
385
|
-
relation:
|
|
387
|
+
relation: rel[0],
|
|
386
388
|
token: iref.token
|
|
387
389
|
}];
|
|
388
390
|
var ref = {
|
|
@@ -791,51 +793,57 @@ function peg$parse(input, options) {
|
|
|
791
793
|
peg$c151 = peg$otherExpectation("set default"),
|
|
792
794
|
peg$c152 = "set default",
|
|
793
795
|
peg$c153 = peg$literalExpectation("set default", true),
|
|
794
|
-
peg$c154 = peg$otherExpectation(">, - or <"),
|
|
795
|
-
peg$c155 =
|
|
796
|
-
peg$c156 = peg$
|
|
797
|
-
peg$c157 =
|
|
798
|
-
peg$c158 =
|
|
796
|
+
peg$c154 = peg$otherExpectation("<>, >, - or <"),
|
|
797
|
+
peg$c155 = "<>",
|
|
798
|
+
peg$c156 = peg$literalExpectation("<>", false),
|
|
799
|
+
peg$c157 = ">",
|
|
800
|
+
peg$c158 = peg$literalExpectation(">", false),
|
|
801
|
+
peg$c159 = "<",
|
|
802
|
+
peg$c160 = peg$literalExpectation("<", false),
|
|
803
|
+
peg$c161 = "-",
|
|
804
|
+
peg$c162 = peg$literalExpectation("-", false),
|
|
805
|
+
peg$c163 = peg$otherExpectation("valid name"),
|
|
806
|
+
peg$c164 = function peg$c164(c) {
|
|
799
807
|
return c.join("");
|
|
800
808
|
},
|
|
801
|
-
peg$
|
|
802
|
-
peg$
|
|
803
|
-
peg$
|
|
804
|
-
peg$
|
|
805
|
-
peg$
|
|
806
|
-
peg$
|
|
809
|
+
peg$c165 = /^[^"\n]/,
|
|
810
|
+
peg$c166 = peg$classExpectation(["\"", "\n"], true, false),
|
|
811
|
+
peg$c167 = peg$otherExpectation("schema name"),
|
|
812
|
+
peg$c168 = ".",
|
|
813
|
+
peg$c169 = peg$literalExpectation(".", false),
|
|
814
|
+
peg$c170 = function peg$c170(name) {
|
|
807
815
|
return name;
|
|
808
816
|
},
|
|
809
|
-
peg$
|
|
817
|
+
peg$c171 = function peg$c171(schemaName, tableName, fieldNames) {
|
|
810
818
|
return {
|
|
811
819
|
schemaName: schemaName,
|
|
812
820
|
tableName: tableName,
|
|
813
821
|
fieldNames: fieldNames
|
|
814
822
|
};
|
|
815
823
|
},
|
|
816
|
-
peg$
|
|
824
|
+
peg$c172 = function peg$c172(tableName, fieldNames) {
|
|
817
825
|
return {
|
|
818
826
|
schemaName: null,
|
|
819
827
|
tableName: tableName,
|
|
820
828
|
fieldNames: fieldNames
|
|
821
829
|
};
|
|
822
830
|
},
|
|
823
|
-
peg$
|
|
831
|
+
peg$c173 = function peg$c173(schemaName, tableName, fieldName) {
|
|
824
832
|
return {
|
|
825
833
|
schemaName: schemaName,
|
|
826
834
|
tableName: tableName,
|
|
827
835
|
fieldName: fieldName
|
|
828
836
|
};
|
|
829
837
|
},
|
|
830
|
-
peg$
|
|
838
|
+
peg$c174 = function peg$c174(tableName, fieldName) {
|
|
831
839
|
return {
|
|
832
840
|
schemaName: null,
|
|
833
841
|
tableName: tableName,
|
|
834
842
|
fieldName: fieldName
|
|
835
843
|
};
|
|
836
844
|
},
|
|
837
|
-
peg$
|
|
838
|
-
peg$
|
|
845
|
+
peg$c175 = peg$otherExpectation("type"),
|
|
846
|
+
peg$c176 = function peg$c176(type_name, args) {
|
|
839
847
|
args = args ? args[3] : null;
|
|
840
848
|
|
|
841
849
|
if (type_name.toLowerCase() !== 'enum') {
|
|
@@ -847,76 +855,76 @@ function peg$parse(input, options) {
|
|
|
847
855
|
args: args
|
|
848
856
|
};
|
|
849
857
|
},
|
|
850
|
-
peg$
|
|
851
|
-
peg$
|
|
858
|
+
peg$c177 = peg$otherExpectation("expression"),
|
|
859
|
+
peg$c178 = function peg$c178(factors) {
|
|
852
860
|
return _.flattenDeep(factors).join("");
|
|
853
861
|
},
|
|
854
|
-
peg$
|
|
855
|
-
peg$
|
|
856
|
-
peg$
|
|
857
|
-
peg$
|
|
858
|
-
peg$
|
|
859
|
-
peg$
|
|
862
|
+
peg$c179 = ",",
|
|
863
|
+
peg$c180 = peg$literalExpectation(",", false),
|
|
864
|
+
peg$c181 = ");",
|
|
865
|
+
peg$c182 = peg$literalExpectation(");", false),
|
|
866
|
+
peg$c183 = peg$anyExpectation(),
|
|
867
|
+
peg$c184 = function peg$c184(factors) {
|
|
860
868
|
return _.flattenDeep(factors).join("");
|
|
861
869
|
},
|
|
862
|
-
peg$
|
|
863
|
-
peg$
|
|
864
|
-
peg$
|
|
865
|
-
peg$
|
|
866
|
-
peg$
|
|
870
|
+
peg$c185 = /^[',.a-z0-9_+-`]/i,
|
|
871
|
+
peg$c186 = peg$classExpectation(["'", ",", ".", ["a", "z"], ["0", "9"], "_", ["+", "`"]], false, true),
|
|
872
|
+
peg$c187 = /^['.a-z0-9_+\-]/i,
|
|
873
|
+
peg$c188 = peg$classExpectation(["'", ".", ["a", "z"], ["0", "9"], "_", "+", "-"], false, true),
|
|
874
|
+
peg$c189 = function peg$c189() {
|
|
867
875
|
return text();
|
|
868
876
|
},
|
|
869
|
-
peg$
|
|
870
|
-
peg$
|
|
871
|
-
peg$
|
|
872
|
-
peg$
|
|
873
|
-
peg$
|
|
874
|
-
peg$
|
|
875
|
-
peg$
|
|
876
|
-
peg$
|
|
877
|
+
peg$c190 = /^[[\]]/,
|
|
878
|
+
peg$c191 = peg$classExpectation(["[", "]"], false, false),
|
|
879
|
+
peg$c192 = peg$otherExpectation("letter, number or underscore"),
|
|
880
|
+
peg$c193 = /^[a-z0-9_]/i,
|
|
881
|
+
peg$c194 = peg$classExpectation([["a", "z"], ["0", "9"], "_"], false, true),
|
|
882
|
+
peg$c195 = /^[0-9a-fA-F]/,
|
|
883
|
+
peg$c196 = peg$classExpectation([["0", "9"], ["a", "f"], ["A", "F"]], false, false),
|
|
884
|
+
peg$c197 = function peg$c197(c) {
|
|
877
885
|
return c.toLowerCase();
|
|
878
886
|
},
|
|
879
|
-
peg$
|
|
880
|
-
peg$
|
|
881
|
-
peg$
|
|
882
|
-
peg$
|
|
883
|
-
peg$
|
|
884
|
-
peg$
|
|
885
|
-
peg$
|
|
886
|
-
peg$
|
|
887
|
-
peg$
|
|
888
|
-
peg$
|
|
889
|
-
peg$
|
|
890
|
-
peg$
|
|
891
|
-
peg$
|
|
892
|
-
peg$
|
|
893
|
-
peg$
|
|
894
|
-
peg$
|
|
895
|
-
peg$
|
|
896
|
-
peg$
|
|
897
|
-
peg$
|
|
898
|
-
peg$
|
|
899
|
-
peg$
|
|
900
|
-
peg$
|
|
901
|
-
peg$
|
|
902
|
-
peg$
|
|
903
|
-
peg$
|
|
904
|
-
peg$
|
|
905
|
-
peg$
|
|
906
|
-
peg$
|
|
907
|
-
peg$
|
|
887
|
+
peg$c198 = "\"",
|
|
888
|
+
peg$c199 = peg$literalExpectation("\"", false),
|
|
889
|
+
peg$c200 = peg$otherExpectation("endline"),
|
|
890
|
+
peg$c201 = "\t",
|
|
891
|
+
peg$c202 = peg$literalExpectation("\t", false),
|
|
892
|
+
peg$c203 = "//",
|
|
893
|
+
peg$c204 = peg$literalExpectation("//", false),
|
|
894
|
+
peg$c205 = /^[^\n]/,
|
|
895
|
+
peg$c206 = peg$classExpectation(["\n"], true, false),
|
|
896
|
+
peg$c207 = "/*",
|
|
897
|
+
peg$c208 = peg$literalExpectation("/*", false),
|
|
898
|
+
peg$c209 = "*/",
|
|
899
|
+
peg$c210 = peg$literalExpectation("*/", false),
|
|
900
|
+
peg$c211 = peg$otherExpectation("comment"),
|
|
901
|
+
peg$c212 = peg$otherExpectation("newline"),
|
|
902
|
+
peg$c213 = "\r\n",
|
|
903
|
+
peg$c214 = peg$literalExpectation("\r\n", false),
|
|
904
|
+
peg$c215 = "\n",
|
|
905
|
+
peg$c216 = peg$literalExpectation("\n", false),
|
|
906
|
+
peg$c217 = peg$otherExpectation("whitespace"),
|
|
907
|
+
peg$c218 = /^[ \t\r\n\r]/,
|
|
908
|
+
peg$c219 = peg$classExpectation([" ", "\t", "\r", "\n", "\r"], false, false),
|
|
909
|
+
peg$c220 = /^[ \t\r\n\r"]/,
|
|
910
|
+
peg$c221 = peg$classExpectation([" ", "\t", "\r", "\n", "\r", "\""], false, false),
|
|
911
|
+
peg$c222 = " ",
|
|
912
|
+
peg$c223 = peg$literalExpectation(" ", false),
|
|
913
|
+
peg$c224 = "#",
|
|
914
|
+
peg$c225 = peg$literalExpectation("#", false),
|
|
915
|
+
peg$c226 = function peg$c226() {
|
|
908
916
|
return "#";
|
|
909
917
|
},
|
|
910
|
-
peg$
|
|
911
|
-
peg$
|
|
918
|
+
peg$c227 = peg$otherExpectation("string"),
|
|
919
|
+
peg$c228 = function peg$c228(chars) {
|
|
912
920
|
return {
|
|
913
921
|
value: chars.join(''),
|
|
914
922
|
type: 'string'
|
|
915
923
|
};
|
|
916
924
|
},
|
|
917
|
-
peg$
|
|
918
|
-
peg$
|
|
919
|
-
peg$
|
|
925
|
+
peg$c229 = "'''",
|
|
926
|
+
peg$c230 = peg$literalExpectation("'''", false),
|
|
927
|
+
peg$c231 = function peg$c231(chars) {
|
|
920
928
|
var str = chars.join(''); // // replace line continuation using look around, but this is not compatible with firefox, safari.
|
|
921
929
|
// str = str.replace(/(?<!\\)\\(?!\\)(?:\n|\r\n)?/g, '');
|
|
922
930
|
// str = str.replace(/\\\\/, '\\');
|
|
@@ -960,55 +968,53 @@ function peg$parse(input, options) {
|
|
|
960
968
|
type: 'string'
|
|
961
969
|
};
|
|
962
970
|
},
|
|
963
|
-
peg$
|
|
964
|
-
peg$
|
|
965
|
-
peg$
|
|
966
|
-
peg$
|
|
967
|
-
peg$
|
|
971
|
+
peg$c232 = "'",
|
|
972
|
+
peg$c233 = peg$literalExpectation("'", false),
|
|
973
|
+
peg$c234 = "\\",
|
|
974
|
+
peg$c235 = peg$literalExpectation("\\", false),
|
|
975
|
+
peg$c236 = function peg$c236() {
|
|
968
976
|
return '"';
|
|
969
977
|
},
|
|
970
|
-
peg$
|
|
978
|
+
peg$c237 = function peg$c237() {
|
|
971
979
|
return text();
|
|
972
980
|
},
|
|
973
|
-
peg$
|
|
974
|
-
peg$
|
|
975
|
-
peg$
|
|
981
|
+
peg$c238 = "\\'",
|
|
982
|
+
peg$c239 = peg$literalExpectation("\\'", false),
|
|
983
|
+
peg$c240 = function peg$c240() {
|
|
976
984
|
return "'";
|
|
977
985
|
},
|
|
978
|
-
peg$
|
|
986
|
+
peg$c241 = function peg$c241(bl) {
|
|
979
987
|
// escape character \. \\n => \n. Remove one backslash in the result string.
|
|
980
988
|
return bl.join('');
|
|
981
989
|
},
|
|
982
|
-
peg$
|
|
990
|
+
peg$c242 = function peg$c242() {
|
|
983
991
|
// replace line continuation
|
|
984
992
|
return '';
|
|
985
993
|
},
|
|
986
|
-
peg$
|
|
987
|
-
peg$
|
|
988
|
-
peg$
|
|
989
|
-
peg$
|
|
990
|
-
peg$
|
|
991
|
-
peg$
|
|
992
|
-
peg$
|
|
993
|
-
peg$
|
|
994
|
-
peg$
|
|
994
|
+
peg$c243 = /^[0-9]/,
|
|
995
|
+
peg$c244 = peg$classExpectation([["0", "9"]], false, false),
|
|
996
|
+
peg$c245 = "=",
|
|
997
|
+
peg$c246 = peg$literalExpectation("=", false),
|
|
998
|
+
peg$c247 = "true",
|
|
999
|
+
peg$c248 = peg$literalExpectation("true", true),
|
|
1000
|
+
peg$c249 = "false",
|
|
1001
|
+
peg$c250 = peg$literalExpectation("false", true),
|
|
1002
|
+
peg$c251 = function peg$c251(_boolean) {
|
|
995
1003
|
return {
|
|
996
1004
|
type: 'boolean',
|
|
997
1005
|
value: _boolean
|
|
998
1006
|
};
|
|
999
1007
|
},
|
|
1000
|
-
peg$
|
|
1001
|
-
peg$c247 = peg$literalExpectation("-", false),
|
|
1002
|
-
peg$c248 = function peg$c248(minus, number) {
|
|
1008
|
+
peg$c252 = function peg$c252(minus, number) {
|
|
1003
1009
|
return {
|
|
1004
1010
|
type: 'number',
|
|
1005
1011
|
value: minus ? -number : number
|
|
1006
1012
|
};
|
|
1007
1013
|
},
|
|
1008
|
-
peg$
|
|
1014
|
+
peg$c253 = function peg$c253(left, right) {
|
|
1009
1015
|
return parseFloat(left.join("") + "." + right.join(""));
|
|
1010
1016
|
},
|
|
1011
|
-
peg$
|
|
1017
|
+
peg$c254 = function peg$c254(digits) {
|
|
1012
1018
|
return parseInt(digits.join(""), 10);
|
|
1013
1019
|
},
|
|
1014
1020
|
peg$currPos = 0,
|
|
@@ -5706,9 +5712,9 @@ function peg$parse(input, options) {
|
|
|
5706
5712
|
var s0, s1;
|
|
5707
5713
|
peg$silentFails++;
|
|
5708
5714
|
|
|
5709
|
-
if (
|
|
5710
|
-
s0 =
|
|
5711
|
-
peg$currPos
|
|
5715
|
+
if (input.substr(peg$currPos, 2) === peg$c155) {
|
|
5716
|
+
s0 = peg$c155;
|
|
5717
|
+
peg$currPos += 2;
|
|
5712
5718
|
} else {
|
|
5713
5719
|
s0 = peg$FAILED;
|
|
5714
5720
|
|
|
@@ -5717,6 +5723,45 @@ function peg$parse(input, options) {
|
|
|
5717
5723
|
}
|
|
5718
5724
|
}
|
|
5719
5725
|
|
|
5726
|
+
if (s0 === peg$FAILED) {
|
|
5727
|
+
if (input.charCodeAt(peg$currPos) === 62) {
|
|
5728
|
+
s0 = peg$c157;
|
|
5729
|
+
peg$currPos++;
|
|
5730
|
+
} else {
|
|
5731
|
+
s0 = peg$FAILED;
|
|
5732
|
+
|
|
5733
|
+
if (peg$silentFails === 0) {
|
|
5734
|
+
peg$fail(peg$c158);
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
if (s0 === peg$FAILED) {
|
|
5739
|
+
if (input.charCodeAt(peg$currPos) === 60) {
|
|
5740
|
+
s0 = peg$c159;
|
|
5741
|
+
peg$currPos++;
|
|
5742
|
+
} else {
|
|
5743
|
+
s0 = peg$FAILED;
|
|
5744
|
+
|
|
5745
|
+
if (peg$silentFails === 0) {
|
|
5746
|
+
peg$fail(peg$c160);
|
|
5747
|
+
}
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
if (s0 === peg$FAILED) {
|
|
5751
|
+
if (input.charCodeAt(peg$currPos) === 45) {
|
|
5752
|
+
s0 = peg$c161;
|
|
5753
|
+
peg$currPos++;
|
|
5754
|
+
} else {
|
|
5755
|
+
s0 = peg$FAILED;
|
|
5756
|
+
|
|
5757
|
+
if (peg$silentFails === 0) {
|
|
5758
|
+
peg$fail(peg$c162);
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5761
|
+
}
|
|
5762
|
+
}
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5720
5765
|
peg$silentFails--;
|
|
5721
5766
|
|
|
5722
5767
|
if (s0 === peg$FAILED) {
|
|
@@ -5748,7 +5793,7 @@ function peg$parse(input, options) {
|
|
|
5748
5793
|
|
|
5749
5794
|
if (s1 !== peg$FAILED) {
|
|
5750
5795
|
peg$savedPos = s0;
|
|
5751
|
-
s1 = peg$
|
|
5796
|
+
s1 = peg$c164(s1);
|
|
5752
5797
|
}
|
|
5753
5798
|
|
|
5754
5799
|
s0 = s1;
|
|
@@ -5760,14 +5805,14 @@ function peg$parse(input, options) {
|
|
|
5760
5805
|
if (s1 !== peg$FAILED) {
|
|
5761
5806
|
s2 = [];
|
|
5762
5807
|
|
|
5763
|
-
if (peg$
|
|
5808
|
+
if (peg$c165.test(input.charAt(peg$currPos))) {
|
|
5764
5809
|
s3 = input.charAt(peg$currPos);
|
|
5765
5810
|
peg$currPos++;
|
|
5766
5811
|
} else {
|
|
5767
5812
|
s3 = peg$FAILED;
|
|
5768
5813
|
|
|
5769
5814
|
if (peg$silentFails === 0) {
|
|
5770
|
-
peg$fail(peg$
|
|
5815
|
+
peg$fail(peg$c166);
|
|
5771
5816
|
}
|
|
5772
5817
|
}
|
|
5773
5818
|
|
|
@@ -5775,14 +5820,14 @@ function peg$parse(input, options) {
|
|
|
5775
5820
|
while (s3 !== peg$FAILED) {
|
|
5776
5821
|
s2.push(s3);
|
|
5777
5822
|
|
|
5778
|
-
if (peg$
|
|
5823
|
+
if (peg$c165.test(input.charAt(peg$currPos))) {
|
|
5779
5824
|
s3 = input.charAt(peg$currPos);
|
|
5780
5825
|
peg$currPos++;
|
|
5781
5826
|
} else {
|
|
5782
5827
|
s3 = peg$FAILED;
|
|
5783
5828
|
|
|
5784
5829
|
if (peg$silentFails === 0) {
|
|
5785
|
-
peg$fail(peg$
|
|
5830
|
+
peg$fail(peg$c166);
|
|
5786
5831
|
}
|
|
5787
5832
|
}
|
|
5788
5833
|
}
|
|
@@ -5795,7 +5840,7 @@ function peg$parse(input, options) {
|
|
|
5795
5840
|
|
|
5796
5841
|
if (s3 !== peg$FAILED) {
|
|
5797
5842
|
peg$savedPos = s0;
|
|
5798
|
-
s1 = peg$
|
|
5843
|
+
s1 = peg$c164(s2);
|
|
5799
5844
|
s0 = s1;
|
|
5800
5845
|
} else {
|
|
5801
5846
|
peg$currPos = s0;
|
|
@@ -5817,7 +5862,7 @@ function peg$parse(input, options) {
|
|
|
5817
5862
|
s1 = peg$FAILED;
|
|
5818
5863
|
|
|
5819
5864
|
if (peg$silentFails === 0) {
|
|
5820
|
-
peg$fail(peg$
|
|
5865
|
+
peg$fail(peg$c163);
|
|
5821
5866
|
}
|
|
5822
5867
|
}
|
|
5823
5868
|
|
|
@@ -5832,19 +5877,19 @@ function peg$parse(input, options) {
|
|
|
5832
5877
|
|
|
5833
5878
|
if (s1 !== peg$FAILED) {
|
|
5834
5879
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5835
|
-
s2 = peg$
|
|
5880
|
+
s2 = peg$c168;
|
|
5836
5881
|
peg$currPos++;
|
|
5837
5882
|
} else {
|
|
5838
5883
|
s2 = peg$FAILED;
|
|
5839
5884
|
|
|
5840
5885
|
if (peg$silentFails === 0) {
|
|
5841
|
-
peg$fail(peg$
|
|
5886
|
+
peg$fail(peg$c169);
|
|
5842
5887
|
}
|
|
5843
5888
|
}
|
|
5844
5889
|
|
|
5845
5890
|
if (s2 !== peg$FAILED) {
|
|
5846
5891
|
peg$savedPos = s0;
|
|
5847
|
-
s1 = peg$
|
|
5892
|
+
s1 = peg$c170(s1);
|
|
5848
5893
|
s0 = s1;
|
|
5849
5894
|
} else {
|
|
5850
5895
|
peg$currPos = s0;
|
|
@@ -5861,7 +5906,7 @@ function peg$parse(input, options) {
|
|
|
5861
5906
|
s1 = peg$FAILED;
|
|
5862
5907
|
|
|
5863
5908
|
if (peg$silentFails === 0) {
|
|
5864
|
-
peg$fail(peg$
|
|
5909
|
+
peg$fail(peg$c167);
|
|
5865
5910
|
}
|
|
5866
5911
|
}
|
|
5867
5912
|
|
|
@@ -5875,13 +5920,13 @@ function peg$parse(input, options) {
|
|
|
5875
5920
|
|
|
5876
5921
|
if (s1 !== peg$FAILED) {
|
|
5877
5922
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5878
|
-
s2 = peg$
|
|
5923
|
+
s2 = peg$c168;
|
|
5879
5924
|
peg$currPos++;
|
|
5880
5925
|
} else {
|
|
5881
5926
|
s2 = peg$FAILED;
|
|
5882
5927
|
|
|
5883
5928
|
if (peg$silentFails === 0) {
|
|
5884
|
-
peg$fail(peg$
|
|
5929
|
+
peg$fail(peg$c169);
|
|
5885
5930
|
}
|
|
5886
5931
|
}
|
|
5887
5932
|
|
|
@@ -5890,13 +5935,13 @@ function peg$parse(input, options) {
|
|
|
5890
5935
|
|
|
5891
5936
|
if (s3 !== peg$FAILED) {
|
|
5892
5937
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5893
|
-
s4 = peg$
|
|
5938
|
+
s4 = peg$c168;
|
|
5894
5939
|
peg$currPos++;
|
|
5895
5940
|
} else {
|
|
5896
5941
|
s4 = peg$FAILED;
|
|
5897
5942
|
|
|
5898
5943
|
if (peg$silentFails === 0) {
|
|
5899
|
-
peg$fail(peg$
|
|
5944
|
+
peg$fail(peg$c169);
|
|
5900
5945
|
}
|
|
5901
5946
|
}
|
|
5902
5947
|
|
|
@@ -5905,7 +5950,7 @@ function peg$parse(input, options) {
|
|
|
5905
5950
|
|
|
5906
5951
|
if (s5 !== peg$FAILED) {
|
|
5907
5952
|
peg$savedPos = s0;
|
|
5908
|
-
s1 = peg$
|
|
5953
|
+
s1 = peg$c171(s1, s3, s5);
|
|
5909
5954
|
s0 = s1;
|
|
5910
5955
|
} else {
|
|
5911
5956
|
peg$currPos = s0;
|
|
@@ -5934,13 +5979,13 @@ function peg$parse(input, options) {
|
|
|
5934
5979
|
|
|
5935
5980
|
if (s1 !== peg$FAILED) {
|
|
5936
5981
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5937
|
-
s2 = peg$
|
|
5982
|
+
s2 = peg$c168;
|
|
5938
5983
|
peg$currPos++;
|
|
5939
5984
|
} else {
|
|
5940
5985
|
s2 = peg$FAILED;
|
|
5941
5986
|
|
|
5942
5987
|
if (peg$silentFails === 0) {
|
|
5943
|
-
peg$fail(peg$
|
|
5988
|
+
peg$fail(peg$c169);
|
|
5944
5989
|
}
|
|
5945
5990
|
}
|
|
5946
5991
|
|
|
@@ -5949,7 +5994,7 @@ function peg$parse(input, options) {
|
|
|
5949
5994
|
|
|
5950
5995
|
if (s3 !== peg$FAILED) {
|
|
5951
5996
|
peg$savedPos = s0;
|
|
5952
|
-
s1 = peg$
|
|
5997
|
+
s1 = peg$c172(s1, s3);
|
|
5953
5998
|
s0 = s1;
|
|
5954
5999
|
} else {
|
|
5955
6000
|
peg$currPos = s0;
|
|
@@ -5975,13 +6020,13 @@ function peg$parse(input, options) {
|
|
|
5975
6020
|
|
|
5976
6021
|
if (s1 !== peg$FAILED) {
|
|
5977
6022
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5978
|
-
s2 = peg$
|
|
6023
|
+
s2 = peg$c168;
|
|
5979
6024
|
peg$currPos++;
|
|
5980
6025
|
} else {
|
|
5981
6026
|
s2 = peg$FAILED;
|
|
5982
6027
|
|
|
5983
6028
|
if (peg$silentFails === 0) {
|
|
5984
|
-
peg$fail(peg$
|
|
6029
|
+
peg$fail(peg$c169);
|
|
5985
6030
|
}
|
|
5986
6031
|
}
|
|
5987
6032
|
|
|
@@ -5990,13 +6035,13 @@ function peg$parse(input, options) {
|
|
|
5990
6035
|
|
|
5991
6036
|
if (s3 !== peg$FAILED) {
|
|
5992
6037
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
5993
|
-
s4 = peg$
|
|
6038
|
+
s4 = peg$c168;
|
|
5994
6039
|
peg$currPos++;
|
|
5995
6040
|
} else {
|
|
5996
6041
|
s4 = peg$FAILED;
|
|
5997
6042
|
|
|
5998
6043
|
if (peg$silentFails === 0) {
|
|
5999
|
-
peg$fail(peg$
|
|
6044
|
+
peg$fail(peg$c169);
|
|
6000
6045
|
}
|
|
6001
6046
|
}
|
|
6002
6047
|
|
|
@@ -6005,7 +6050,7 @@ function peg$parse(input, options) {
|
|
|
6005
6050
|
|
|
6006
6051
|
if (s5 !== peg$FAILED) {
|
|
6007
6052
|
peg$savedPos = s0;
|
|
6008
|
-
s1 = peg$
|
|
6053
|
+
s1 = peg$c173(s1, s3, s5);
|
|
6009
6054
|
s0 = s1;
|
|
6010
6055
|
} else {
|
|
6011
6056
|
peg$currPos = s0;
|
|
@@ -6034,13 +6079,13 @@ function peg$parse(input, options) {
|
|
|
6034
6079
|
|
|
6035
6080
|
if (s1 !== peg$FAILED) {
|
|
6036
6081
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
6037
|
-
s2 = peg$
|
|
6082
|
+
s2 = peg$c168;
|
|
6038
6083
|
peg$currPos++;
|
|
6039
6084
|
} else {
|
|
6040
6085
|
s2 = peg$FAILED;
|
|
6041
6086
|
|
|
6042
6087
|
if (peg$silentFails === 0) {
|
|
6043
|
-
peg$fail(peg$
|
|
6088
|
+
peg$fail(peg$c169);
|
|
6044
6089
|
}
|
|
6045
6090
|
}
|
|
6046
6091
|
|
|
@@ -6049,7 +6094,7 @@ function peg$parse(input, options) {
|
|
|
6049
6094
|
|
|
6050
6095
|
if (s3 !== peg$FAILED) {
|
|
6051
6096
|
peg$savedPos = s0;
|
|
6052
|
-
s1 = peg$
|
|
6097
|
+
s1 = peg$c174(s1, s3);
|
|
6053
6098
|
s0 = s1;
|
|
6054
6099
|
} else {
|
|
6055
6100
|
peg$currPos = s0;
|
|
@@ -6086,7 +6131,7 @@ function peg$parse(input, options) {
|
|
|
6086
6131
|
|
|
6087
6132
|
if (s1 !== peg$FAILED) {
|
|
6088
6133
|
peg$savedPos = s0;
|
|
6089
|
-
s1 = peg$
|
|
6134
|
+
s1 = peg$c164(s1);
|
|
6090
6135
|
}
|
|
6091
6136
|
|
|
6092
6137
|
s0 = s1;
|
|
@@ -6098,14 +6143,14 @@ function peg$parse(input, options) {
|
|
|
6098
6143
|
if (s1 !== peg$FAILED) {
|
|
6099
6144
|
s2 = [];
|
|
6100
6145
|
|
|
6101
|
-
if (peg$
|
|
6146
|
+
if (peg$c165.test(input.charAt(peg$currPos))) {
|
|
6102
6147
|
s3 = input.charAt(peg$currPos);
|
|
6103
6148
|
peg$currPos++;
|
|
6104
6149
|
} else {
|
|
6105
6150
|
s3 = peg$FAILED;
|
|
6106
6151
|
|
|
6107
6152
|
if (peg$silentFails === 0) {
|
|
6108
|
-
peg$fail(peg$
|
|
6153
|
+
peg$fail(peg$c166);
|
|
6109
6154
|
}
|
|
6110
6155
|
}
|
|
6111
6156
|
|
|
@@ -6113,14 +6158,14 @@ function peg$parse(input, options) {
|
|
|
6113
6158
|
while (s3 !== peg$FAILED) {
|
|
6114
6159
|
s2.push(s3);
|
|
6115
6160
|
|
|
6116
|
-
if (peg$
|
|
6161
|
+
if (peg$c165.test(input.charAt(peg$currPos))) {
|
|
6117
6162
|
s3 = input.charAt(peg$currPos);
|
|
6118
6163
|
peg$currPos++;
|
|
6119
6164
|
} else {
|
|
6120
6165
|
s3 = peg$FAILED;
|
|
6121
6166
|
|
|
6122
6167
|
if (peg$silentFails === 0) {
|
|
6123
|
-
peg$fail(peg$
|
|
6168
|
+
peg$fail(peg$c166);
|
|
6124
6169
|
}
|
|
6125
6170
|
}
|
|
6126
6171
|
}
|
|
@@ -6133,7 +6178,7 @@ function peg$parse(input, options) {
|
|
|
6133
6178
|
|
|
6134
6179
|
if (s3 !== peg$FAILED) {
|
|
6135
6180
|
peg$savedPos = s0;
|
|
6136
|
-
s1 = peg$
|
|
6181
|
+
s1 = peg$c164(s2);
|
|
6137
6182
|
s0 = s1;
|
|
6138
6183
|
} else {
|
|
6139
6184
|
peg$currPos = s0;
|
|
@@ -6155,7 +6200,7 @@ function peg$parse(input, options) {
|
|
|
6155
6200
|
s1 = peg$FAILED;
|
|
6156
6201
|
|
|
6157
6202
|
if (peg$silentFails === 0) {
|
|
6158
|
-
peg$fail(peg$
|
|
6203
|
+
peg$fail(peg$c163);
|
|
6159
6204
|
}
|
|
6160
6205
|
}
|
|
6161
6206
|
|
|
@@ -6257,7 +6302,7 @@ function peg$parse(input, options) {
|
|
|
6257
6302
|
|
|
6258
6303
|
if (s2 !== peg$FAILED) {
|
|
6259
6304
|
peg$savedPos = s0;
|
|
6260
|
-
s1 = peg$
|
|
6305
|
+
s1 = peg$c176(s1, s2);
|
|
6261
6306
|
s0 = s1;
|
|
6262
6307
|
} else {
|
|
6263
6308
|
peg$currPos = s0;
|
|
@@ -6274,7 +6319,7 @@ function peg$parse(input, options) {
|
|
|
6274
6319
|
s1 = peg$FAILED;
|
|
6275
6320
|
|
|
6276
6321
|
if (peg$silentFails === 0) {
|
|
6277
|
-
peg$fail(peg$
|
|
6322
|
+
peg$fail(peg$c175);
|
|
6278
6323
|
}
|
|
6279
6324
|
}
|
|
6280
6325
|
|
|
@@ -6295,7 +6340,7 @@ function peg$parse(input, options) {
|
|
|
6295
6340
|
|
|
6296
6341
|
if (s1 !== peg$FAILED) {
|
|
6297
6342
|
peg$savedPos = s0;
|
|
6298
|
-
s1 = peg$
|
|
6343
|
+
s1 = peg$c178(s1);
|
|
6299
6344
|
}
|
|
6300
6345
|
|
|
6301
6346
|
s0 = s1;
|
|
@@ -6305,7 +6350,7 @@ function peg$parse(input, options) {
|
|
|
6305
6350
|
s1 = peg$FAILED;
|
|
6306
6351
|
|
|
6307
6352
|
if (peg$silentFails === 0) {
|
|
6308
|
-
peg$fail(peg$
|
|
6353
|
+
peg$fail(peg$c177);
|
|
6309
6354
|
}
|
|
6310
6355
|
}
|
|
6311
6356
|
|
|
@@ -6460,25 +6505,25 @@ function peg$parse(input, options) {
|
|
|
6460
6505
|
|
|
6461
6506
|
if (s4 === peg$FAILED) {
|
|
6462
6507
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
6463
|
-
s4 = peg$
|
|
6508
|
+
s4 = peg$c179;
|
|
6464
6509
|
peg$currPos++;
|
|
6465
6510
|
} else {
|
|
6466
6511
|
s4 = peg$FAILED;
|
|
6467
6512
|
|
|
6468
6513
|
if (peg$silentFails === 0) {
|
|
6469
|
-
peg$fail(peg$
|
|
6514
|
+
peg$fail(peg$c180);
|
|
6470
6515
|
}
|
|
6471
6516
|
}
|
|
6472
6517
|
|
|
6473
6518
|
if (s4 === peg$FAILED) {
|
|
6474
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6475
|
-
s4 = peg$
|
|
6519
|
+
if (input.substr(peg$currPos, 2) === peg$c181) {
|
|
6520
|
+
s4 = peg$c181;
|
|
6476
6521
|
peg$currPos += 2;
|
|
6477
6522
|
} else {
|
|
6478
6523
|
s4 = peg$FAILED;
|
|
6479
6524
|
|
|
6480
6525
|
if (peg$silentFails === 0) {
|
|
6481
|
-
peg$fail(peg$
|
|
6526
|
+
peg$fail(peg$c182);
|
|
6482
6527
|
}
|
|
6483
6528
|
}
|
|
6484
6529
|
|
|
@@ -6487,14 +6532,14 @@ function peg$parse(input, options) {
|
|
|
6487
6532
|
s5 = peg$parseendline();
|
|
6488
6533
|
|
|
6489
6534
|
if (s5 !== peg$FAILED) {
|
|
6490
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6491
|
-
s6 = peg$
|
|
6535
|
+
if (input.substr(peg$currPos, 2) === peg$c181) {
|
|
6536
|
+
s6 = peg$c181;
|
|
6492
6537
|
peg$currPos += 2;
|
|
6493
6538
|
} else {
|
|
6494
6539
|
s6 = peg$FAILED;
|
|
6495
6540
|
|
|
6496
6541
|
if (peg$silentFails === 0) {
|
|
6497
|
-
peg$fail(peg$
|
|
6542
|
+
peg$fail(peg$c182);
|
|
6498
6543
|
}
|
|
6499
6544
|
}
|
|
6500
6545
|
|
|
@@ -6559,7 +6604,7 @@ function peg$parse(input, options) {
|
|
|
6559
6604
|
s4 = peg$FAILED;
|
|
6560
6605
|
|
|
6561
6606
|
if (peg$silentFails === 0) {
|
|
6562
|
-
peg$fail(peg$
|
|
6607
|
+
peg$fail(peg$c183);
|
|
6563
6608
|
}
|
|
6564
6609
|
}
|
|
6565
6610
|
|
|
@@ -6589,7 +6634,7 @@ function peg$parse(input, options) {
|
|
|
6589
6634
|
|
|
6590
6635
|
if (s1 !== peg$FAILED) {
|
|
6591
6636
|
peg$savedPos = s0;
|
|
6592
|
-
s1 = peg$
|
|
6637
|
+
s1 = peg$c184(s1);
|
|
6593
6638
|
}
|
|
6594
6639
|
|
|
6595
6640
|
s0 = s1;
|
|
@@ -6599,14 +6644,14 @@ function peg$parse(input, options) {
|
|
|
6599
6644
|
function peg$parseexprChar() {
|
|
6600
6645
|
var s0;
|
|
6601
6646
|
|
|
6602
|
-
if (peg$
|
|
6647
|
+
if (peg$c185.test(input.charAt(peg$currPos))) {
|
|
6603
6648
|
s0 = input.charAt(peg$currPos);
|
|
6604
6649
|
peg$currPos++;
|
|
6605
6650
|
} else {
|
|
6606
6651
|
s0 = peg$FAILED;
|
|
6607
6652
|
|
|
6608
6653
|
if (peg$silentFails === 0) {
|
|
6609
|
-
peg$fail(peg$
|
|
6654
|
+
peg$fail(peg$c186);
|
|
6610
6655
|
}
|
|
6611
6656
|
}
|
|
6612
6657
|
|
|
@@ -6628,14 +6673,14 @@ function peg$parse(input, options) {
|
|
|
6628
6673
|
function peg$parseexprCharNoCommaSpace() {
|
|
6629
6674
|
var s0;
|
|
6630
6675
|
|
|
6631
|
-
if (peg$
|
|
6676
|
+
if (peg$c187.test(input.charAt(peg$currPos))) {
|
|
6632
6677
|
s0 = input.charAt(peg$currPos);
|
|
6633
6678
|
peg$currPos++;
|
|
6634
6679
|
} else {
|
|
6635
6680
|
s0 = peg$FAILED;
|
|
6636
6681
|
|
|
6637
6682
|
if (peg$silentFails === 0) {
|
|
6638
|
-
peg$fail(peg$
|
|
6683
|
+
peg$fail(peg$c188);
|
|
6639
6684
|
}
|
|
6640
6685
|
}
|
|
6641
6686
|
|
|
@@ -6693,13 +6738,13 @@ function peg$parse(input, options) {
|
|
|
6693
6738
|
s2 = peg$FAILED;
|
|
6694
6739
|
|
|
6695
6740
|
if (peg$silentFails === 0) {
|
|
6696
|
-
peg$fail(peg$
|
|
6741
|
+
peg$fail(peg$c183);
|
|
6697
6742
|
}
|
|
6698
6743
|
}
|
|
6699
6744
|
|
|
6700
6745
|
if (s2 !== peg$FAILED) {
|
|
6701
6746
|
peg$savedPos = s0;
|
|
6702
|
-
s1 = peg$
|
|
6747
|
+
s1 = peg$c189();
|
|
6703
6748
|
s0 = s1;
|
|
6704
6749
|
} else {
|
|
6705
6750
|
peg$currPos = s0;
|
|
@@ -6718,14 +6763,14 @@ function peg$parse(input, options) {
|
|
|
6718
6763
|
s0 = peg$parsecharacter();
|
|
6719
6764
|
|
|
6720
6765
|
if (s0 === peg$FAILED) {
|
|
6721
|
-
if (peg$
|
|
6766
|
+
if (peg$c190.test(input.charAt(peg$currPos))) {
|
|
6722
6767
|
s0 = input.charAt(peg$currPos);
|
|
6723
6768
|
peg$currPos++;
|
|
6724
6769
|
} else {
|
|
6725
6770
|
s0 = peg$FAILED;
|
|
6726
6771
|
|
|
6727
6772
|
if (peg$silentFails === 0) {
|
|
6728
|
-
peg$fail(peg$
|
|
6773
|
+
peg$fail(peg$c191);
|
|
6729
6774
|
}
|
|
6730
6775
|
}
|
|
6731
6776
|
}
|
|
@@ -6737,14 +6782,14 @@ function peg$parse(input, options) {
|
|
|
6737
6782
|
var s0, s1;
|
|
6738
6783
|
peg$silentFails++;
|
|
6739
6784
|
|
|
6740
|
-
if (peg$
|
|
6785
|
+
if (peg$c193.test(input.charAt(peg$currPos))) {
|
|
6741
6786
|
s0 = input.charAt(peg$currPos);
|
|
6742
6787
|
peg$currPos++;
|
|
6743
6788
|
} else {
|
|
6744
6789
|
s0 = peg$FAILED;
|
|
6745
6790
|
|
|
6746
6791
|
if (peg$silentFails === 0) {
|
|
6747
|
-
peg$fail(peg$
|
|
6792
|
+
peg$fail(peg$c194);
|
|
6748
6793
|
}
|
|
6749
6794
|
}
|
|
6750
6795
|
|
|
@@ -6754,7 +6799,7 @@ function peg$parse(input, options) {
|
|
|
6754
6799
|
s1 = peg$FAILED;
|
|
6755
6800
|
|
|
6756
6801
|
if (peg$silentFails === 0) {
|
|
6757
|
-
peg$fail(peg$
|
|
6802
|
+
peg$fail(peg$c192);
|
|
6758
6803
|
}
|
|
6759
6804
|
}
|
|
6760
6805
|
|
|
@@ -6765,20 +6810,20 @@ function peg$parse(input, options) {
|
|
|
6765
6810
|
var s0, s1;
|
|
6766
6811
|
s0 = peg$currPos;
|
|
6767
6812
|
|
|
6768
|
-
if (peg$
|
|
6813
|
+
if (peg$c195.test(input.charAt(peg$currPos))) {
|
|
6769
6814
|
s1 = input.charAt(peg$currPos);
|
|
6770
6815
|
peg$currPos++;
|
|
6771
6816
|
} else {
|
|
6772
6817
|
s1 = peg$FAILED;
|
|
6773
6818
|
|
|
6774
6819
|
if (peg$silentFails === 0) {
|
|
6775
|
-
peg$fail(peg$
|
|
6820
|
+
peg$fail(peg$c196);
|
|
6776
6821
|
}
|
|
6777
6822
|
}
|
|
6778
6823
|
|
|
6779
6824
|
if (s1 !== peg$FAILED) {
|
|
6780
6825
|
peg$savedPos = s0;
|
|
6781
|
-
s1 = peg$
|
|
6826
|
+
s1 = peg$c197(s1);
|
|
6782
6827
|
}
|
|
6783
6828
|
|
|
6784
6829
|
s0 = s1;
|
|
@@ -6789,13 +6834,13 @@ function peg$parse(input, options) {
|
|
|
6789
6834
|
var s0;
|
|
6790
6835
|
|
|
6791
6836
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
6792
|
-
s0 = peg$
|
|
6837
|
+
s0 = peg$c198;
|
|
6793
6838
|
peg$currPos++;
|
|
6794
6839
|
} else {
|
|
6795
6840
|
s0 = peg$FAILED;
|
|
6796
6841
|
|
|
6797
6842
|
if (peg$silentFails === 0) {
|
|
6798
|
-
peg$fail(peg$
|
|
6843
|
+
peg$fail(peg$c199);
|
|
6799
6844
|
}
|
|
6800
6845
|
}
|
|
6801
6846
|
|
|
@@ -6881,7 +6926,7 @@ function peg$parse(input, options) {
|
|
|
6881
6926
|
s1 = peg$FAILED;
|
|
6882
6927
|
|
|
6883
6928
|
if (peg$silentFails === 0) {
|
|
6884
|
-
peg$fail(peg$
|
|
6929
|
+
peg$fail(peg$c200);
|
|
6885
6930
|
}
|
|
6886
6931
|
}
|
|
6887
6932
|
|
|
@@ -6892,13 +6937,13 @@ function peg$parse(input, options) {
|
|
|
6892
6937
|
var s0;
|
|
6893
6938
|
|
|
6894
6939
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
6895
|
-
s0 = peg$
|
|
6940
|
+
s0 = peg$c201;
|
|
6896
6941
|
peg$currPos++;
|
|
6897
6942
|
} else {
|
|
6898
6943
|
s0 = peg$FAILED;
|
|
6899
6944
|
|
|
6900
6945
|
if (peg$silentFails === 0) {
|
|
6901
|
-
peg$fail(peg$
|
|
6946
|
+
peg$fail(peg$c202);
|
|
6902
6947
|
}
|
|
6903
6948
|
}
|
|
6904
6949
|
|
|
@@ -6909,42 +6954,42 @@ function peg$parse(input, options) {
|
|
|
6909
6954
|
var s0, s1, s2, s3;
|
|
6910
6955
|
s0 = peg$currPos;
|
|
6911
6956
|
|
|
6912
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6913
|
-
s1 = peg$
|
|
6957
|
+
if (input.substr(peg$currPos, 2) === peg$c203) {
|
|
6958
|
+
s1 = peg$c203;
|
|
6914
6959
|
peg$currPos += 2;
|
|
6915
6960
|
} else {
|
|
6916
6961
|
s1 = peg$FAILED;
|
|
6917
6962
|
|
|
6918
6963
|
if (peg$silentFails === 0) {
|
|
6919
|
-
peg$fail(peg$
|
|
6964
|
+
peg$fail(peg$c204);
|
|
6920
6965
|
}
|
|
6921
6966
|
}
|
|
6922
6967
|
|
|
6923
6968
|
if (s1 !== peg$FAILED) {
|
|
6924
6969
|
s2 = [];
|
|
6925
6970
|
|
|
6926
|
-
if (peg$
|
|
6971
|
+
if (peg$c205.test(input.charAt(peg$currPos))) {
|
|
6927
6972
|
s3 = input.charAt(peg$currPos);
|
|
6928
6973
|
peg$currPos++;
|
|
6929
6974
|
} else {
|
|
6930
6975
|
s3 = peg$FAILED;
|
|
6931
6976
|
|
|
6932
6977
|
if (peg$silentFails === 0) {
|
|
6933
|
-
peg$fail(peg$
|
|
6978
|
+
peg$fail(peg$c206);
|
|
6934
6979
|
}
|
|
6935
6980
|
}
|
|
6936
6981
|
|
|
6937
6982
|
while (s3 !== peg$FAILED) {
|
|
6938
6983
|
s2.push(s3);
|
|
6939
6984
|
|
|
6940
|
-
if (peg$
|
|
6985
|
+
if (peg$c205.test(input.charAt(peg$currPos))) {
|
|
6941
6986
|
s3 = input.charAt(peg$currPos);
|
|
6942
6987
|
peg$currPos++;
|
|
6943
6988
|
} else {
|
|
6944
6989
|
s3 = peg$FAILED;
|
|
6945
6990
|
|
|
6946
6991
|
if (peg$silentFails === 0) {
|
|
6947
|
-
peg$fail(peg$
|
|
6992
|
+
peg$fail(peg$c206);
|
|
6948
6993
|
}
|
|
6949
6994
|
}
|
|
6950
6995
|
}
|
|
@@ -6968,14 +7013,14 @@ function peg$parse(input, options) {
|
|
|
6968
7013
|
var s0, s1, s2, s3, s4, s5;
|
|
6969
7014
|
s0 = peg$currPos;
|
|
6970
7015
|
|
|
6971
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6972
|
-
s1 = peg$
|
|
7016
|
+
if (input.substr(peg$currPos, 2) === peg$c207) {
|
|
7017
|
+
s1 = peg$c207;
|
|
6973
7018
|
peg$currPos += 2;
|
|
6974
7019
|
} else {
|
|
6975
7020
|
s1 = peg$FAILED;
|
|
6976
7021
|
|
|
6977
7022
|
if (peg$silentFails === 0) {
|
|
6978
|
-
peg$fail(peg$
|
|
7023
|
+
peg$fail(peg$c208);
|
|
6979
7024
|
}
|
|
6980
7025
|
}
|
|
6981
7026
|
|
|
@@ -6985,14 +7030,14 @@ function peg$parse(input, options) {
|
|
|
6985
7030
|
s4 = peg$currPos;
|
|
6986
7031
|
peg$silentFails++;
|
|
6987
7032
|
|
|
6988
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
6989
|
-
s5 = peg$
|
|
7033
|
+
if (input.substr(peg$currPos, 2) === peg$c209) {
|
|
7034
|
+
s5 = peg$c209;
|
|
6990
7035
|
peg$currPos += 2;
|
|
6991
7036
|
} else {
|
|
6992
7037
|
s5 = peg$FAILED;
|
|
6993
7038
|
|
|
6994
7039
|
if (peg$silentFails === 0) {
|
|
6995
|
-
peg$fail(peg$
|
|
7040
|
+
peg$fail(peg$c210);
|
|
6996
7041
|
}
|
|
6997
7042
|
}
|
|
6998
7043
|
|
|
@@ -7013,7 +7058,7 @@ function peg$parse(input, options) {
|
|
|
7013
7058
|
s5 = peg$FAILED;
|
|
7014
7059
|
|
|
7015
7060
|
if (peg$silentFails === 0) {
|
|
7016
|
-
peg$fail(peg$
|
|
7061
|
+
peg$fail(peg$c183);
|
|
7017
7062
|
}
|
|
7018
7063
|
}
|
|
7019
7064
|
|
|
@@ -7035,14 +7080,14 @@ function peg$parse(input, options) {
|
|
|
7035
7080
|
s4 = peg$currPos;
|
|
7036
7081
|
peg$silentFails++;
|
|
7037
7082
|
|
|
7038
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7039
|
-
s5 = peg$
|
|
7083
|
+
if (input.substr(peg$currPos, 2) === peg$c209) {
|
|
7084
|
+
s5 = peg$c209;
|
|
7040
7085
|
peg$currPos += 2;
|
|
7041
7086
|
} else {
|
|
7042
7087
|
s5 = peg$FAILED;
|
|
7043
7088
|
|
|
7044
7089
|
if (peg$silentFails === 0) {
|
|
7045
|
-
peg$fail(peg$
|
|
7090
|
+
peg$fail(peg$c210);
|
|
7046
7091
|
}
|
|
7047
7092
|
}
|
|
7048
7093
|
|
|
@@ -7063,7 +7108,7 @@ function peg$parse(input, options) {
|
|
|
7063
7108
|
s5 = peg$FAILED;
|
|
7064
7109
|
|
|
7065
7110
|
if (peg$silentFails === 0) {
|
|
7066
|
-
peg$fail(peg$
|
|
7111
|
+
peg$fail(peg$c183);
|
|
7067
7112
|
}
|
|
7068
7113
|
}
|
|
7069
7114
|
|
|
@@ -7081,14 +7126,14 @@ function peg$parse(input, options) {
|
|
|
7081
7126
|
}
|
|
7082
7127
|
|
|
7083
7128
|
if (s2 !== peg$FAILED) {
|
|
7084
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7085
|
-
s3 = peg$
|
|
7129
|
+
if (input.substr(peg$currPos, 2) === peg$c209) {
|
|
7130
|
+
s3 = peg$c209;
|
|
7086
7131
|
peg$currPos += 2;
|
|
7087
7132
|
} else {
|
|
7088
7133
|
s3 = peg$FAILED;
|
|
7089
7134
|
|
|
7090
7135
|
if (peg$silentFails === 0) {
|
|
7091
|
-
peg$fail(peg$
|
|
7136
|
+
peg$fail(peg$c210);
|
|
7092
7137
|
}
|
|
7093
7138
|
}
|
|
7094
7139
|
|
|
@@ -7126,7 +7171,7 @@ function peg$parse(input, options) {
|
|
|
7126
7171
|
s1 = peg$FAILED;
|
|
7127
7172
|
|
|
7128
7173
|
if (peg$silentFails === 0) {
|
|
7129
|
-
peg$fail(peg$
|
|
7174
|
+
peg$fail(peg$c211);
|
|
7130
7175
|
}
|
|
7131
7176
|
}
|
|
7132
7177
|
|
|
@@ -7137,26 +7182,26 @@ function peg$parse(input, options) {
|
|
|
7137
7182
|
var s0, s1;
|
|
7138
7183
|
peg$silentFails++;
|
|
7139
7184
|
|
|
7140
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7141
|
-
s0 = peg$
|
|
7185
|
+
if (input.substr(peg$currPos, 2) === peg$c213) {
|
|
7186
|
+
s0 = peg$c213;
|
|
7142
7187
|
peg$currPos += 2;
|
|
7143
7188
|
} else {
|
|
7144
7189
|
s0 = peg$FAILED;
|
|
7145
7190
|
|
|
7146
7191
|
if (peg$silentFails === 0) {
|
|
7147
|
-
peg$fail(peg$
|
|
7192
|
+
peg$fail(peg$c214);
|
|
7148
7193
|
}
|
|
7149
7194
|
}
|
|
7150
7195
|
|
|
7151
7196
|
if (s0 === peg$FAILED) {
|
|
7152
7197
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
7153
|
-
s0 = peg$
|
|
7198
|
+
s0 = peg$c215;
|
|
7154
7199
|
peg$currPos++;
|
|
7155
7200
|
} else {
|
|
7156
7201
|
s0 = peg$FAILED;
|
|
7157
7202
|
|
|
7158
7203
|
if (peg$silentFails === 0) {
|
|
7159
|
-
peg$fail(peg$
|
|
7204
|
+
peg$fail(peg$c216);
|
|
7160
7205
|
}
|
|
7161
7206
|
}
|
|
7162
7207
|
}
|
|
@@ -7167,7 +7212,7 @@ function peg$parse(input, options) {
|
|
|
7167
7212
|
s1 = peg$FAILED;
|
|
7168
7213
|
|
|
7169
7214
|
if (peg$silentFails === 0) {
|
|
7170
|
-
peg$fail(peg$
|
|
7215
|
+
peg$fail(peg$c212);
|
|
7171
7216
|
}
|
|
7172
7217
|
}
|
|
7173
7218
|
|
|
@@ -7178,14 +7223,14 @@ function peg$parse(input, options) {
|
|
|
7178
7223
|
var s0, s1;
|
|
7179
7224
|
peg$silentFails++;
|
|
7180
7225
|
|
|
7181
|
-
if (peg$
|
|
7226
|
+
if (peg$c218.test(input.charAt(peg$currPos))) {
|
|
7182
7227
|
s0 = input.charAt(peg$currPos);
|
|
7183
7228
|
peg$currPos++;
|
|
7184
7229
|
} else {
|
|
7185
7230
|
s0 = peg$FAILED;
|
|
7186
7231
|
|
|
7187
7232
|
if (peg$silentFails === 0) {
|
|
7188
|
-
peg$fail(peg$
|
|
7233
|
+
peg$fail(peg$c219);
|
|
7189
7234
|
}
|
|
7190
7235
|
}
|
|
7191
7236
|
|
|
@@ -7195,7 +7240,7 @@ function peg$parse(input, options) {
|
|
|
7195
7240
|
s1 = peg$FAILED;
|
|
7196
7241
|
|
|
7197
7242
|
if (peg$silentFails === 0) {
|
|
7198
|
-
peg$fail(peg$
|
|
7243
|
+
peg$fail(peg$c217);
|
|
7199
7244
|
}
|
|
7200
7245
|
}
|
|
7201
7246
|
|
|
@@ -7206,14 +7251,14 @@ function peg$parse(input, options) {
|
|
|
7206
7251
|
var s0, s1;
|
|
7207
7252
|
peg$silentFails++;
|
|
7208
7253
|
|
|
7209
|
-
if (peg$
|
|
7254
|
+
if (peg$c220.test(input.charAt(peg$currPos))) {
|
|
7210
7255
|
s0 = input.charAt(peg$currPos);
|
|
7211
7256
|
peg$currPos++;
|
|
7212
7257
|
} else {
|
|
7213
7258
|
s0 = peg$FAILED;
|
|
7214
7259
|
|
|
7215
7260
|
if (peg$silentFails === 0) {
|
|
7216
|
-
peg$fail(peg$
|
|
7261
|
+
peg$fail(peg$c221);
|
|
7217
7262
|
}
|
|
7218
7263
|
}
|
|
7219
7264
|
|
|
@@ -7223,7 +7268,7 @@ function peg$parse(input, options) {
|
|
|
7223
7268
|
s1 = peg$FAILED;
|
|
7224
7269
|
|
|
7225
7270
|
if (peg$silentFails === 0) {
|
|
7226
|
-
peg$fail(peg$
|
|
7271
|
+
peg$fail(peg$c217);
|
|
7227
7272
|
}
|
|
7228
7273
|
}
|
|
7229
7274
|
|
|
@@ -7234,13 +7279,13 @@ function peg$parse(input, options) {
|
|
|
7234
7279
|
var s0;
|
|
7235
7280
|
|
|
7236
7281
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
7237
|
-
s0 = peg$
|
|
7282
|
+
s0 = peg$c222;
|
|
7238
7283
|
peg$currPos++;
|
|
7239
7284
|
} else {
|
|
7240
7285
|
s0 = peg$FAILED;
|
|
7241
7286
|
|
|
7242
7287
|
if (peg$silentFails === 0) {
|
|
7243
|
-
peg$fail(peg$
|
|
7288
|
+
peg$fail(peg$c223);
|
|
7244
7289
|
}
|
|
7245
7290
|
}
|
|
7246
7291
|
|
|
@@ -7251,13 +7296,13 @@ function peg$parse(input, options) {
|
|
|
7251
7296
|
var s0;
|
|
7252
7297
|
|
|
7253
7298
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
7254
|
-
s0 = peg$
|
|
7299
|
+
s0 = peg$c179;
|
|
7255
7300
|
peg$currPos++;
|
|
7256
7301
|
} else {
|
|
7257
7302
|
s0 = peg$FAILED;
|
|
7258
7303
|
|
|
7259
7304
|
if (peg$silentFails === 0) {
|
|
7260
|
-
peg$fail(peg$
|
|
7305
|
+
peg$fail(peg$c180);
|
|
7261
7306
|
}
|
|
7262
7307
|
}
|
|
7263
7308
|
|
|
@@ -7269,19 +7314,19 @@ function peg$parse(input, options) {
|
|
|
7269
7314
|
s0 = peg$currPos;
|
|
7270
7315
|
|
|
7271
7316
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
7272
|
-
s1 = peg$
|
|
7317
|
+
s1 = peg$c224;
|
|
7273
7318
|
peg$currPos++;
|
|
7274
7319
|
} else {
|
|
7275
7320
|
s1 = peg$FAILED;
|
|
7276
7321
|
|
|
7277
7322
|
if (peg$silentFails === 0) {
|
|
7278
|
-
peg$fail(peg$
|
|
7323
|
+
peg$fail(peg$c225);
|
|
7279
7324
|
}
|
|
7280
7325
|
}
|
|
7281
7326
|
|
|
7282
7327
|
if (s1 !== peg$FAILED) {
|
|
7283
7328
|
peg$savedPos = s0;
|
|
7284
|
-
s1 = peg$
|
|
7329
|
+
s1 = peg$c226();
|
|
7285
7330
|
}
|
|
7286
7331
|
|
|
7287
7332
|
s0 = s1;
|
|
@@ -7294,13 +7339,13 @@ function peg$parse(input, options) {
|
|
|
7294
7339
|
s0 = peg$currPos;
|
|
7295
7340
|
|
|
7296
7341
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
7297
|
-
s1 = peg$
|
|
7342
|
+
s1 = peg$c198;
|
|
7298
7343
|
peg$currPos++;
|
|
7299
7344
|
} else {
|
|
7300
7345
|
s1 = peg$FAILED;
|
|
7301
7346
|
|
|
7302
7347
|
if (peg$silentFails === 0) {
|
|
7303
|
-
peg$fail(peg$
|
|
7348
|
+
peg$fail(peg$c199);
|
|
7304
7349
|
}
|
|
7305
7350
|
}
|
|
7306
7351
|
|
|
@@ -7315,19 +7360,19 @@ function peg$parse(input, options) {
|
|
|
7315
7360
|
|
|
7316
7361
|
if (s2 !== peg$FAILED) {
|
|
7317
7362
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
7318
|
-
s3 = peg$
|
|
7363
|
+
s3 = peg$c198;
|
|
7319
7364
|
peg$currPos++;
|
|
7320
7365
|
} else {
|
|
7321
7366
|
s3 = peg$FAILED;
|
|
7322
7367
|
|
|
7323
7368
|
if (peg$silentFails === 0) {
|
|
7324
|
-
peg$fail(peg$
|
|
7369
|
+
peg$fail(peg$c199);
|
|
7325
7370
|
}
|
|
7326
7371
|
}
|
|
7327
7372
|
|
|
7328
7373
|
if (s3 !== peg$FAILED) {
|
|
7329
7374
|
peg$savedPos = s0;
|
|
7330
|
-
s1 = peg$
|
|
7375
|
+
s1 = peg$c228(s2);
|
|
7331
7376
|
s0 = s1;
|
|
7332
7377
|
} else {
|
|
7333
7378
|
peg$currPos = s0;
|
|
@@ -7345,14 +7390,14 @@ function peg$parse(input, options) {
|
|
|
7345
7390
|
if (s0 === peg$FAILED) {
|
|
7346
7391
|
s0 = peg$currPos;
|
|
7347
7392
|
|
|
7348
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7349
|
-
s1 = peg$
|
|
7393
|
+
if (input.substr(peg$currPos, 3) === peg$c229) {
|
|
7394
|
+
s1 = peg$c229;
|
|
7350
7395
|
peg$currPos += 3;
|
|
7351
7396
|
} else {
|
|
7352
7397
|
s1 = peg$FAILED;
|
|
7353
7398
|
|
|
7354
7399
|
if (peg$silentFails === 0) {
|
|
7355
|
-
peg$fail(peg$
|
|
7400
|
+
peg$fail(peg$c230);
|
|
7356
7401
|
}
|
|
7357
7402
|
}
|
|
7358
7403
|
|
|
@@ -7366,20 +7411,20 @@ function peg$parse(input, options) {
|
|
|
7366
7411
|
}
|
|
7367
7412
|
|
|
7368
7413
|
if (s2 !== peg$FAILED) {
|
|
7369
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7370
|
-
s3 = peg$
|
|
7414
|
+
if (input.substr(peg$currPos, 3) === peg$c229) {
|
|
7415
|
+
s3 = peg$c229;
|
|
7371
7416
|
peg$currPos += 3;
|
|
7372
7417
|
} else {
|
|
7373
7418
|
s3 = peg$FAILED;
|
|
7374
7419
|
|
|
7375
7420
|
if (peg$silentFails === 0) {
|
|
7376
|
-
peg$fail(peg$
|
|
7421
|
+
peg$fail(peg$c230);
|
|
7377
7422
|
}
|
|
7378
7423
|
}
|
|
7379
7424
|
|
|
7380
7425
|
if (s3 !== peg$FAILED) {
|
|
7381
7426
|
peg$savedPos = s0;
|
|
7382
|
-
s1 = peg$
|
|
7427
|
+
s1 = peg$c231(s2);
|
|
7383
7428
|
s0 = s1;
|
|
7384
7429
|
} else {
|
|
7385
7430
|
peg$currPos = s0;
|
|
@@ -7398,13 +7443,13 @@ function peg$parse(input, options) {
|
|
|
7398
7443
|
s0 = peg$currPos;
|
|
7399
7444
|
|
|
7400
7445
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
7401
|
-
s1 = peg$
|
|
7446
|
+
s1 = peg$c232;
|
|
7402
7447
|
peg$currPos++;
|
|
7403
7448
|
} else {
|
|
7404
7449
|
s1 = peg$FAILED;
|
|
7405
7450
|
|
|
7406
7451
|
if (peg$silentFails === 0) {
|
|
7407
|
-
peg$fail(peg$
|
|
7452
|
+
peg$fail(peg$c233);
|
|
7408
7453
|
}
|
|
7409
7454
|
}
|
|
7410
7455
|
|
|
@@ -7419,19 +7464,19 @@ function peg$parse(input, options) {
|
|
|
7419
7464
|
|
|
7420
7465
|
if (s2 !== peg$FAILED) {
|
|
7421
7466
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
7422
|
-
s3 = peg$
|
|
7467
|
+
s3 = peg$c232;
|
|
7423
7468
|
peg$currPos++;
|
|
7424
7469
|
} else {
|
|
7425
7470
|
s3 = peg$FAILED;
|
|
7426
7471
|
|
|
7427
7472
|
if (peg$silentFails === 0) {
|
|
7428
|
-
peg$fail(peg$
|
|
7473
|
+
peg$fail(peg$c233);
|
|
7429
7474
|
}
|
|
7430
7475
|
}
|
|
7431
7476
|
|
|
7432
7477
|
if (s3 !== peg$FAILED) {
|
|
7433
7478
|
peg$savedPos = s0;
|
|
7434
|
-
s1 = peg$
|
|
7479
|
+
s1 = peg$c228(s2);
|
|
7435
7480
|
s0 = s1;
|
|
7436
7481
|
} else {
|
|
7437
7482
|
peg$currPos = s0;
|
|
@@ -7454,7 +7499,7 @@ function peg$parse(input, options) {
|
|
|
7454
7499
|
s1 = peg$FAILED;
|
|
7455
7500
|
|
|
7456
7501
|
if (peg$silentFails === 0) {
|
|
7457
|
-
peg$fail(peg$
|
|
7502
|
+
peg$fail(peg$c227);
|
|
7458
7503
|
}
|
|
7459
7504
|
}
|
|
7460
7505
|
|
|
@@ -7466,31 +7511,31 @@ function peg$parse(input, options) {
|
|
|
7466
7511
|
s0 = peg$currPos;
|
|
7467
7512
|
|
|
7468
7513
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
7469
|
-
s1 = peg$
|
|
7514
|
+
s1 = peg$c234;
|
|
7470
7515
|
peg$currPos++;
|
|
7471
7516
|
} else {
|
|
7472
7517
|
s1 = peg$FAILED;
|
|
7473
7518
|
|
|
7474
7519
|
if (peg$silentFails === 0) {
|
|
7475
|
-
peg$fail(peg$
|
|
7520
|
+
peg$fail(peg$c235);
|
|
7476
7521
|
}
|
|
7477
7522
|
}
|
|
7478
7523
|
|
|
7479
7524
|
if (s1 !== peg$FAILED) {
|
|
7480
7525
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
7481
|
-
s2 = peg$
|
|
7526
|
+
s2 = peg$c198;
|
|
7482
7527
|
peg$currPos++;
|
|
7483
7528
|
} else {
|
|
7484
7529
|
s2 = peg$FAILED;
|
|
7485
7530
|
|
|
7486
7531
|
if (peg$silentFails === 0) {
|
|
7487
|
-
peg$fail(peg$
|
|
7532
|
+
peg$fail(peg$c199);
|
|
7488
7533
|
}
|
|
7489
7534
|
}
|
|
7490
7535
|
|
|
7491
7536
|
if (s2 !== peg$FAILED) {
|
|
7492
7537
|
peg$savedPos = s0;
|
|
7493
|
-
s1 = peg$
|
|
7538
|
+
s1 = peg$c236();
|
|
7494
7539
|
s0 = s1;
|
|
7495
7540
|
} else {
|
|
7496
7541
|
peg$currPos = s0;
|
|
@@ -7507,13 +7552,13 @@ function peg$parse(input, options) {
|
|
|
7507
7552
|
peg$silentFails++;
|
|
7508
7553
|
|
|
7509
7554
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
7510
|
-
s2 = peg$
|
|
7555
|
+
s2 = peg$c198;
|
|
7511
7556
|
peg$currPos++;
|
|
7512
7557
|
} else {
|
|
7513
7558
|
s2 = peg$FAILED;
|
|
7514
7559
|
|
|
7515
7560
|
if (peg$silentFails === 0) {
|
|
7516
|
-
peg$fail(peg$
|
|
7561
|
+
peg$fail(peg$c199);
|
|
7517
7562
|
}
|
|
7518
7563
|
}
|
|
7519
7564
|
|
|
@@ -7531,7 +7576,7 @@ function peg$parse(input, options) {
|
|
|
7531
7576
|
|
|
7532
7577
|
if (s2 !== peg$FAILED) {
|
|
7533
7578
|
peg$savedPos = s0;
|
|
7534
|
-
s1 = peg$
|
|
7579
|
+
s1 = peg$c237();
|
|
7535
7580
|
s0 = s1;
|
|
7536
7581
|
} else {
|
|
7537
7582
|
peg$currPos = s0;
|
|
@@ -7550,20 +7595,20 @@ function peg$parse(input, options) {
|
|
|
7550
7595
|
var s0, s1, s2;
|
|
7551
7596
|
s0 = peg$currPos;
|
|
7552
7597
|
|
|
7553
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7554
|
-
s1 = peg$
|
|
7598
|
+
if (input.substr(peg$currPos, 2) === peg$c238) {
|
|
7599
|
+
s1 = peg$c238;
|
|
7555
7600
|
peg$currPos += 2;
|
|
7556
7601
|
} else {
|
|
7557
7602
|
s1 = peg$FAILED;
|
|
7558
7603
|
|
|
7559
7604
|
if (peg$silentFails === 0) {
|
|
7560
|
-
peg$fail(peg$
|
|
7605
|
+
peg$fail(peg$c239);
|
|
7561
7606
|
}
|
|
7562
7607
|
}
|
|
7563
7608
|
|
|
7564
7609
|
if (s1 !== peg$FAILED) {
|
|
7565
7610
|
peg$savedPos = s0;
|
|
7566
|
-
s1 = peg$
|
|
7611
|
+
s1 = peg$c240();
|
|
7567
7612
|
}
|
|
7568
7613
|
|
|
7569
7614
|
s0 = s1;
|
|
@@ -7574,13 +7619,13 @@ function peg$parse(input, options) {
|
|
|
7574
7619
|
peg$silentFails++;
|
|
7575
7620
|
|
|
7576
7621
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
7577
|
-
s2 = peg$
|
|
7622
|
+
s2 = peg$c232;
|
|
7578
7623
|
peg$currPos++;
|
|
7579
7624
|
} else {
|
|
7580
7625
|
s2 = peg$FAILED;
|
|
7581
7626
|
|
|
7582
7627
|
if (peg$silentFails === 0) {
|
|
7583
|
-
peg$fail(peg$
|
|
7628
|
+
peg$fail(peg$c233);
|
|
7584
7629
|
}
|
|
7585
7630
|
}
|
|
7586
7631
|
|
|
@@ -7598,7 +7643,7 @@ function peg$parse(input, options) {
|
|
|
7598
7643
|
|
|
7599
7644
|
if (s2 !== peg$FAILED) {
|
|
7600
7645
|
peg$savedPos = s0;
|
|
7601
|
-
s1 = peg$
|
|
7646
|
+
s1 = peg$c237();
|
|
7602
7647
|
s0 = s1;
|
|
7603
7648
|
} else {
|
|
7604
7649
|
peg$currPos = s0;
|
|
@@ -7617,20 +7662,20 @@ function peg$parse(input, options) {
|
|
|
7617
7662
|
var s0, s1, s2, s3;
|
|
7618
7663
|
s0 = peg$currPos;
|
|
7619
7664
|
|
|
7620
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
7621
|
-
s1 = peg$
|
|
7665
|
+
if (input.substr(peg$currPos, 2) === peg$c238) {
|
|
7666
|
+
s1 = peg$c238;
|
|
7622
7667
|
peg$currPos += 2;
|
|
7623
7668
|
} else {
|
|
7624
7669
|
s1 = peg$FAILED;
|
|
7625
7670
|
|
|
7626
7671
|
if (peg$silentFails === 0) {
|
|
7627
|
-
peg$fail(peg$
|
|
7672
|
+
peg$fail(peg$c239);
|
|
7628
7673
|
}
|
|
7629
7674
|
}
|
|
7630
7675
|
|
|
7631
7676
|
if (s1 !== peg$FAILED) {
|
|
7632
7677
|
peg$savedPos = s0;
|
|
7633
|
-
s1 = peg$
|
|
7678
|
+
s1 = peg$c240();
|
|
7634
7679
|
}
|
|
7635
7680
|
|
|
7636
7681
|
s0 = s1;
|
|
@@ -7639,13 +7684,13 @@ function peg$parse(input, options) {
|
|
|
7639
7684
|
s0 = peg$currPos;
|
|
7640
7685
|
|
|
7641
7686
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
7642
|
-
s1 = peg$
|
|
7687
|
+
s1 = peg$c234;
|
|
7643
7688
|
peg$currPos++;
|
|
7644
7689
|
} else {
|
|
7645
7690
|
s1 = peg$FAILED;
|
|
7646
7691
|
|
|
7647
7692
|
if (peg$silentFails === 0) {
|
|
7648
|
-
peg$fail(peg$
|
|
7693
|
+
peg$fail(peg$c235);
|
|
7649
7694
|
}
|
|
7650
7695
|
}
|
|
7651
7696
|
|
|
@@ -7653,13 +7698,13 @@ function peg$parse(input, options) {
|
|
|
7653
7698
|
s2 = [];
|
|
7654
7699
|
|
|
7655
7700
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
7656
|
-
s3 = peg$
|
|
7701
|
+
s3 = peg$c234;
|
|
7657
7702
|
peg$currPos++;
|
|
7658
7703
|
} else {
|
|
7659
7704
|
s3 = peg$FAILED;
|
|
7660
7705
|
|
|
7661
7706
|
if (peg$silentFails === 0) {
|
|
7662
|
-
peg$fail(peg$
|
|
7707
|
+
peg$fail(peg$c235);
|
|
7663
7708
|
}
|
|
7664
7709
|
}
|
|
7665
7710
|
|
|
@@ -7668,13 +7713,13 @@ function peg$parse(input, options) {
|
|
|
7668
7713
|
s2.push(s3);
|
|
7669
7714
|
|
|
7670
7715
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
7671
|
-
s3 = peg$
|
|
7716
|
+
s3 = peg$c234;
|
|
7672
7717
|
peg$currPos++;
|
|
7673
7718
|
} else {
|
|
7674
7719
|
s3 = peg$FAILED;
|
|
7675
7720
|
|
|
7676
7721
|
if (peg$silentFails === 0) {
|
|
7677
|
-
peg$fail(peg$
|
|
7722
|
+
peg$fail(peg$c235);
|
|
7678
7723
|
}
|
|
7679
7724
|
}
|
|
7680
7725
|
}
|
|
@@ -7684,7 +7729,7 @@ function peg$parse(input, options) {
|
|
|
7684
7729
|
|
|
7685
7730
|
if (s2 !== peg$FAILED) {
|
|
7686
7731
|
peg$savedPos = s0;
|
|
7687
|
-
s1 = peg$
|
|
7732
|
+
s1 = peg$c241(s2);
|
|
7688
7733
|
s0 = s1;
|
|
7689
7734
|
} else {
|
|
7690
7735
|
peg$currPos = s0;
|
|
@@ -7699,25 +7744,25 @@ function peg$parse(input, options) {
|
|
|
7699
7744
|
s0 = peg$currPos;
|
|
7700
7745
|
|
|
7701
7746
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
7702
|
-
s1 = peg$
|
|
7747
|
+
s1 = peg$c234;
|
|
7703
7748
|
peg$currPos++;
|
|
7704
7749
|
} else {
|
|
7705
7750
|
s1 = peg$FAILED;
|
|
7706
7751
|
|
|
7707
7752
|
if (peg$silentFails === 0) {
|
|
7708
|
-
peg$fail(peg$
|
|
7753
|
+
peg$fail(peg$c235);
|
|
7709
7754
|
}
|
|
7710
7755
|
}
|
|
7711
7756
|
|
|
7712
7757
|
if (s1 !== peg$FAILED) {
|
|
7713
7758
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
7714
|
-
s2 = peg$
|
|
7759
|
+
s2 = peg$c215;
|
|
7715
7760
|
peg$currPos++;
|
|
7716
7761
|
} else {
|
|
7717
7762
|
s2 = peg$FAILED;
|
|
7718
7763
|
|
|
7719
7764
|
if (peg$silentFails === 0) {
|
|
7720
|
-
peg$fail(peg$
|
|
7765
|
+
peg$fail(peg$c216);
|
|
7721
7766
|
}
|
|
7722
7767
|
}
|
|
7723
7768
|
|
|
@@ -7727,7 +7772,7 @@ function peg$parse(input, options) {
|
|
|
7727
7772
|
|
|
7728
7773
|
if (s2 !== peg$FAILED) {
|
|
7729
7774
|
peg$savedPos = s0;
|
|
7730
|
-
s1 = peg$
|
|
7775
|
+
s1 = peg$c242();
|
|
7731
7776
|
s0 = s1;
|
|
7732
7777
|
} else {
|
|
7733
7778
|
peg$currPos = s0;
|
|
@@ -7743,14 +7788,14 @@ function peg$parse(input, options) {
|
|
|
7743
7788
|
s1 = peg$currPos;
|
|
7744
7789
|
peg$silentFails++;
|
|
7745
7790
|
|
|
7746
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
7747
|
-
s2 = peg$
|
|
7791
|
+
if (input.substr(peg$currPos, 3) === peg$c229) {
|
|
7792
|
+
s2 = peg$c229;
|
|
7748
7793
|
peg$currPos += 3;
|
|
7749
7794
|
} else {
|
|
7750
7795
|
s2 = peg$FAILED;
|
|
7751
7796
|
|
|
7752
7797
|
if (peg$silentFails === 0) {
|
|
7753
|
-
peg$fail(peg$
|
|
7798
|
+
peg$fail(peg$c230);
|
|
7754
7799
|
}
|
|
7755
7800
|
}
|
|
7756
7801
|
|
|
@@ -7768,7 +7813,7 @@ function peg$parse(input, options) {
|
|
|
7768
7813
|
|
|
7769
7814
|
if (s2 !== peg$FAILED) {
|
|
7770
7815
|
peg$savedPos = s0;
|
|
7771
|
-
s1 = peg$
|
|
7816
|
+
s1 = peg$c237();
|
|
7772
7817
|
s0 = s1;
|
|
7773
7818
|
} else {
|
|
7774
7819
|
peg$currPos = s0;
|
|
@@ -7795,7 +7840,7 @@ function peg$parse(input, options) {
|
|
|
7795
7840
|
s0 = peg$FAILED;
|
|
7796
7841
|
|
|
7797
7842
|
if (peg$silentFails === 0) {
|
|
7798
|
-
peg$fail(peg$
|
|
7843
|
+
peg$fail(peg$c183);
|
|
7799
7844
|
}
|
|
7800
7845
|
}
|
|
7801
7846
|
|
|
@@ -7805,14 +7850,14 @@ function peg$parse(input, options) {
|
|
|
7805
7850
|
function peg$parsedigit() {
|
|
7806
7851
|
var s0;
|
|
7807
7852
|
|
|
7808
|
-
if (peg$
|
|
7853
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
7809
7854
|
s0 = input.charAt(peg$currPos);
|
|
7810
7855
|
peg$currPos++;
|
|
7811
7856
|
} else {
|
|
7812
7857
|
s0 = peg$FAILED;
|
|
7813
7858
|
|
|
7814
7859
|
if (peg$silentFails === 0) {
|
|
7815
|
-
peg$fail(peg$
|
|
7860
|
+
peg$fail(peg$c244);
|
|
7816
7861
|
}
|
|
7817
7862
|
}
|
|
7818
7863
|
|
|
@@ -7823,13 +7868,13 @@ function peg$parse(input, options) {
|
|
|
7823
7868
|
var s0;
|
|
7824
7869
|
|
|
7825
7870
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
7826
|
-
s0 = peg$
|
|
7871
|
+
s0 = peg$c245;
|
|
7827
7872
|
peg$currPos++;
|
|
7828
7873
|
} else {
|
|
7829
7874
|
s0 = peg$FAILED;
|
|
7830
7875
|
|
|
7831
7876
|
if (peg$silentFails === 0) {
|
|
7832
|
-
peg$fail(peg$
|
|
7877
|
+
peg$fail(peg$c246);
|
|
7833
7878
|
}
|
|
7834
7879
|
}
|
|
7835
7880
|
|
|
@@ -7840,13 +7885,13 @@ function peg$parse(input, options) {
|
|
|
7840
7885
|
var s0;
|
|
7841
7886
|
|
|
7842
7887
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
7843
|
-
s0 = peg$
|
|
7888
|
+
s0 = peg$c168;
|
|
7844
7889
|
peg$currPos++;
|
|
7845
7890
|
} else {
|
|
7846
7891
|
s0 = peg$FAILED;
|
|
7847
7892
|
|
|
7848
7893
|
if (peg$silentFails === 0) {
|
|
7849
|
-
peg$fail(peg$
|
|
7894
|
+
peg$fail(peg$c169);
|
|
7850
7895
|
}
|
|
7851
7896
|
}
|
|
7852
7897
|
|
|
@@ -7857,26 +7902,26 @@ function peg$parse(input, options) {
|
|
|
7857
7902
|
var s0, s1;
|
|
7858
7903
|
s0 = peg$currPos;
|
|
7859
7904
|
|
|
7860
|
-
if (input.substr(peg$currPos, 4).toLowerCase() === peg$
|
|
7905
|
+
if (input.substr(peg$currPos, 4).toLowerCase() === peg$c247) {
|
|
7861
7906
|
s1 = input.substr(peg$currPos, 4);
|
|
7862
7907
|
peg$currPos += 4;
|
|
7863
7908
|
} else {
|
|
7864
7909
|
s1 = peg$FAILED;
|
|
7865
7910
|
|
|
7866
7911
|
if (peg$silentFails === 0) {
|
|
7867
|
-
peg$fail(peg$
|
|
7912
|
+
peg$fail(peg$c248);
|
|
7868
7913
|
}
|
|
7869
7914
|
}
|
|
7870
7915
|
|
|
7871
7916
|
if (s1 === peg$FAILED) {
|
|
7872
|
-
if (input.substr(peg$currPos, 5).toLowerCase() === peg$
|
|
7917
|
+
if (input.substr(peg$currPos, 5).toLowerCase() === peg$c249) {
|
|
7873
7918
|
s1 = input.substr(peg$currPos, 5);
|
|
7874
7919
|
peg$currPos += 5;
|
|
7875
7920
|
} else {
|
|
7876
7921
|
s1 = peg$FAILED;
|
|
7877
7922
|
|
|
7878
7923
|
if (peg$silentFails === 0) {
|
|
7879
|
-
peg$fail(peg$
|
|
7924
|
+
peg$fail(peg$c250);
|
|
7880
7925
|
}
|
|
7881
7926
|
}
|
|
7882
7927
|
|
|
@@ -7896,7 +7941,7 @@ function peg$parse(input, options) {
|
|
|
7896
7941
|
|
|
7897
7942
|
if (s1 !== peg$FAILED) {
|
|
7898
7943
|
peg$savedPos = s0;
|
|
7899
|
-
s1 = peg$
|
|
7944
|
+
s1 = peg$c251(s1);
|
|
7900
7945
|
}
|
|
7901
7946
|
|
|
7902
7947
|
s0 = s1;
|
|
@@ -7908,13 +7953,13 @@ function peg$parse(input, options) {
|
|
|
7908
7953
|
s0 = peg$currPos;
|
|
7909
7954
|
|
|
7910
7955
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
7911
|
-
s1 = peg$
|
|
7956
|
+
s1 = peg$c161;
|
|
7912
7957
|
peg$currPos++;
|
|
7913
7958
|
} else {
|
|
7914
7959
|
s1 = peg$FAILED;
|
|
7915
7960
|
|
|
7916
7961
|
if (peg$silentFails === 0) {
|
|
7917
|
-
peg$fail(peg$
|
|
7962
|
+
peg$fail(peg$c162);
|
|
7918
7963
|
}
|
|
7919
7964
|
}
|
|
7920
7965
|
|
|
@@ -7931,7 +7976,7 @@ function peg$parse(input, options) {
|
|
|
7931
7976
|
|
|
7932
7977
|
if (s2 !== peg$FAILED) {
|
|
7933
7978
|
peg$savedPos = s0;
|
|
7934
|
-
s1 = peg$
|
|
7979
|
+
s1 = peg$c252(s1, s2);
|
|
7935
7980
|
s0 = s1;
|
|
7936
7981
|
} else {
|
|
7937
7982
|
peg$currPos = s0;
|
|
@@ -7950,14 +7995,14 @@ function peg$parse(input, options) {
|
|
|
7950
7995
|
s0 = peg$currPos;
|
|
7951
7996
|
s1 = [];
|
|
7952
7997
|
|
|
7953
|
-
if (peg$
|
|
7998
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
7954
7999
|
s2 = input.charAt(peg$currPos);
|
|
7955
8000
|
peg$currPos++;
|
|
7956
8001
|
} else {
|
|
7957
8002
|
s2 = peg$FAILED;
|
|
7958
8003
|
|
|
7959
8004
|
if (peg$silentFails === 0) {
|
|
7960
|
-
peg$fail(peg$
|
|
8005
|
+
peg$fail(peg$c244);
|
|
7961
8006
|
}
|
|
7962
8007
|
}
|
|
7963
8008
|
|
|
@@ -7965,14 +8010,14 @@ function peg$parse(input, options) {
|
|
|
7965
8010
|
while (s2 !== peg$FAILED) {
|
|
7966
8011
|
s1.push(s2);
|
|
7967
8012
|
|
|
7968
|
-
if (peg$
|
|
8013
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
7969
8014
|
s2 = input.charAt(peg$currPos);
|
|
7970
8015
|
peg$currPos++;
|
|
7971
8016
|
} else {
|
|
7972
8017
|
s2 = peg$FAILED;
|
|
7973
8018
|
|
|
7974
8019
|
if (peg$silentFails === 0) {
|
|
7975
|
-
peg$fail(peg$
|
|
8020
|
+
peg$fail(peg$c244);
|
|
7976
8021
|
}
|
|
7977
8022
|
}
|
|
7978
8023
|
}
|
|
@@ -7982,27 +8027,27 @@ function peg$parse(input, options) {
|
|
|
7982
8027
|
|
|
7983
8028
|
if (s1 !== peg$FAILED) {
|
|
7984
8029
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
7985
|
-
s2 = peg$
|
|
8030
|
+
s2 = peg$c168;
|
|
7986
8031
|
peg$currPos++;
|
|
7987
8032
|
} else {
|
|
7988
8033
|
s2 = peg$FAILED;
|
|
7989
8034
|
|
|
7990
8035
|
if (peg$silentFails === 0) {
|
|
7991
|
-
peg$fail(peg$
|
|
8036
|
+
peg$fail(peg$c169);
|
|
7992
8037
|
}
|
|
7993
8038
|
}
|
|
7994
8039
|
|
|
7995
8040
|
if (s2 !== peg$FAILED) {
|
|
7996
8041
|
s3 = [];
|
|
7997
8042
|
|
|
7998
|
-
if (peg$
|
|
8043
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
7999
8044
|
s4 = input.charAt(peg$currPos);
|
|
8000
8045
|
peg$currPos++;
|
|
8001
8046
|
} else {
|
|
8002
8047
|
s4 = peg$FAILED;
|
|
8003
8048
|
|
|
8004
8049
|
if (peg$silentFails === 0) {
|
|
8005
|
-
peg$fail(peg$
|
|
8050
|
+
peg$fail(peg$c244);
|
|
8006
8051
|
}
|
|
8007
8052
|
}
|
|
8008
8053
|
|
|
@@ -8010,14 +8055,14 @@ function peg$parse(input, options) {
|
|
|
8010
8055
|
while (s4 !== peg$FAILED) {
|
|
8011
8056
|
s3.push(s4);
|
|
8012
8057
|
|
|
8013
|
-
if (peg$
|
|
8058
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
8014
8059
|
s4 = input.charAt(peg$currPos);
|
|
8015
8060
|
peg$currPos++;
|
|
8016
8061
|
} else {
|
|
8017
8062
|
s4 = peg$FAILED;
|
|
8018
8063
|
|
|
8019
8064
|
if (peg$silentFails === 0) {
|
|
8020
|
-
peg$fail(peg$
|
|
8065
|
+
peg$fail(peg$c244);
|
|
8021
8066
|
}
|
|
8022
8067
|
}
|
|
8023
8068
|
}
|
|
@@ -8027,7 +8072,7 @@ function peg$parse(input, options) {
|
|
|
8027
8072
|
|
|
8028
8073
|
if (s3 !== peg$FAILED) {
|
|
8029
8074
|
peg$savedPos = s0;
|
|
8030
|
-
s1 = peg$
|
|
8075
|
+
s1 = peg$c253(s1, s3);
|
|
8031
8076
|
s0 = s1;
|
|
8032
8077
|
} else {
|
|
8033
8078
|
peg$currPos = s0;
|
|
@@ -8050,14 +8095,14 @@ function peg$parse(input, options) {
|
|
|
8050
8095
|
s0 = peg$currPos;
|
|
8051
8096
|
s1 = [];
|
|
8052
8097
|
|
|
8053
|
-
if (peg$
|
|
8098
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
8054
8099
|
s2 = input.charAt(peg$currPos);
|
|
8055
8100
|
peg$currPos++;
|
|
8056
8101
|
} else {
|
|
8057
8102
|
s2 = peg$FAILED;
|
|
8058
8103
|
|
|
8059
8104
|
if (peg$silentFails === 0) {
|
|
8060
|
-
peg$fail(peg$
|
|
8105
|
+
peg$fail(peg$c244);
|
|
8061
8106
|
}
|
|
8062
8107
|
}
|
|
8063
8108
|
|
|
@@ -8065,14 +8110,14 @@ function peg$parse(input, options) {
|
|
|
8065
8110
|
while (s2 !== peg$FAILED) {
|
|
8066
8111
|
s1.push(s2);
|
|
8067
8112
|
|
|
8068
|
-
if (peg$
|
|
8113
|
+
if (peg$c243.test(input.charAt(peg$currPos))) {
|
|
8069
8114
|
s2 = input.charAt(peg$currPos);
|
|
8070
8115
|
peg$currPos++;
|
|
8071
8116
|
} else {
|
|
8072
8117
|
s2 = peg$FAILED;
|
|
8073
8118
|
|
|
8074
8119
|
if (peg$silentFails === 0) {
|
|
8075
|
-
peg$fail(peg$
|
|
8120
|
+
peg$fail(peg$c244);
|
|
8076
8121
|
}
|
|
8077
8122
|
}
|
|
8078
8123
|
}
|
|
@@ -8082,7 +8127,7 @@ function peg$parse(input, options) {
|
|
|
8082
8127
|
|
|
8083
8128
|
if (s1 !== peg$FAILED) {
|
|
8084
8129
|
peg$savedPos = s0;
|
|
8085
|
-
s1 = peg$
|
|
8130
|
+
s1 = peg$c254(s1);
|
|
8086
8131
|
}
|
|
8087
8132
|
|
|
8088
8133
|
s0 = s1;
|
|
@@ -8099,6 +8144,14 @@ function peg$parse(input, options) {
|
|
|
8099
8144
|
project: {}
|
|
8100
8145
|
};
|
|
8101
8146
|
var projectCnt = 0;
|
|
8147
|
+
|
|
8148
|
+
function getRelations(operator) {
|
|
8149
|
+
if (operator === '<>') return ['*', '*'];
|
|
8150
|
+
if (operator === '>') return ['*', '1'];
|
|
8151
|
+
if (operator === '<') return ['1', '*'];
|
|
8152
|
+
if (operator === '-') return ['1', '1'];
|
|
8153
|
+
}
|
|
8154
|
+
|
|
8102
8155
|
peg$result = peg$startRuleFunction();
|
|
8103
8156
|
|
|
8104
8157
|
if (peg$result !== peg$FAILED && peg$currPos === input.length) {
|