From 6f0f3b5e4ee85a8635c835ac09b02a0ebe65733a Mon Sep 17 00:00:00 2001 From: Merott Movahedi Date: Tue, 14 Dec 2021 14:37:09 +0000 Subject: [PATCH] add partial support for 'page' section --- src/module-parser.js | 4451 +++++++++++++++++++++--------------------- src/module.pegjs | 8 +- 2 files changed, 2261 insertions(+), 2198 deletions(-) diff --git a/src/module-parser.js b/src/module-parser.js index 15adb5f..0c40816 100644 --- a/src/module-parser.js +++ b/src/module-parser.js @@ -182,44 +182,64 @@ function peg$parse(input, options) { peg$c32 = peg$literalExpectation("page", false), peg$c33 = "paper", peg$c34 = peg$literalExpectation("paper", false), - peg$c35 = "custom", - peg$c36 = peg$literalExpectation("custom", false), - peg$c37 = "User", - peg$c38 = peg$literalExpectation("User", false), - peg$c39 = "portrait", - peg$c40 = peg$literalExpectation("portrait", false), - peg$c41 = function(portrait) { - return {type: "page info", value: { type:"string", value:"unsupported" }} + peg$c35 = "A0", + peg$c36 = peg$literalExpectation("A0", false), + peg$c37 = "A1", + peg$c38 = peg$literalExpectation("A1", false), + peg$c39 = "A2", + peg$c40 = peg$literalExpectation("A2", false), + peg$c41 = "A3", + peg$c42 = peg$literalExpectation("A3", false), + peg$c43 = "A4", + peg$c44 = peg$literalExpectation("A4", false), + peg$c45 = "A5", + peg$c46 = peg$literalExpectation("A5", false), + peg$c47 = "A", + peg$c48 = peg$literalExpectation("A", false), + peg$c49 = "B", + peg$c50 = peg$literalExpectation("B", false), + peg$c51 = "C", + peg$c52 = peg$literalExpectation("C", false), + peg$c53 = "D", + peg$c54 = peg$literalExpectation("D", false), + peg$c55 = "portrait", + peg$c56 = peg$literalExpectation("portrait", false), + peg$c57 = function(size, portrait) { + const value = [ + { type: "size", value: {type: "string", value: size } }, + { type: "portrait", value: { type: "boolean", value: !!portrait } } + ] + return {type: "page", value} }, - peg$c42 = "title_block", - peg$c43 = peg$literalExpectation("title_block", false), - peg$c44 = "title", - peg$c45 = peg$literalExpectation("title", false), - peg$c46 = "date", - peg$c47 = peg$literalExpectation("date", false), - peg$c48 = "rev", - peg$c49 = peg$literalExpectation("rev", false), - peg$c50 = "company", - peg$c51 = peg$literalExpectation("company", false), - peg$c52 = "comment", - peg$c53 = peg$literalExpectation("comment", false), - peg$c54 = /^[0-8]/, - peg$c55 = peg$classExpectation([["0", "8"]], false, false), - peg$c56 = function(type, options) { + peg$c58 = "title_block", + peg$c59 = peg$literalExpectation("title_block", false), + peg$c60 = "title", + peg$c61 = peg$literalExpectation("title", false), + peg$c62 = "date", + peg$c63 = peg$literalExpectation("date", false), + peg$c64 = "rev", + peg$c65 = peg$literalExpectation("rev", false), + peg$c66 = "company", + peg$c67 = peg$literalExpectation("company", false), + peg$c68 = "comment", + peg$c69 = peg$literalExpectation("comment", false), + peg$c70 = /^[0-8]/, + peg$c71 = peg$classExpectation([["0", "8"]], false, false), + peg$c72 = function(type, options) { return {type, value: options.map(x => ({ type: x[2],value: x[4]}))} }, - peg$c57 = "layers", - peg$c58 = peg$literalExpectation("layers", false), - peg$c59 = function(type, v) {return v}, - peg$c60 = function(type, value) { + peg$c73 = "layers", + peg$c74 = peg$literalExpectation("layers", false), + peg$c75 = function(type, v) {return v}, + peg$c76 = function(type, value) { return { type, value } }, - peg$c61 = "user", - peg$c62 = peg$literalExpectation("user", false), - peg$c63 = function(index, name, value) {return value}, - peg$c64 = "hide", - peg$c65 = peg$literalExpectation("hide", false), - peg$c66 = function(index, name, layer_type, hide) { + peg$c77 = "user", + peg$c78 = peg$literalExpectation("user", false), + peg$c79 = function(index, name, value) {return value}, + peg$c80 = "hide", + peg$c81 = peg$literalExpectation("hide", false), + peg$c82 = function(index, name, layer_type, hide) { const value = [ {type: "index", value: index}, {type: "name", value: name}, @@ -229,219 +249,219 @@ function peg$parse(input, options) { ] return { type: "layer", value } }, - peg$c67 = "setup", - peg$c68 = peg$literalExpectation("setup", false), - peg$c69 = function(type, values) { + peg$c83 = "setup", + peg$c84 = peg$literalExpectation("setup", false), + peg$c85 = function(type, values) { return {type, value:values.map(x => x[0])} }, - peg$c70 = function(type, value) { return { type, value } }, - peg$c71 = "filled_areas_thickness", - peg$c72 = peg$literalExpectation("filled_areas_thickness", false), - peg$c73 = "blind_buried_vias_allowed", - peg$c74 = peg$literalExpectation("blind_buried_vias_allowed", false), - peg$c75 = "uvias_allowed", - peg$c76 = peg$literalExpectation("uvias_allowed", false), - peg$c77 = "zone_45_only", - peg$c78 = peg$literalExpectation("zone_45_only", false), - peg$c79 = "last_trace_width", - peg$c80 = peg$literalExpectation("last_trace_width", false), - peg$c81 = "user_trace_width", - peg$c82 = peg$literalExpectation("user_trace_width", false), - peg$c83 = "trace_clearance", - peg$c84 = peg$literalExpectation("trace_clearance", false), - peg$c85 = "zone_clearance", - peg$c86 = peg$literalExpectation("zone_clearance", false), - peg$c87 = "clearance_min", - peg$c88 = peg$literalExpectation("clearance_min", false), - peg$c89 = "trace_min", - peg$c90 = peg$literalExpectation("trace_min", false), - peg$c91 = "via_size", - peg$c92 = peg$literalExpectation("via_size", false), - peg$c93 = "via_drill", - peg$c94 = peg$literalExpectation("via_drill", false), - peg$c95 = "via_min_annulus", - peg$c96 = peg$literalExpectation("via_min_annulus", false), - peg$c97 = "via_min_size", - peg$c98 = peg$literalExpectation("via_min_size", false), - peg$c99 = "through_hole_min", - peg$c100 = peg$literalExpectation("through_hole_min", false), - peg$c101 = "via_min_drill", - peg$c102 = peg$literalExpectation("via_min_drill", false), - peg$c103 = "hole_to_hole_min", - peg$c104 = peg$literalExpectation("hole_to_hole_min", false), - peg$c105 = "uvia_size", - peg$c106 = peg$literalExpectation("uvia_size", false), - peg$c107 = "uvia_drill", - peg$c108 = peg$literalExpectation("uvia_drill", false), - peg$c109 = "uvia_min_size", - peg$c110 = peg$literalExpectation("uvia_min_size", false), - peg$c111 = "uvia_min_drill", - peg$c112 = peg$literalExpectation("uvia_min_drill", false), - peg$c113 = "segment_width", - peg$c114 = peg$literalExpectation("segment_width", false), - peg$c115 = "edge_width", - peg$c116 = peg$literalExpectation("edge_width", false), - peg$c117 = "mod_edge_width", - peg$c118 = peg$literalExpectation("mod_edge_width", false), - peg$c119 = "pcb_text_width", - peg$c120 = peg$literalExpectation("pcb_text_width", false), - peg$c121 = "mod_text_width", - peg$c122 = peg$literalExpectation("mod_text_width", false), - peg$c123 = "pad_to_mask_clearance", - peg$c124 = peg$literalExpectation("pad_to_mask_clearance", false), - peg$c125 = "solder_mask_min_width", - peg$c126 = peg$literalExpectation("solder_mask_min_width", false), - peg$c127 = "pad_to_paste_clearance_ratio", - peg$c128 = peg$literalExpectation("pad_to_paste_clearance_ratio", false), - peg$c129 = "pad_to_paste_clearance", - peg$c130 = peg$literalExpectation("pad_to_paste_clearance", false), - peg$c131 = "max_error", - peg$c132 = peg$literalExpectation("max_error", false), - peg$c133 = "pad_drill", - peg$c134 = peg$literalExpectation("pad_drill", false), - peg$c135 = "visible_elements", - peg$c136 = peg$literalExpectation("visible_elements", false), - peg$c137 = function(type, value) { + peg$c86 = function(type, value) { return { type, value } }, + peg$c87 = "filled_areas_thickness", + peg$c88 = peg$literalExpectation("filled_areas_thickness", false), + peg$c89 = "blind_buried_vias_allowed", + peg$c90 = peg$literalExpectation("blind_buried_vias_allowed", false), + peg$c91 = "uvias_allowed", + peg$c92 = peg$literalExpectation("uvias_allowed", false), + peg$c93 = "zone_45_only", + peg$c94 = peg$literalExpectation("zone_45_only", false), + peg$c95 = "last_trace_width", + peg$c96 = peg$literalExpectation("last_trace_width", false), + peg$c97 = "user_trace_width", + peg$c98 = peg$literalExpectation("user_trace_width", false), + peg$c99 = "trace_clearance", + peg$c100 = peg$literalExpectation("trace_clearance", false), + peg$c101 = "zone_clearance", + peg$c102 = peg$literalExpectation("zone_clearance", false), + peg$c103 = "clearance_min", + peg$c104 = peg$literalExpectation("clearance_min", false), + peg$c105 = "trace_min", + peg$c106 = peg$literalExpectation("trace_min", false), + peg$c107 = "via_size", + peg$c108 = peg$literalExpectation("via_size", false), + peg$c109 = "via_drill", + peg$c110 = peg$literalExpectation("via_drill", false), + peg$c111 = "via_min_annulus", + peg$c112 = peg$literalExpectation("via_min_annulus", false), + peg$c113 = "via_min_size", + peg$c114 = peg$literalExpectation("via_min_size", false), + peg$c115 = "through_hole_min", + peg$c116 = peg$literalExpectation("through_hole_min", false), + peg$c117 = "via_min_drill", + peg$c118 = peg$literalExpectation("via_min_drill", false), + peg$c119 = "hole_to_hole_min", + peg$c120 = peg$literalExpectation("hole_to_hole_min", false), + peg$c121 = "uvia_size", + peg$c122 = peg$literalExpectation("uvia_size", false), + peg$c123 = "uvia_drill", + peg$c124 = peg$literalExpectation("uvia_drill", false), + peg$c125 = "uvia_min_size", + peg$c126 = peg$literalExpectation("uvia_min_size", false), + peg$c127 = "uvia_min_drill", + peg$c128 = peg$literalExpectation("uvia_min_drill", false), + peg$c129 = "segment_width", + peg$c130 = peg$literalExpectation("segment_width", false), + peg$c131 = "edge_width", + peg$c132 = peg$literalExpectation("edge_width", false), + peg$c133 = "mod_edge_width", + peg$c134 = peg$literalExpectation("mod_edge_width", false), + peg$c135 = "pcb_text_width", + peg$c136 = peg$literalExpectation("pcb_text_width", false), + peg$c137 = "mod_text_width", + peg$c138 = peg$literalExpectation("mod_text_width", false), + peg$c139 = "pad_to_mask_clearance", + peg$c140 = peg$literalExpectation("pad_to_mask_clearance", false), + peg$c141 = "solder_mask_min_width", + peg$c142 = peg$literalExpectation("solder_mask_min_width", false), + peg$c143 = "pad_to_paste_clearance_ratio", + peg$c144 = peg$literalExpectation("pad_to_paste_clearance_ratio", false), + peg$c145 = "pad_to_paste_clearance", + peg$c146 = peg$literalExpectation("pad_to_paste_clearance", false), + peg$c147 = "max_error", + peg$c148 = peg$literalExpectation("max_error", false), + peg$c149 = "pad_drill", + peg$c150 = peg$literalExpectation("pad_drill", false), + peg$c151 = "visible_elements", + peg$c152 = peg$literalExpectation("visible_elements", false), + peg$c153 = function(type, value) { return {type,value: value.map(x => x[0])} }, - peg$c138 = "user_via", - peg$c139 = peg$literalExpectation("user_via", false), - peg$c140 = "user_diff_pair", - peg$c141 = peg$literalExpectation("user_diff_pair", false), - peg$c142 = "pcb_text_size", - peg$c143 = peg$literalExpectation("pcb_text_size", false), - peg$c144 = "mod_text_size", - peg$c145 = peg$literalExpectation("mod_text_size", false), - peg$c146 = "pad_size", - peg$c147 = peg$literalExpectation("pad_size", false), - peg$c148 = "aux_axis_origin", - peg$c149 = peg$literalExpectation("aux_axis_origin", false), - peg$c150 = "grid_origin", - peg$c151 = peg$literalExpectation("grid_origin", false), - peg$c152 = "defaults", - peg$c153 = peg$literalExpectation("defaults", false), - peg$c154 = function(type, values) { + peg$c154 = "user_via", + peg$c155 = peg$literalExpectation("user_via", false), + peg$c156 = "user_diff_pair", + peg$c157 = peg$literalExpectation("user_diff_pair", false), + peg$c158 = "pcb_text_size", + peg$c159 = peg$literalExpectation("pcb_text_size", false), + peg$c160 = "mod_text_size", + peg$c161 = peg$literalExpectation("mod_text_size", false), + peg$c162 = "pad_size", + peg$c163 = peg$literalExpectation("pad_size", false), + peg$c164 = "aux_axis_origin", + peg$c165 = peg$literalExpectation("aux_axis_origin", false), + peg$c166 = "grid_origin", + peg$c167 = peg$literalExpectation("grid_origin", false), + peg$c168 = "defaults", + peg$c169 = peg$literalExpectation("defaults", false), + peg$c170 = function(type, values) { return {type, value:values.map(x => x[0])} }, - peg$c155 = "T_edge_clearance", - peg$c156 = peg$literalExpectation("T_edge_clearance", false), - peg$c157 = "T_copper_line_width", - peg$c158 = peg$literalExpectation("T_copper_line_width", false), - peg$c159 = "T_courtyard_line_width", - peg$c160 = peg$literalExpectation("T_courtyard_line_width", false), - peg$c161 = "T_edge_cuts_line_width", - peg$c162 = peg$literalExpectation("T_edge_cuts_line_width", false), - peg$c163 = "T_silk_line_width", - peg$c164 = peg$literalExpectation("T_silk_line_width", false), - peg$c165 = "T_fab_layers_line_width", - peg$c166 = peg$literalExpectation("T_fab_layers_line_width", false), - peg$c167 = "T_other_layers_line_width", - peg$c168 = peg$literalExpectation("T_other_layers_line_width", false), - peg$c169 = "dimension_units", - peg$c170 = peg$literalExpectation("dimension_units", false), - peg$c171 = "dimension_precision", - peg$c172 = peg$literalExpectation("dimension_precision", false), - peg$c173 = function(type, attrs) { + peg$c171 = "T_edge_clearance", + peg$c172 = peg$literalExpectation("T_edge_clearance", false), + peg$c173 = "T_copper_line_width", + peg$c174 = peg$literalExpectation("T_copper_line_width", false), + peg$c175 = "T_courtyard_line_width", + peg$c176 = peg$literalExpectation("T_courtyard_line_width", false), + peg$c177 = "T_edge_cuts_line_width", + peg$c178 = peg$literalExpectation("T_edge_cuts_line_width", false), + peg$c179 = "T_silk_line_width", + peg$c180 = peg$literalExpectation("T_silk_line_width", false), + peg$c181 = "T_fab_layers_line_width", + peg$c182 = peg$literalExpectation("T_fab_layers_line_width", false), + peg$c183 = "T_other_layers_line_width", + peg$c184 = peg$literalExpectation("T_other_layers_line_width", false), + peg$c185 = "dimension_units", + peg$c186 = peg$literalExpectation("dimension_units", false), + peg$c187 = "dimension_precision", + peg$c188 = peg$literalExpectation("dimension_precision", false), + peg$c189 = function(type, attrs) { return { type, value: attrs.map(x => x[0]) } }, - peg$c174 = "copper_text_dims", - peg$c175 = peg$literalExpectation("copper_text_dims", false), - peg$c176 = "silk_text_dims", - peg$c177 = peg$literalExpectation("silk_text_dims", false), - peg$c178 = "fab_layers_text_dims", - peg$c179 = peg$literalExpectation("fab_layers_text_dims", false), - peg$c180 = "other_layers_text_dims", - peg$c181 = peg$literalExpectation("other_layers_text_dims", false), - peg$c182 = "pcbplotparams", - peg$c183 = peg$literalExpectation("pcbplotparams", false), - peg$c184 = "layerselection", - peg$c185 = peg$literalExpectation("layerselection", false), - peg$c186 = function(type, value) { + peg$c190 = "copper_text_dims", + peg$c191 = peg$literalExpectation("copper_text_dims", false), + peg$c192 = "silk_text_dims", + peg$c193 = peg$literalExpectation("silk_text_dims", false), + peg$c194 = "fab_layers_text_dims", + peg$c195 = peg$literalExpectation("fab_layers_text_dims", false), + peg$c196 = "other_layers_text_dims", + peg$c197 = peg$literalExpectation("other_layers_text_dims", false), + peg$c198 = "pcbplotparams", + peg$c199 = peg$literalExpectation("pcbplotparams", false), + peg$c200 = "layerselection", + peg$c201 = peg$literalExpectation("layerselection", false), + peg$c202 = function(type, value) { return { type, value } }, - peg$c187 = "outputdirectory", - peg$c188 = peg$literalExpectation("outputdirectory", false), - peg$c189 = "linewidth", - peg$c190 = peg$literalExpectation("linewidth", false), - peg$c191 = "mode", - peg$c192 = peg$literalExpectation("mode", false), - peg$c193 = "hpglpennumber", - peg$c194 = peg$literalExpectation("hpglpennumber", false), - peg$c195 = "hpglpenspeed", - peg$c196 = peg$literalExpectation("hpglpenspeed", false), - peg$c197 = "hpglpendiameter", - peg$c198 = peg$literalExpectation("hpglpendiameter", false), - peg$c199 = "hpglpenoverlay", - peg$c200 = peg$literalExpectation("hpglpenoverlay", false), - peg$c201 = "outputformat", - peg$c202 = peg$literalExpectation("outputformat", false), - peg$c203 = "drillshape", - peg$c204 = peg$literalExpectation("drillshape", false), - peg$c205 = "scaleselection", - peg$c206 = peg$literalExpectation("scaleselection", false), - peg$c207 = "disableapertmacros", - peg$c208 = peg$literalExpectation("disableapertmacros", false), - peg$c209 = "usegerberextensions", - peg$c210 = peg$literalExpectation("usegerberextensions", false), - peg$c211 = "usegerberattributes", - peg$c212 = peg$literalExpectation("usegerberattributes", false), - peg$c213 = "usegerberadvancedattributes", - peg$c214 = peg$literalExpectation("usegerberadvancedattributes", false), - peg$c215 = "creategerberjobfile", - peg$c216 = peg$literalExpectation("creategerberjobfile", false), - peg$c217 = "svguseinch", - peg$c218 = peg$literalExpectation("svguseinch", false), - peg$c219 = "svgprecision", - peg$c220 = peg$literalExpectation("svgprecision", false), - peg$c221 = "excludeedgelayer", - peg$c222 = peg$literalExpectation("excludeedgelayer", false), - peg$c223 = "plotframeref", - peg$c224 = peg$literalExpectation("plotframeref", false), - peg$c225 = "viasonmask", - peg$c226 = peg$literalExpectation("viasonmask", false), - peg$c227 = "useauxorigin", - peg$c228 = peg$literalExpectation("useauxorigin", false), - peg$c229 = "dxfpolygonmode", - peg$c230 = peg$literalExpectation("dxfpolygonmode", false), - peg$c231 = "dxfimperialunits", - peg$c232 = peg$literalExpectation("dxfimperialunits", false), - peg$c233 = "dxfusepcbnewfont", - peg$c234 = peg$literalExpectation("dxfusepcbnewfont", false), - peg$c235 = "psnegative", - peg$c236 = peg$literalExpectation("psnegative", false), - peg$c237 = "psa4output", - peg$c238 = peg$literalExpectation("psa4output", false), - peg$c239 = "plotreference", - peg$c240 = peg$literalExpectation("plotreference", false), - peg$c241 = "plotvalue", - peg$c242 = peg$literalExpectation("plotvalue", false), - peg$c243 = "plotinvisibletext", - peg$c244 = peg$literalExpectation("plotinvisibletext", false), - peg$c245 = "plotothertext", - peg$c246 = peg$literalExpectation("plotothertext", false), - peg$c247 = "sketchpadsonfab", - peg$c248 = peg$literalExpectation("sketchpadsonfab", false), - peg$c249 = "padsonsilk", - peg$c250 = peg$literalExpectation("padsonsilk", false), - peg$c251 = "subtractmaskfromsilk", - peg$c252 = peg$literalExpectation("subtractmaskfromsilk", false), - peg$c253 = "mirror", - peg$c254 = peg$literalExpectation("mirror", false), - peg$c255 = "true", - peg$c256 = peg$literalExpectation("true", false), - peg$c257 = "false", - peg$c258 = peg$literalExpectation("false", false), - peg$c259 = function(value) { return { type: "boolean", value: value === "true" } }, - peg$c260 = "stackup", - peg$c261 = peg$literalExpectation("stackup", false), - peg$c262 = function(type) { + peg$c203 = "outputdirectory", + peg$c204 = peg$literalExpectation("outputdirectory", false), + peg$c205 = "linewidth", + peg$c206 = peg$literalExpectation("linewidth", false), + peg$c207 = "mode", + peg$c208 = peg$literalExpectation("mode", false), + peg$c209 = "hpglpennumber", + peg$c210 = peg$literalExpectation("hpglpennumber", false), + peg$c211 = "hpglpenspeed", + peg$c212 = peg$literalExpectation("hpglpenspeed", false), + peg$c213 = "hpglpendiameter", + peg$c214 = peg$literalExpectation("hpglpendiameter", false), + peg$c215 = "hpglpenoverlay", + peg$c216 = peg$literalExpectation("hpglpenoverlay", false), + peg$c217 = "outputformat", + peg$c218 = peg$literalExpectation("outputformat", false), + peg$c219 = "drillshape", + peg$c220 = peg$literalExpectation("drillshape", false), + peg$c221 = "scaleselection", + peg$c222 = peg$literalExpectation("scaleselection", false), + peg$c223 = "disableapertmacros", + peg$c224 = peg$literalExpectation("disableapertmacros", false), + peg$c225 = "usegerberextensions", + peg$c226 = peg$literalExpectation("usegerberextensions", false), + peg$c227 = "usegerberattributes", + peg$c228 = peg$literalExpectation("usegerberattributes", false), + peg$c229 = "usegerberadvancedattributes", + peg$c230 = peg$literalExpectation("usegerberadvancedattributes", false), + peg$c231 = "creategerberjobfile", + peg$c232 = peg$literalExpectation("creategerberjobfile", false), + peg$c233 = "svguseinch", + peg$c234 = peg$literalExpectation("svguseinch", false), + peg$c235 = "svgprecision", + peg$c236 = peg$literalExpectation("svgprecision", false), + peg$c237 = "excludeedgelayer", + peg$c238 = peg$literalExpectation("excludeedgelayer", false), + peg$c239 = "plotframeref", + peg$c240 = peg$literalExpectation("plotframeref", false), + peg$c241 = "viasonmask", + peg$c242 = peg$literalExpectation("viasonmask", false), + peg$c243 = "useauxorigin", + peg$c244 = peg$literalExpectation("useauxorigin", false), + peg$c245 = "dxfpolygonmode", + peg$c246 = peg$literalExpectation("dxfpolygonmode", false), + peg$c247 = "dxfimperialunits", + peg$c248 = peg$literalExpectation("dxfimperialunits", false), + peg$c249 = "dxfusepcbnewfont", + peg$c250 = peg$literalExpectation("dxfusepcbnewfont", false), + peg$c251 = "psnegative", + peg$c252 = peg$literalExpectation("psnegative", false), + peg$c253 = "psa4output", + peg$c254 = peg$literalExpectation("psa4output", false), + peg$c255 = "plotreference", + peg$c256 = peg$literalExpectation("plotreference", false), + peg$c257 = "plotvalue", + peg$c258 = peg$literalExpectation("plotvalue", false), + peg$c259 = "plotinvisibletext", + peg$c260 = peg$literalExpectation("plotinvisibletext", false), + peg$c261 = "plotothertext", + peg$c262 = peg$literalExpectation("plotothertext", false), + peg$c263 = "sketchpadsonfab", + peg$c264 = peg$literalExpectation("sketchpadsonfab", false), + peg$c265 = "padsonsilk", + peg$c266 = peg$literalExpectation("padsonsilk", false), + peg$c267 = "subtractmaskfromsilk", + peg$c268 = peg$literalExpectation("subtractmaskfromsilk", false), + peg$c269 = "mirror", + peg$c270 = peg$literalExpectation("mirror", false), + peg$c271 = "true", + peg$c272 = peg$literalExpectation("true", false), + peg$c273 = "false", + peg$c274 = peg$literalExpectation("false", false), + peg$c275 = function(value) { return { type: "boolean", value: value === "true" } }, + peg$c276 = "stackup", + peg$c277 = peg$literalExpectation("stackup", false), + peg$c278 = function(type) { // console.log(`Warning: unsupported setup section ${type}`) return {type,value: { type: "string", value: "unsupported" } } }, - peg$c263 = "net", - peg$c264 = peg$literalExpectation("net", false), - peg$c265 = function(type, net_number, v) {return v}, - peg$c266 = function(type, net_number, name) { + peg$c279 = "net", + peg$c280 = peg$literalExpectation("net", false), + peg$c281 = function(type, net_number, v) {return v}, + peg$c282 = function(type, net_number, name) { var value = [ { type: "net_number", value: { type: "string", value: net_number } } ] @@ -449,10 +469,10 @@ function peg$parse(input, options) { value.push({ type: "name", value:name }) return {type, value } }, - peg$c267 = "net_class", - peg$c268 = peg$literalExpectation("net_class", false), - peg$c269 = function(type, name, description, opt) { return opt }, - peg$c270 = function(type, name, description, options) { + peg$c283 = "net_class", + peg$c284 = peg$literalExpectation("net_class", false), + peg$c285 = function(type, name, description, opt) { return opt }, + peg$c286 = function(type, name, description, options) { return {type, value: [ { type: "name", value: name}, @@ -460,23 +480,23 @@ function peg$parse(input, options) { ...options ] } }, - peg$c271 = "add_net", - peg$c272 = peg$literalExpectation("add_net", false), - peg$c273 = "clearance", - peg$c274 = peg$literalExpectation("clearance", false), - peg$c275 = "trace_width", - peg$c276 = peg$literalExpectation("trace_width", false), - peg$c277 = "via_dia", - peg$c278 = peg$literalExpectation("via_dia", false), - peg$c279 = "uvia_dia", - peg$c280 = peg$literalExpectation("uvia_dia", false), - peg$c281 = "diff_pair_width", - peg$c282 = peg$literalExpectation("diff_pair_width", false), - peg$c283 = "diff_pair_gap", - peg$c284 = peg$literalExpectation("diff_pair_gap", false), - peg$c285 = "dimension", - peg$c286 = peg$literalExpectation("dimension", false), - peg$c287 = function(type, dimension, width, options) { + peg$c287 = "add_net", + peg$c288 = peg$literalExpectation("add_net", false), + peg$c289 = "clearance", + peg$c290 = peg$literalExpectation("clearance", false), + peg$c291 = "trace_width", + peg$c292 = peg$literalExpectation("trace_width", false), + peg$c293 = "via_dia", + peg$c294 = peg$literalExpectation("via_dia", false), + peg$c295 = "uvia_dia", + peg$c296 = peg$literalExpectation("uvia_dia", false), + peg$c297 = "diff_pair_width", + peg$c298 = peg$literalExpectation("diff_pair_width", false), + peg$c299 = "diff_pair_gap", + peg$c300 = peg$literalExpectation("diff_pair_gap", false), + peg$c301 = "dimension", + peg$c302 = peg$literalExpectation("dimension", false), + peg$c303 = function(type, dimension, width, options) { return { type , value: [ @@ -486,97 +506,97 @@ function peg$parse(input, options) { ], } }, - peg$c288 = function(type, value) { return { type, value:[value] } }, - peg$c289 = "feature1", - peg$c290 = peg$literalExpectation("feature1", false), - peg$c291 = "feature2", - peg$c292 = peg$literalExpectation("feature2", false), - peg$c293 = "crossbar", - peg$c294 = peg$literalExpectation("crossbar", false), - peg$c295 = "arrow1a", - peg$c296 = peg$literalExpectation("arrow1a", false), - peg$c297 = "arrow1b", - peg$c298 = peg$literalExpectation("arrow1b", false), - peg$c299 = "arrow2a", - peg$c300 = peg$literalExpectation("arrow2a", false), - peg$c301 = "arrow2b", - peg$c302 = peg$literalExpectation("arrow2b", false), - peg$c303 = "segment", - peg$c304 = peg$literalExpectation("segment", false), - peg$c305 = function(type, v) { return v }, - peg$c306 = function(type, value) { + peg$c304 = function(type, value) { return { type, value:[value] } }, + peg$c305 = "feature1", + peg$c306 = peg$literalExpectation("feature1", false), + peg$c307 = "feature2", + peg$c308 = peg$literalExpectation("feature2", false), + peg$c309 = "crossbar", + peg$c310 = peg$literalExpectation("crossbar", false), + peg$c311 = "arrow1a", + peg$c312 = peg$literalExpectation("arrow1a", false), + peg$c313 = "arrow1b", + peg$c314 = peg$literalExpectation("arrow1b", false), + peg$c315 = "arrow2a", + peg$c316 = peg$literalExpectation("arrow2a", false), + peg$c317 = "arrow2b", + peg$c318 = peg$literalExpectation("arrow2b", false), + peg$c319 = "segment", + peg$c320 = peg$literalExpectation("segment", false), + peg$c321 = function(type, v) { return v }, + peg$c322 = function(type, value) { return { type, value } }, - peg$c307 = "arc", - peg$c308 = peg$literalExpectation("arc", false), - peg$c309 = function(type, value) { + peg$c323 = "arc", + peg$c324 = peg$literalExpectation("arc", false), + peg$c325 = function(type, value) { return {type, value } }, - peg$c310 = "target", - peg$c311 = peg$literalExpectation("target", false), - peg$c312 = function(type, value) { + peg$c326 = "target", + peg$c327 = peg$literalExpectation("target", false), + peg$c328 = function(type, value) { return {type, value: value.map(x => x[0])} }, - peg$c313 = "x", - peg$c314 = peg$literalExpectation("x", false), - peg$c315 = "plus", - peg$c316 = peg$literalExpectation("plus", false), - peg$c317 = function(value) { + peg$c329 = "x", + peg$c330 = peg$literalExpectation("x", false), + peg$c331 = "plus", + peg$c332 = peg$literalExpectation("plus", false), + peg$c333 = function(value) { return {type:"shape",value: { type: "string", value: value} } }, - peg$c318 = "via", - peg$c319 = peg$literalExpectation("via", false), - peg$c320 = function(type, value) { + peg$c334 = "via", + peg$c335 = peg$literalExpectation("via", false), + peg$c336 = function(type, value) { return { type, value: value.map(x => x[0])} }, - peg$c321 = "blind", - peg$c322 = peg$literalExpectation("blind", false), - peg$c323 = "micro", - peg$c324 = peg$literalExpectation("micro", false), - peg$c325 = function(type) { + peg$c337 = "blind", + peg$c338 = peg$literalExpectation("blind", false), + peg$c339 = "micro", + peg$c340 = peg$literalExpectation("micro", false), + peg$c341 = function(type) { return { type, value: { type: "boolean", value: true } } }, - peg$c326 = "zone", - peg$c327 = peg$literalExpectation("zone", false), - peg$c328 = "drill", - peg$c329 = peg$literalExpectation("drill", false), - peg$c330 = function(type, value) { + peg$c342 = "zone", + peg$c343 = peg$literalExpectation("zone", false), + peg$c344 = "drill", + peg$c345 = peg$literalExpectation("drill", false), + peg$c346 = function(type, value) { return { type, value } }, - peg$c331 = "polygon", - peg$c332 = peg$literalExpectation("polygon", false), - peg$c333 = "filled_polygon", - peg$c334 = peg$literalExpectation("filled_polygon", false), - peg$c335 = function(type, value) { + peg$c347 = "polygon", + peg$c348 = peg$literalExpectation("polygon", false), + peg$c349 = "filled_polygon", + peg$c350 = peg$literalExpectation("filled_polygon", false), + peg$c351 = function(type, value) { return { type, value: [ value ] } }, - peg$c336 = "fill_segments", - peg$c337 = peg$literalExpectation("fill_segments", false), - peg$c338 = function(type, pts) {return pts}, - peg$c339 = function(type, value) { + peg$c352 = "fill_segments", + peg$c353 = peg$literalExpectation("fill_segments", false), + peg$c354 = function(type, pts) {return pts}, + peg$c355 = function(type, value) { return { type, value } }, - peg$c340 = "net_name", - peg$c341 = peg$literalExpectation("net_name", false), - peg$c342 = "priority", - peg$c343 = peg$literalExpectation("priority", false), - peg$c344 = "min_thickness", - peg$c345 = peg$literalExpectation("min_thickness", false), - peg$c346 = function(type, value) { + peg$c356 = "net_name", + peg$c357 = peg$literalExpectation("net_name", false), + peg$c358 = "priority", + peg$c359 = peg$literalExpectation("priority", false), + peg$c360 = "min_thickness", + peg$c361 = peg$literalExpectation("min_thickness", false), + peg$c362 = function(type, value) { return { type, value } }, - peg$c347 = "hatch", - peg$c348 = peg$literalExpectation("hatch", false), - peg$c349 = "none", - peg$c350 = peg$literalExpectation("none", false), - peg$c351 = "edge", - peg$c352 = peg$literalExpectation("edge", false), - peg$c353 = "full", - peg$c354 = peg$literalExpectation("full", false), - peg$c355 = function(type, style, pitch) { + peg$c363 = "hatch", + peg$c364 = peg$literalExpectation("hatch", false), + peg$c365 = "none", + peg$c366 = peg$literalExpectation("none", false), + peg$c367 = "edge", + peg$c368 = peg$literalExpectation("edge", false), + peg$c369 = "full", + peg$c370 = peg$literalExpectation("full", false), + peg$c371 = function(type, style, pitch) { return { type, value: [ @@ -584,11 +604,11 @@ function peg$parse(input, options) { { type: "pitch", value: pitch }, ] } }, - peg$c356 = "fill", - peg$c357 = peg$literalExpectation("fill", false), - peg$c358 = "yes", - peg$c359 = peg$literalExpectation("yes", false), - peg$c360 = function(type, filled, value) { + peg$c372 = "fill", + peg$c373 = peg$literalExpectation("fill", false), + peg$c374 = "yes", + peg$c375 = peg$literalExpectation("yes", false), + peg$c376 = function(type, filled, value) { value = value.map(x => x[0]) if(filled) value.push({ type:"filled", value: { type: "boolean", value: true } }) @@ -596,63 +616,63 @@ function peg$parse(input, options) { value.push({ type:"filled", value: { type: "boolean", value: false }}) return {type, value} }, - peg$c361 = function(type, value) { + peg$c377 = function(type, value) { return { type, value: { type: "string", value } } }, - peg$c362 = "smoothing", - peg$c363 = peg$literalExpectation("smoothing", false), - peg$c364 = "chamfer", - peg$c365 = peg$literalExpectation("chamfer", false), - peg$c366 = "fillet", - peg$c367 = peg$literalExpectation("fillet", false), - peg$c368 = function(type, value) { + peg$c378 = "smoothing", + peg$c379 = peg$literalExpectation("smoothing", false), + peg$c380 = "chamfer", + peg$c381 = peg$literalExpectation("chamfer", false), + peg$c382 = "fillet", + peg$c383 = peg$literalExpectation("fillet", false), + peg$c384 = function(type, value) { return { type, value: { type: "string", value } } }, - peg$c369 = "hatch_thickness", - peg$c370 = peg$literalExpectation("hatch_thickness", false), - peg$c371 = "hatch_gap", - peg$c372 = peg$literalExpectation("hatch_gap", false), - peg$c373 = "hatch_orientation", - peg$c374 = peg$literalExpectation("hatch_orientation", false), - peg$c375 = "hatch_smoothing_level", - peg$c376 = peg$literalExpectation("hatch_smoothing_level", false), - peg$c377 = "hatch_smoothing_value", - peg$c378 = peg$literalExpectation("hatch_smoothing_value", false), - peg$c379 = "arc_segments", - peg$c380 = peg$literalExpectation("arc_segments", false), - peg$c381 = "thermal_gap", - peg$c382 = peg$literalExpectation("thermal_gap", false), - peg$c383 = "thermal_bridge_width", - peg$c384 = peg$literalExpectation("thermal_bridge_width", false), - peg$c385 = "radius", - peg$c386 = peg$literalExpectation("radius", false), - peg$c387 = "keepout", - peg$c388 = peg$literalExpectation("keepout", false), - peg$c389 = "vias", - peg$c390 = peg$literalExpectation("vias", false), - peg$c391 = "copperpour", - peg$c392 = peg$literalExpectation("copperpour", false), - peg$c393 = "pads", - peg$c394 = peg$literalExpectation("pads", false), - peg$c395 = "footprints", - peg$c396 = peg$literalExpectation("footprints", false), - peg$c397 = "allowed", - peg$c398 = peg$literalExpectation("allowed", false), - peg$c399 = "not_allowed", - peg$c400 = peg$literalExpectation("not_allowed", false), - peg$c401 = function(type, t, v) { return { type: t, value: { type: "string", value: v } } }, - peg$c402 = function(type, value) { + peg$c385 = "hatch_thickness", + peg$c386 = peg$literalExpectation("hatch_thickness", false), + peg$c387 = "hatch_gap", + peg$c388 = peg$literalExpectation("hatch_gap", false), + peg$c389 = "hatch_orientation", + peg$c390 = peg$literalExpectation("hatch_orientation", false), + peg$c391 = "hatch_smoothing_level", + peg$c392 = peg$literalExpectation("hatch_smoothing_level", false), + peg$c393 = "hatch_smoothing_value", + peg$c394 = peg$literalExpectation("hatch_smoothing_value", false), + peg$c395 = "arc_segments", + peg$c396 = peg$literalExpectation("arc_segments", false), + peg$c397 = "thermal_gap", + peg$c398 = peg$literalExpectation("thermal_gap", false), + peg$c399 = "thermal_bridge_width", + peg$c400 = peg$literalExpectation("thermal_bridge_width", false), + peg$c401 = "radius", + peg$c402 = peg$literalExpectation("radius", false), + peg$c403 = "keepout", + peg$c404 = peg$literalExpectation("keepout", false), + peg$c405 = "vias", + peg$c406 = peg$literalExpectation("vias", false), + peg$c407 = "copperpour", + peg$c408 = peg$literalExpectation("copperpour", false), + peg$c409 = "pads", + peg$c410 = peg$literalExpectation("pads", false), + peg$c411 = "footprints", + peg$c412 = peg$literalExpectation("footprints", false), + peg$c413 = "allowed", + peg$c414 = peg$literalExpectation("allowed", false), + peg$c415 = "not_allowed", + peg$c416 = peg$literalExpectation("not_allowed", false), + peg$c417 = function(type, t, v) { return { type: t, value: { type: "string", value: v } } }, + peg$c418 = function(type, value) { return { type, value } }, - peg$c403 = "connect_pads", - peg$c404 = peg$literalExpectation("connect_pads", false), - peg$c405 = "no", - peg$c406 = peg$literalExpectation("no", false), - peg$c407 = "thru_hole_only", - peg$c408 = peg$literalExpectation("thru_hole_only", false), - peg$c409 = function(type, v) { return { type: "string", value: v } }, - peg$c410 = function(type, connection, c) { return c }, - peg$c411 = function(type, connection, clearance) { + peg$c419 = "connect_pads", + peg$c420 = peg$literalExpectation("connect_pads", false), + peg$c421 = "no", + peg$c422 = peg$literalExpectation("no", false), + peg$c423 = "thru_hole_only", + peg$c424 = peg$literalExpectation("thru_hole_only", false), + peg$c425 = function(type, v) { return { type: "string", value: v } }, + peg$c426 = function(type, connection, c) { return c }, + peg$c427 = function(type, connection, clearance) { var value = [] if(connection) value.push({ type: "connection", value: connection }) @@ -660,22 +680,22 @@ function peg$parse(input, options) { value.push({ type: "clearance", value: clearance }) return { type, value } }, - peg$c412 = function(version) { + peg$c428 = function(version) { var out = [] if(version) out.push(version[0]) return out }, - peg$c413 = "version", - peg$c414 = peg$literalExpectation("version", false), - peg$c415 = function(type, value) { + peg$c429 = "version", + peg$c430 = peg$literalExpectation("version", false), + peg$c431 = function(type, value) { return { type, value: { type:"number", value } } }, - peg$c416 = "footprint", - peg$c417 = peg$literalExpectation("footprint", false), - peg$c418 = "module", - peg$c419 = peg$literalExpectation("module", false), - peg$c420 = function(type, value, contents) { + peg$c432 = "footprint", + peg$c433 = peg$literalExpectation("footprint", false), + peg$c434 = "module", + peg$c435 = peg$literalExpectation("module", false), + peg$c436 = function(type, value, contents) { return { type: "module", value: [ @@ -684,147 +704,147 @@ function peg$parse(input, options) { ] } }, - peg$c421 = function(type, value) { return { type, value }}, - peg$c422 = "locked", - peg$c423 = peg$literalExpectation("locked", false), - peg$c424 = function() { return { type: "locked", value: { type: "boolean", value: true } }}, - peg$c425 = "placed", - peg$c426 = peg$literalExpectation("placed", false), - peg$c427 = function() { return { type: "placed", value: { type: "boolean", value: true }}}, - peg$c428 = "layer", - peg$c429 = peg$literalExpectation("layer", false), - peg$c430 = "B.Adhes", - peg$c431 = peg$literalExpectation("B.Adhes", false), - peg$c432 = "F.Adhes", - peg$c433 = peg$literalExpectation("F.Adhes", false), - peg$c434 = "B.Paste", - peg$c435 = peg$literalExpectation("B.Paste", false), - peg$c436 = "F.Paste", - peg$c437 = peg$literalExpectation("F.Paste", false), - peg$c438 = "B.SilkS", - peg$c439 = peg$literalExpectation("B.SilkS", false), - peg$c440 = "F.SilkS", - peg$c441 = peg$literalExpectation("F.SilkS", false), - peg$c442 = "B.Mask", - peg$c443 = peg$literalExpectation("B.Mask", false), - peg$c444 = "F.Mask", - peg$c445 = peg$literalExpectation("F.Mask", false), - peg$c446 = "B.Fab", - peg$c447 = peg$literalExpectation("B.Fab", false), - peg$c448 = "F.Fab", - peg$c449 = peg$literalExpectation("F.Fab", false), - peg$c450 = "B.CrtYd", - peg$c451 = peg$literalExpectation("B.CrtYd", false), - peg$c452 = "F.CrtYd", - peg$c453 = peg$literalExpectation("F.CrtYd", false), - peg$c454 = "Dwgs.User", - peg$c455 = peg$literalExpectation("Dwgs.User", false), - peg$c456 = "Cmts.User", - peg$c457 = peg$literalExpectation("Cmts.User", false), - peg$c458 = "Eco1.User", - peg$c459 = peg$literalExpectation("Eco1.User", false), - peg$c460 = "Eco2.User", - peg$c461 = peg$literalExpectation("Eco2.User", false), - peg$c462 = "Edge.Cuts", - peg$c463 = peg$literalExpectation("Edge.Cuts", false), - peg$c464 = function(value) { + peg$c437 = function(type, value) { return { type, value }}, + peg$c438 = "locked", + peg$c439 = peg$literalExpectation("locked", false), + peg$c440 = function() { return { type: "locked", value: { type: "boolean", value: true } }}, + peg$c441 = "placed", + peg$c442 = peg$literalExpectation("placed", false), + peg$c443 = function() { return { type: "placed", value: { type: "boolean", value: true }}}, + peg$c444 = "layer", + peg$c445 = peg$literalExpectation("layer", false), + peg$c446 = "B.Adhes", + peg$c447 = peg$literalExpectation("B.Adhes", false), + peg$c448 = "F.Adhes", + peg$c449 = peg$literalExpectation("F.Adhes", false), + peg$c450 = "B.Paste", + peg$c451 = peg$literalExpectation("B.Paste", false), + peg$c452 = "F.Paste", + peg$c453 = peg$literalExpectation("F.Paste", false), + peg$c454 = "B.SilkS", + peg$c455 = peg$literalExpectation("B.SilkS", false), + peg$c456 = "F.SilkS", + peg$c457 = peg$literalExpectation("F.SilkS", false), + peg$c458 = "B.Mask", + peg$c459 = peg$literalExpectation("B.Mask", false), + peg$c460 = "F.Mask", + peg$c461 = peg$literalExpectation("F.Mask", false), + peg$c462 = "B.Fab", + peg$c463 = peg$literalExpectation("B.Fab", false), + peg$c464 = "F.Fab", + peg$c465 = peg$literalExpectation("F.Fab", false), + peg$c466 = "B.CrtYd", + peg$c467 = peg$literalExpectation("B.CrtYd", false), + peg$c468 = "F.CrtYd", + peg$c469 = peg$literalExpectation("F.CrtYd", false), + peg$c470 = "Dwgs.User", + peg$c471 = peg$literalExpectation("Dwgs.User", false), + peg$c472 = "Cmts.User", + peg$c473 = peg$literalExpectation("Cmts.User", false), + peg$c474 = "Eco1.User", + peg$c475 = peg$literalExpectation("Eco1.User", false), + peg$c476 = "Eco2.User", + peg$c477 = peg$literalExpectation("Eco2.User", false), + peg$c478 = "Edge.Cuts", + peg$c479 = peg$literalExpectation("Edge.Cuts", false), + peg$c480 = function(value) { return { type: "string", value } }, - peg$c465 = "tedit", - peg$c466 = peg$literalExpectation("tedit", false), - peg$c467 = function(tedit) { return { type:"tedit", value:tedit } }, - peg$c468 = "tstamp", - peg$c469 = peg$literalExpectation("tstamp", false), - peg$c470 = function(tstamp) { // TODO: (string/symbol) is probably wrong + peg$c481 = "tedit", + peg$c482 = peg$literalExpectation("tedit", false), + peg$c483 = function(tedit) { return { type:"tedit", value:tedit } }, + peg$c484 = "tstamp", + peg$c485 = peg$literalExpectation("tstamp", false), + peg$c486 = function(tstamp) { // TODO: (string/symbol) is probably wrong return { type:"tstamp", value:tstamp } }, - peg$c471 = "effects", - peg$c472 = peg$literalExpectation("effects", false), - peg$c473 = function(type, effects) { + peg$c487 = "effects", + peg$c488 = peg$literalExpectation("effects", false), + peg$c489 = function(type, effects) { return { type, value: effects.map(x => x[0]) } }, - peg$c474 = "font", - peg$c475 = peg$literalExpectation("font", false), - peg$c476 = function(type, attrs) { + peg$c490 = "font", + peg$c491 = peg$literalExpectation("font", false), + peg$c492 = function(type, attrs) { return { type, value: attrs.map(x => x[0]) } }, - peg$c477 = "bold", - peg$c478 = peg$literalExpectation("bold", false), - peg$c479 = function(type) { return { type, value: { type: "boolean", value: true } }}, - peg$c480 = "italic", - peg$c481 = peg$literalExpectation("italic", false), - peg$c482 = "justify", - peg$c483 = peg$literalExpectation("justify", false), - peg$c484 = function(type, justify) { + peg$c493 = "bold", + peg$c494 = peg$literalExpectation("bold", false), + peg$c495 = function(type) { return { type, value: { type: "boolean", value: true } }}, + peg$c496 = "italic", + peg$c497 = peg$literalExpectation("italic", false), + peg$c498 = "justify", + peg$c499 = peg$literalExpectation("justify", false), + peg$c500 = function(type, justify) { return { type, value: justify.map(x => x[0]) } }, - peg$c485 = "left", - peg$c486 = peg$literalExpectation("left", false), - peg$c487 = "right", - peg$c488 = peg$literalExpectation("right", false), - peg$c489 = "top", - peg$c490 = peg$literalExpectation("top", false), - peg$c491 = "bottom", - peg$c492 = peg$literalExpectation("bottom", false), - peg$c493 = function(value) { + peg$c501 = "left", + peg$c502 = peg$literalExpectation("left", false), + peg$c503 = "right", + peg$c504 = peg$literalExpectation("right", false), + peg$c505 = "top", + peg$c506 = peg$literalExpectation("top", false), + peg$c507 = "bottom", + peg$c508 = peg$literalExpectation("bottom", false), + peg$c509 = function(value) { return {type:"string",value} }, - peg$c494 = function(type) { return { type, value:{ type: "boolean", value: true } }}, - peg$c495 = "descr", - peg$c496 = peg$literalExpectation("descr", false), - peg$c497 = function(type, value) { + peg$c510 = function(type) { return { type, value:{ type: "boolean", value: true } }}, + peg$c511 = "descr", + peg$c512 = peg$literalExpectation("descr", false), + peg$c513 = function(type, value) { return { type, value } // TODO: symbols is probably wrong }, - peg$c498 = "tags", - peg$c499 = peg$literalExpectation("tags", false), - peg$c500 = function(type, value) { + peg$c514 = "tags", + peg$c515 = peg$literalExpectation("tags", false), + peg$c516 = function(type, value) { return { type, value } }, - peg$c501 = "path", - peg$c502 = peg$literalExpectation("path", false), - peg$c503 = "solder_paste_margin_ratio", - peg$c504 = peg$literalExpectation("solder_paste_margin_ratio", false), - peg$c505 = "solder_mask_margin", - peg$c506 = peg$literalExpectation("solder_mask_margin", false), - peg$c507 = "solder_paste_margin", - peg$c508 = peg$literalExpectation("solder_paste_margin", false), - peg$c509 = "solder_paste_ratio", - peg$c510 = peg$literalExpectation("solder_paste_ratio", false), - peg$c511 = "thermal_width", - peg$c512 = peg$literalExpectation("thermal_width", false), - peg$c513 = "zone_connect", - peg$c514 = peg$literalExpectation("zone_connect", false), - peg$c515 = "autoplace_cost90", - peg$c516 = peg$literalExpectation("autoplace_cost90", false), - peg$c517 = "autoplace_cost180", - peg$c518 = peg$literalExpectation("autoplace_cost180", false), - peg$c519 = "attr", - peg$c520 = peg$literalExpectation("attr", false), - peg$c521 = "smd", - peg$c522 = peg$literalExpectation("smd", false), - peg$c523 = "virtual", - peg$c524 = peg$literalExpectation("virtual", false), - peg$c525 = function(value, tag) {return tag}, - peg$c526 = function(value, tags) { + peg$c517 = "path", + peg$c518 = peg$literalExpectation("path", false), + peg$c519 = "solder_paste_margin_ratio", + peg$c520 = peg$literalExpectation("solder_paste_margin_ratio", false), + peg$c521 = "solder_mask_margin", + peg$c522 = peg$literalExpectation("solder_mask_margin", false), + peg$c523 = "solder_paste_margin", + peg$c524 = peg$literalExpectation("solder_paste_margin", false), + peg$c525 = "solder_paste_ratio", + peg$c526 = peg$literalExpectation("solder_paste_ratio", false), + peg$c527 = "thermal_width", + peg$c528 = peg$literalExpectation("thermal_width", false), + peg$c529 = "zone_connect", + peg$c530 = peg$literalExpectation("zone_connect", false), + peg$c531 = "autoplace_cost90", + peg$c532 = peg$literalExpectation("autoplace_cost90", false), + peg$c533 = "autoplace_cost180", + peg$c534 = peg$literalExpectation("autoplace_cost180", false), + peg$c535 = "attr", + peg$c536 = peg$literalExpectation("attr", false), + peg$c537 = "smd", + peg$c538 = peg$literalExpectation("smd", false), + peg$c539 = "virtual", + peg$c540 = peg$literalExpectation("virtual", false), + peg$c541 = function(value, tag) {return tag}, + peg$c542 = function(value, tags) { return { type: "module_attribute", value: {type:"string",value}, tags } }, - peg$c527 = "fp_text", - peg$c528 = peg$literalExpectation("fp_text", false), - peg$c529 = "reference", - peg$c530 = peg$literalExpectation("reference", false), - peg$c531 = "value", - peg$c532 = peg$literalExpectation("value", false), - peg$c533 = function(type, text_type, value, at, attrs) { + peg$c543 = "fp_text", + peg$c544 = peg$literalExpectation("fp_text", false), + peg$c545 = "reference", + peg$c546 = peg$literalExpectation("reference", false), + peg$c547 = "value", + peg$c548 = peg$literalExpectation("value", false), + peg$c549 = function(type, text_type, value, at, attrs) { return { type, value: [ @@ -841,9 +861,9 @@ function peg$parse(input, options) { ] } }, - peg$c534 = "fp_arc", - peg$c535 = peg$literalExpectation("fp_arc", false), - peg$c536 = function(type, center, end, angle, generics) { + peg$c550 = "fp_arc", + peg$c551 = peg$literalExpectation("fp_arc", false), + peg$c552 = function(type, center, end, angle, generics) { const out = [ center, end] if(angle !== null){ out.push( angle[0]) @@ -853,46 +873,46 @@ function peg$parse(input, options) { value: [ ...out , ...generics ] }; }, - peg$c537 = "fp_circle", - peg$c538 = peg$literalExpectation("fp_circle", false), - peg$c539 = function(type, center, end, generics) { + peg$c553 = "fp_circle", + peg$c554 = peg$literalExpectation("fp_circle", false), + peg$c555 = function(type, center, end, generics) { return { type, value: [ center, end, ...generics ] }; }, - peg$c540 = "fp_curve", - peg$c541 = peg$literalExpectation("fp_curve", false), - peg$c542 = function(type, pts, generics) { + peg$c556 = "fp_curve", + peg$c557 = peg$literalExpectation("fp_curve", false), + peg$c558 = function(type, pts, generics) { return { type, value:[ ...pts, ...generics ] }; }, - peg$c543 = "fp_line", - peg$c544 = peg$literalExpectation("fp_line", false), - peg$c545 = function(type, start, end, generics) { + peg$c559 = "fp_line", + peg$c560 = peg$literalExpectation("fp_line", false), + peg$c561 = function(type, start, end, generics) { return { type, value: [ start, end, ...generics ] }; }, - peg$c546 = "fp_rect", - peg$c547 = peg$literalExpectation("fp_rect", false), - peg$c548 = "fp_poly", - peg$c549 = peg$literalExpectation("fp_poly", false), - peg$c550 = function(type, pts, generics) { + peg$c562 = "fp_rect", + peg$c563 = peg$literalExpectation("fp_rect", false), + peg$c564 = "fp_poly", + peg$c565 = peg$literalExpectation("fp_poly", false), + peg$c566 = function(type, pts, generics) { return { type, value: [ pts , ...generics ] }; }, - peg$c551 = function(generics) { + peg$c567 = function(generics) { return generics.map(x => x[0]) }, - peg$c552 = "pad", - peg$c553 = peg$literalExpectation("pad", false), - peg$c554 = function(no, pad_type, shape, locked, attrs) { + peg$c568 = "pad", + peg$c569 = peg$literalExpectation("pad", false), + peg$c570 = function(no, pad_type, shape, locked, attrs) { return { type: "pad", value: [ @@ -904,46 +924,48 @@ function peg$parse(input, options) { ] } }, - peg$c555 = "thru_hole", - peg$c556 = peg$literalExpectation("thru_hole", false), - peg$c557 = "np_thru_hole", - peg$c558 = peg$literalExpectation("np_thru_hole", false), - peg$c559 = "connect", - peg$c560 = peg$literalExpectation("connect", false), - peg$c561 = function(value) { + peg$c571 = "thru_hole", + peg$c572 = peg$literalExpectation("thru_hole", false), + peg$c573 = "np_thru_hole", + peg$c574 = peg$literalExpectation("np_thru_hole", false), + peg$c575 = "connect", + peg$c576 = peg$literalExpectation("connect", false), + peg$c577 = function(value) { return { type: "pad_type", value: { type: "string", value } } }, - peg$c562 = "circle", - peg$c563 = peg$literalExpectation("circle", false), - peg$c564 = "rect", - peg$c565 = peg$literalExpectation("rect", false), - peg$c566 = "oval", - peg$c567 = peg$literalExpectation("oval", false), - peg$c568 = "trapezoid", - peg$c569 = peg$literalExpectation("trapezoid", false), - peg$c570 = "roundrect", - peg$c571 = peg$literalExpectation("roundrect", false), - peg$c572 = function(value) { + peg$c578 = "circle", + peg$c579 = peg$literalExpectation("circle", false), + peg$c580 = "rect", + peg$c581 = peg$literalExpectation("rect", false), + peg$c582 = "oval", + peg$c583 = peg$literalExpectation("oval", false), + peg$c584 = "trapezoid", + peg$c585 = peg$literalExpectation("trapezoid", false), + peg$c586 = "roundrect", + peg$c587 = peg$literalExpectation("roundrect", false), + peg$c588 = "custom", + peg$c589 = peg$literalExpectation("custom", false), + peg$c590 = function(value) { return { type: "pad_shape", value: { type: "string", value } } }, - peg$c573 = "top_left", - peg$c574 = peg$literalExpectation("top_left", false), - peg$c575 = "top_right", - peg$c576 = peg$literalExpectation("top_right", false), - peg$c577 = "bottom_left", - peg$c578 = peg$literalExpectation("bottom_left", false), - peg$c579 = "bottom_right", - peg$c580 = peg$literalExpectation("bottom_right", false), - peg$c581 = function(type, value) {return { type: "string", value }}, - peg$c582 = function(type, value) { + peg$c591 = "top_left", + peg$c592 = peg$literalExpectation("top_left", false), + peg$c593 = "top_right", + peg$c594 = peg$literalExpectation("top_right", false), + peg$c595 = "bottom_left", + peg$c596 = peg$literalExpectation("bottom_left", false), + peg$c597 = "bottom_right", + peg$c598 = peg$literalExpectation("bottom_right", false), + peg$c599 = function(type, value) {return { type: "string", value }}, + peg$c600 = function(type, value) { return {type,value} }, - peg$c583 = "size", - peg$c584 = peg$literalExpectation("size", false), - peg$c585 = function(type, value) { + peg$c601 = "size", + peg$c602 = peg$literalExpectation("size", false), + peg$c603 = function(type, value) { return { type, value } }, - peg$c586 = function(type, width, height) { + peg$c604 = function(type, width, height) { return { type, value: [ @@ -952,11 +974,11 @@ function peg$parse(input, options) { ] } }, - peg$c587 = "at", - peg$c588 = peg$literalExpectation("at", false), - peg$c589 = "unlocked", - peg$c590 = peg$literalExpectation("unlocked", false), - peg$c591 = function(type, x, y, angle, unlocked) { + peg$c605 = "at", + peg$c606 = peg$literalExpectation("at", false), + peg$c607 = "unlocked", + peg$c608 = peg$literalExpectation("unlocked", false), + peg$c609 = function(type, x, y, angle, unlocked) { var value = [ { type: "x", value:x }, { type: "y", value:y }, @@ -965,9 +987,9 @@ function peg$parse(input, options) { if(angle !== null) value.push( { type: "angle", value:angle[0] } ) return { type, value } }, - peg$c592 = "rect_delta", - peg$c593 = peg$literalExpectation("rect_delta", false), - peg$c594 = function(type, width, height) { + peg$c610 = "rect_delta", + peg$c611 = peg$literalExpectation("rect_delta", false), + peg$c612 = function(type, width, height) { return { type, value: [ @@ -976,7 +998,7 @@ function peg$parse(input, options) { ] } }, - peg$c595 = function(type, attrs) { + peg$c613 = function(type, attrs) { var height,width var value = [] @@ -1001,10 +1023,10 @@ function peg$parse(input, options) { return { type, value } }, - peg$c596 = function(type) { return { type, value: { type: "boolean", value: true } } }, - peg$c597 = "offset", - peg$c598 = peg$literalExpectation("offset", false), - peg$c599 = function(type, x, y) { + peg$c614 = function(type) { return { type, value: { type: "boolean", value: true } } }, + peg$c615 = "offset", + peg$c616 = peg$literalExpectation("offset", false), + peg$c617 = function(type, x, y) { return { type, value: [ @@ -1014,48 +1036,48 @@ function peg$parse(input, options) { } }, - peg$c600 = function(type, val) {return val}, - peg$c601 = "chamfer_ratio", - peg$c602 = peg$literalExpectation("chamfer_ratio", false), - peg$c603 = "roundrect_rratio", - peg$c604 = peg$literalExpectation("roundrect_rratio", false), - peg$c605 = "die_length", - peg$c606 = peg$literalExpectation("die_length", false), - peg$c607 = "options", - peg$c608 = peg$literalExpectation("options", false), - peg$c609 = function(type, value) { + peg$c618 = function(type, val) {return val}, + peg$c619 = "chamfer_ratio", + peg$c620 = peg$literalExpectation("chamfer_ratio", false), + peg$c621 = "roundrect_rratio", + peg$c622 = peg$literalExpectation("roundrect_rratio", false), + peg$c623 = "die_length", + peg$c624 = peg$literalExpectation("die_length", false), + peg$c625 = "options", + peg$c626 = peg$literalExpectation("options", false), + peg$c627 = function(type, value) { return { type, value } }, - peg$c610 = "anchor", - peg$c611 = peg$literalExpectation("anchor", false), - peg$c612 = function(type, value) { + peg$c628 = "anchor", + peg$c629 = peg$literalExpectation("anchor", false), + peg$c630 = function(type, value) { return { type, value: { type: "string", value: value}} }, - peg$c613 = "outline", - peg$c614 = peg$literalExpectation("outline", false), - peg$c615 = "convexhull", - peg$c616 = peg$literalExpectation("convexhull", false), - peg$c617 = function(type, value) { + peg$c631 = "outline", + peg$c632 = peg$literalExpectation("outline", false), + peg$c633 = "convexhull", + peg$c634 = peg$literalExpectation("convexhull", false), + peg$c635 = function(type, value) { return { type, value: { type: "string", value } } }, - peg$c618 = "primitives", - peg$c619 = peg$literalExpectation("primitives", false), - peg$c620 = function(type, val) { return val }, - peg$c621 = "gr_arc", - peg$c622 = peg$literalExpectation("gr_arc", false), - peg$c623 = function(type, center, end, generics) { + peg$c636 = "primitives", + peg$c637 = peg$literalExpectation("primitives", false), + peg$c638 = function(type, val) { return val }, + peg$c639 = "gr_arc", + peg$c640 = peg$literalExpectation("gr_arc", false), + peg$c641 = function(type, center, end, generics) { return { type, value:[ center, end, ...generics ] }; }, - peg$c624 = "gr_circle", - peg$c625 = peg$literalExpectation("gr_circle", false), - peg$c626 = "gr_curve", - peg$c627 = peg$literalExpectation("gr_curve", false), - peg$c628 = "pts", - peg$c629 = peg$literalExpectation("pts", false), - peg$c630 = function(start, control1, control2, end) { + peg$c642 = "gr_circle", + peg$c643 = peg$literalExpectation("gr_circle", false), + peg$c644 = "gr_curve", + peg$c645 = peg$literalExpectation("gr_curve", false), + peg$c646 = "pts", + peg$c647 = peg$literalExpectation("pts", false), + peg$c648 = function(start, control1, control2, end) { // console.log("start", start) // console.log("control1", control1) // console.log("control2", control2) @@ -1074,27 +1096,27 @@ function peg$parse(input, options) { { type:"end", value: end.value }, ] }, - peg$c631 = "gr_line", - peg$c632 = peg$literalExpectation("gr_line", false), - peg$c633 = function(type, start, end, generics) { + peg$c649 = "gr_line", + peg$c650 = peg$literalExpectation("gr_line", false), + peg$c651 = function(type, start, end, generics) { return { type, value:[ start, end, ...generics ] }; }, - peg$c634 = "gr_rect", - peg$c635 = peg$literalExpectation("gr_rect", false), - peg$c636 = "gr_poly", - peg$c637 = peg$literalExpectation("gr_poly", false), - peg$c638 = function(type, pts, generics) { + peg$c652 = "gr_rect", + peg$c653 = peg$literalExpectation("gr_rect", false), + peg$c654 = "gr_poly", + peg$c655 = peg$literalExpectation("gr_poly", false), + peg$c656 = function(type, pts, generics) { return { type, value: [ pts, ...generics ] }; }, - peg$c639 = "gr_text", - peg$c640 = peg$literalExpectation("gr_text", false), - peg$c641 = function(type, text, at, options) { + peg$c657 = "gr_text", + peg$c658 = peg$literalExpectation("gr_text", false), + peg$c659 = function(type, text, at, options) { const value = [ {type: "text", value: text}, @@ -1104,47 +1126,47 @@ function peg$parse(input, options) { return {type, value} }, - peg$c642 = "status", - peg$c643 = peg$literalExpectation("status", false), - peg$c644 = function(type, value) { + peg$c660 = "status", + peg$c661 = peg$literalExpectation("status", false), + peg$c662 = function(type, value) { return { type, value } }, - peg$c645 = function(type, value) { + peg$c663 = function(type, value) { return { type, value } }, - peg$c646 = "width", - peg$c647 = peg$literalExpectation("width", false), - peg$c648 = "angle", - peg$c649 = peg$literalExpectation("angle", false), - peg$c650 = "mid", - peg$c651 = peg$literalExpectation("mid", false), - peg$c652 = function(type, value) { + peg$c664 = "width", + peg$c665 = peg$literalExpectation("width", false), + peg$c666 = "angle", + peg$c667 = peg$literalExpectation("angle", false), + peg$c668 = "mid", + peg$c669 = peg$literalExpectation("mid", false), + peg$c670 = function(type, value) { return { type, value } }, - peg$c653 = "start", - peg$c654 = peg$literalExpectation("start", false), - peg$c655 = function(x, y) { + peg$c671 = "start", + peg$c672 = peg$literalExpectation("start", false), + peg$c673 = function(x, y) { return [ {type: "x", value:x}, {type: "y", value:y}, ] }, - peg$c656 = "center", - peg$c657 = peg$literalExpectation("center", false), - peg$c658 = function(type, value) { + peg$c674 = "center", + peg$c675 = peg$literalExpectation("center", false), + peg$c676 = function(type, value) { return { type, value } // yep, "center" }, - peg$c659 = "end", - peg$c660 = peg$literalExpectation("end", false), - peg$c661 = function(type, pts) { + peg$c677 = "end", + peg$c678 = peg$literalExpectation("end", false), + peg$c679 = function(type, pts) { return { type, value: pts.map(x => x[0])} }, - peg$c662 = "xy", - peg$c663 = peg$literalExpectation("xy", false), - peg$c664 = "model", - peg$c665 = peg$literalExpectation("model", false), - peg$c666 = function(type, filename, attr) { + peg$c680 = "xy", + peg$c681 = peg$literalExpectation("xy", false), + peg$c682 = "model", + peg$c683 = peg$literalExpectation("model", false), + peg$c684 = function(type, filename, attr) { return { type, value: [ @@ -1153,201 +1175,201 @@ function peg$parse(input, options) { ] } }, - peg$c667 = "opacity", - peg$c668 = peg$literalExpectation("opacity", false), - peg$c669 = function(value) { return { type:"opacity", value:value } }, - peg$c670 = "scale", - peg$c671 = peg$literalExpectation("scale", false), - peg$c672 = "rotate", - peg$c673 = peg$literalExpectation("rotate", false), - peg$c674 = function(type, value) { + peg$c685 = "opacity", + peg$c686 = peg$literalExpectation("opacity", false), + peg$c687 = function(value) { return { type:"opacity", value:value } }, + peg$c688 = "scale", + peg$c689 = peg$literalExpectation("scale", false), + peg$c690 = "rotate", + peg$c691 = peg$literalExpectation("rotate", false), + peg$c692 = function(type, value) { return { type, value: [ value ] } }, - peg$c675 = "xyz", - peg$c676 = peg$literalExpectation("xyz", false), - peg$c677 = function(type, x, y, z) { + peg$c693 = "xyz", + peg$c694 = peg$literalExpectation("xyz", false), + peg$c695 = function(type, x, y, z) { return { type, value:[ {type: "x", value:x}, {type: "y", value:y}, {type: "z", value:z} ] } }, - peg$c678 = "\"", - peg$c679 = peg$literalExpectation("\"", false), - peg$c680 = function(chars) { return {type:"string",value:chars.join('')}; }, - peg$c681 = "'", - peg$c682 = peg$literalExpectation("'", false), - peg$c683 = "\\", - peg$c684 = peg$literalExpectation("\\", false), - peg$c685 = peg$anyExpectation(), - peg$c686 = function(char) { return char; }, - peg$c687 = function(sequence) { return sequence; }, - peg$c688 = "b", - peg$c689 = peg$literalExpectation("b", false), - peg$c690 = function() { return "\b"; }, - peg$c691 = "f", - peg$c692 = peg$literalExpectation("f", false), - peg$c693 = function() { return "\f"; }, - peg$c694 = "n", - peg$c695 = peg$literalExpectation("n", false), - peg$c696 = function() { return "\n"; }, - peg$c697 = "r", - peg$c698 = peg$literalExpectation("r", false), - peg$c699 = function() { return "\r"; }, - peg$c700 = "t", - peg$c701 = peg$literalExpectation("t", false), - peg$c702 = function() { return "\t"; }, - peg$c703 = "v", - peg$c704 = peg$literalExpectation("v", false), - peg$c705 = function() { return "\x0B"; }, - peg$c706 = function(contents) { + peg$c696 = "\"", + peg$c697 = peg$literalExpectation("\"", false), + peg$c698 = function(chars) { return {type:"string",value:chars.join('')}; }, + peg$c699 = "'", + peg$c700 = peg$literalExpectation("'", false), + peg$c701 = "\\", + peg$c702 = peg$literalExpectation("\\", false), + peg$c703 = peg$anyExpectation(), + peg$c704 = function(char) { return char; }, + peg$c705 = function(sequence) { return sequence; }, + peg$c706 = "b", + peg$c707 = peg$literalExpectation("b", false), + peg$c708 = function() { return "\b"; }, + peg$c709 = "f", + peg$c710 = peg$literalExpectation("f", false), + peg$c711 = function() { return "\f"; }, + peg$c712 = "n", + peg$c713 = peg$literalExpectation("n", false), + peg$c714 = function() { return "\n"; }, + peg$c715 = "r", + peg$c716 = peg$literalExpectation("r", false), + peg$c717 = function() { return "\r"; }, + peg$c718 = "t", + peg$c719 = peg$literalExpectation("t", false), + peg$c720 = function() { return "\t"; }, + peg$c721 = "v", + peg$c722 = peg$literalExpectation("v", false), + peg$c723 = function() { return "\x0B"; }, + peg$c724 = function(contents) { return { type: "sexp", value: contents.map(x => x[0]) } }, - peg$c707 = "[", - peg$c708 = peg$literalExpectation("[", false), - peg$c709 = ",", - peg$c710 = peg$literalExpectation(",", false), - peg$c711 = "]", - peg$c712 = peg$literalExpectation("]", false), - peg$c713 = function(value, values) { + peg$c725 = "[", + peg$c726 = peg$literalExpectation("[", false), + peg$c727 = ",", + peg$c728 = peg$literalExpectation(",", false), + peg$c729 = "]", + peg$c730 = peg$literalExpectation("]", false), + peg$c731 = function(value, values) { return { type: "array", value: [ value, ...values.map(x => x[0])] } }, - peg$c714 = /^[^ ();'\n]/, - peg$c715 = peg$classExpectation([" ", "(", ")", ";", "'", "\n"], true, false), - peg$c716 = function(value) { + peg$c732 = /^[^ ();'\n]/, + peg$c733 = peg$classExpectation([" ", "(", ")", ";", "'", "\n"], true, false), + peg$c734 = function(value) { return {type:"string",value} }, - peg$c717 = peg$otherExpectation("whitespace"), - peg$c718 = /^[ \t\n\r]/, - peg$c719 = peg$classExpectation([" ", "\t", "\n", "\r"], false, false), - peg$c720 = /^[\-+]/, - peg$c721 = peg$classExpectation(["-", "+"], false, false), - peg$c722 = function(val) { + peg$c735 = peg$otherExpectation("whitespace"), + peg$c736 = /^[ \t\n\r]/, + peg$c737 = peg$classExpectation([" ", "\t", "\n", "\r"], false, false), + peg$c738 = /^[\-+]/, + peg$c739 = peg$classExpectation(["-", "+"], false, false), + peg$c740 = function(val) { return { type:"number", value:val } }, - peg$c723 = function(value) { return value }, - peg$c724 = ".", - peg$c725 = peg$literalExpectation(".", false), - peg$c726 = function(val) { + peg$c741 = function(value) { return value }, + peg$c742 = ".", + peg$c743 = peg$literalExpectation(".", false), + peg$c744 = function(val) { return { type:"real", value:val } }, - peg$c727 = "/", - peg$c728 = peg$literalExpectation("/", false), - peg$c729 = function(n, d) { + peg$c745 = "/", + peg$c746 = peg$literalExpectation("/", false), + peg$c747 = function(n, d) { return { type:"fraction", n:n, d:d } }, - peg$c730 = /^[0-9]/, - peg$c731 = peg$classExpectation([["0", "9"]], false, false), - peg$c732 = /^[0-9a-fA-F]/, - peg$c733 = peg$classExpectation([["0", "9"], ["a", "f"], ["A", "F"]], false, false), - peg$c734 = function(value) { + peg$c748 = /^[0-9]/, + peg$c749 = peg$classExpectation([["0", "9"]], false, false), + peg$c750 = /^[0-9a-fA-F]/, + peg$c751 = peg$classExpectation([["0", "9"], ["a", "f"], ["A", "F"]], false, false), + peg$c752 = function(value) { return {type: "hex", value} }, - peg$c735 = function(value) { return { type: "boolean", value: value === "yes" } }, - peg$c736 = "F.Cu", - peg$c737 = peg$literalExpectation("F.Cu", false), - peg$c738 = "B.Cu", - peg$c739 = peg$literalExpectation("B.Cu", false), - peg$c740 = "In1.Cu", - peg$c741 = peg$literalExpectation("In1.Cu", false), - peg$c742 = "In2.Cu", - peg$c743 = peg$literalExpectation("In2.Cu", false), - peg$c744 = "In3.Cu", - peg$c745 = peg$literalExpectation("In3.Cu", false), - peg$c746 = "In4.Cu", - peg$c747 = peg$literalExpectation("In4.Cu", false), - peg$c748 = "In5.Cu", - peg$c749 = peg$literalExpectation("In5.Cu", false), - peg$c750 = "In6.Cu", - peg$c751 = peg$literalExpectation("In6.Cu", false), - peg$c752 = "In7.Cu", - peg$c753 = peg$literalExpectation("In7.Cu", false), - peg$c754 = "In8.Cu", - peg$c755 = peg$literalExpectation("In8.Cu", false), - peg$c756 = "In9.Cu", - peg$c757 = peg$literalExpectation("In9.Cu", false), - peg$c758 = "In10.Cu", - peg$c759 = peg$literalExpectation("In10.Cu", false), - peg$c760 = "In11.Cu", - peg$c761 = peg$literalExpectation("In11.Cu", false), - peg$c762 = "In12.Cu", - peg$c763 = peg$literalExpectation("In12.Cu", false), - peg$c764 = "In13.Cu", - peg$c765 = peg$literalExpectation("In13.Cu", false), - peg$c766 = "In14.Cu", - peg$c767 = peg$literalExpectation("In14.Cu", false), - peg$c768 = "In15.Cu", - peg$c769 = peg$literalExpectation("In15.Cu", false), - peg$c770 = "In16.Cu", - peg$c771 = peg$literalExpectation("In16.Cu", false), - peg$c772 = "In17.Cu", - peg$c773 = peg$literalExpectation("In17.Cu", false), - peg$c774 = "In18.Cu", - peg$c775 = peg$literalExpectation("In18.Cu", false), - peg$c776 = "In19.Cu", - peg$c777 = peg$literalExpectation("In19.Cu", false), - peg$c778 = "In20.Cu", - peg$c779 = peg$literalExpectation("In20.Cu", false), - peg$c780 = "In21.Cu", - peg$c781 = peg$literalExpectation("In21.Cu", false), - peg$c782 = "In22.Cu", - peg$c783 = peg$literalExpectation("In22.Cu", false), - peg$c784 = "In23.Cu", - peg$c785 = peg$literalExpectation("In23.Cu", false), - peg$c786 = "In24.Cu", - peg$c787 = peg$literalExpectation("In24.Cu", false), - peg$c788 = "In25.Cu", - peg$c789 = peg$literalExpectation("In25.Cu", false), - peg$c790 = "In26.Cu", - peg$c791 = peg$literalExpectation("In26.Cu", false), - peg$c792 = "In27.Cu", - peg$c793 = peg$literalExpectation("In27.Cu", false), - peg$c794 = "In28.Cu", - peg$c795 = peg$literalExpectation("In28.Cu", false), - peg$c796 = "In29.Cu", - peg$c797 = peg$literalExpectation("In29.Cu", false), - peg$c798 = "In30.Cu", - peg$c799 = peg$literalExpectation("In30.Cu", false), - peg$c800 = function(value) { + peg$c753 = function(value) { return { type: "boolean", value: value === "yes" } }, + peg$c754 = "F.Cu", + peg$c755 = peg$literalExpectation("F.Cu", false), + peg$c756 = "B.Cu", + peg$c757 = peg$literalExpectation("B.Cu", false), + peg$c758 = "In1.Cu", + peg$c759 = peg$literalExpectation("In1.Cu", false), + peg$c760 = "In2.Cu", + peg$c761 = peg$literalExpectation("In2.Cu", false), + peg$c762 = "In3.Cu", + peg$c763 = peg$literalExpectation("In3.Cu", false), + peg$c764 = "In4.Cu", + peg$c765 = peg$literalExpectation("In4.Cu", false), + peg$c766 = "In5.Cu", + peg$c767 = peg$literalExpectation("In5.Cu", false), + peg$c768 = "In6.Cu", + peg$c769 = peg$literalExpectation("In6.Cu", false), + peg$c770 = "In7.Cu", + peg$c771 = peg$literalExpectation("In7.Cu", false), + peg$c772 = "In8.Cu", + peg$c773 = peg$literalExpectation("In8.Cu", false), + peg$c774 = "In9.Cu", + peg$c775 = peg$literalExpectation("In9.Cu", false), + peg$c776 = "In10.Cu", + peg$c777 = peg$literalExpectation("In10.Cu", false), + peg$c778 = "In11.Cu", + peg$c779 = peg$literalExpectation("In11.Cu", false), + peg$c780 = "In12.Cu", + peg$c781 = peg$literalExpectation("In12.Cu", false), + peg$c782 = "In13.Cu", + peg$c783 = peg$literalExpectation("In13.Cu", false), + peg$c784 = "In14.Cu", + peg$c785 = peg$literalExpectation("In14.Cu", false), + peg$c786 = "In15.Cu", + peg$c787 = peg$literalExpectation("In15.Cu", false), + peg$c788 = "In16.Cu", + peg$c789 = peg$literalExpectation("In16.Cu", false), + peg$c790 = "In17.Cu", + peg$c791 = peg$literalExpectation("In17.Cu", false), + peg$c792 = "In18.Cu", + peg$c793 = peg$literalExpectation("In18.Cu", false), + peg$c794 = "In19.Cu", + peg$c795 = peg$literalExpectation("In19.Cu", false), + peg$c796 = "In20.Cu", + peg$c797 = peg$literalExpectation("In20.Cu", false), + peg$c798 = "In21.Cu", + peg$c799 = peg$literalExpectation("In21.Cu", false), + peg$c800 = "In22.Cu", + peg$c801 = peg$literalExpectation("In22.Cu", false), + peg$c802 = "In23.Cu", + peg$c803 = peg$literalExpectation("In23.Cu", false), + peg$c804 = "In24.Cu", + peg$c805 = peg$literalExpectation("In24.Cu", false), + peg$c806 = "In25.Cu", + peg$c807 = peg$literalExpectation("In25.Cu", false), + peg$c808 = "In26.Cu", + peg$c809 = peg$literalExpectation("In26.Cu", false), + peg$c810 = "In27.Cu", + peg$c811 = peg$literalExpectation("In27.Cu", false), + peg$c812 = "In28.Cu", + peg$c813 = peg$literalExpectation("In28.Cu", false), + peg$c814 = "In29.Cu", + peg$c815 = peg$literalExpectation("In29.Cu", false), + peg$c816 = "In30.Cu", + peg$c817 = peg$literalExpectation("In30.Cu", false), + peg$c818 = function(value) { return { type: "string", value} }, - peg$c801 = "*.Cu", - peg$c802 = peg$literalExpectation("*.Cu", false), - peg$c803 = "*In.Cu", - peg$c804 = peg$literalExpectation("*In.Cu", false), - peg$c805 = "F&B.Cu", - peg$c806 = peg$literalExpectation("F&B.Cu", false), - peg$c807 = "*.Adhes", - peg$c808 = peg$literalExpectation("*.Adhes", false), - peg$c809 = "*.Paste", - peg$c810 = peg$literalExpectation("*.Paste", false), - peg$c811 = "*.Mask", - peg$c812 = peg$literalExpectation("*.Mask", false), - peg$c813 = "*.SilkS", - peg$c814 = peg$literalExpectation("*.SilkS", false), - peg$c815 = "*.Fab", - peg$c816 = peg$literalExpectation("*.Fab", false), - peg$c817 = "*.CrtYd", - peg$c818 = peg$literalExpectation("*.CrtYd", false), - peg$c819 = "Inner", - peg$c820 = peg$literalExpectation("Inner", false), - peg$c821 = /^[1-9]/, - peg$c822 = peg$classExpectation([["1", "9"]], false, false), - peg$c823 = ".Cu", - peg$c824 = peg$literalExpectation(".Cu", false), - peg$c825 = "Inner1", - peg$c826 = peg$literalExpectation("Inner1", false), - peg$c827 = /^[01-4]/, - peg$c828 = peg$classExpectation(["0", ["1", "4"]], false, false), + peg$c819 = "*.Cu", + peg$c820 = peg$literalExpectation("*.Cu", false), + peg$c821 = "*In.Cu", + peg$c822 = peg$literalExpectation("*In.Cu", false), + peg$c823 = "F&B.Cu", + peg$c824 = peg$literalExpectation("F&B.Cu", false), + peg$c825 = "*.Adhes", + peg$c826 = peg$literalExpectation("*.Adhes", false), + peg$c827 = "*.Paste", + peg$c828 = peg$literalExpectation("*.Paste", false), + peg$c829 = "*.Mask", + peg$c830 = peg$literalExpectation("*.Mask", false), + peg$c831 = "*.SilkS", + peg$c832 = peg$literalExpectation("*.SilkS", false), + peg$c833 = "*.Fab", + peg$c834 = peg$literalExpectation("*.Fab", false), + peg$c835 = "*.CrtYd", + peg$c836 = peg$literalExpectation("*.CrtYd", false), + peg$c837 = "Inner", + peg$c838 = peg$literalExpectation("Inner", false), + peg$c839 = /^[1-9]/, + peg$c840 = peg$classExpectation([["1", "9"]], false, false), + peg$c841 = ".Cu", + peg$c842 = peg$literalExpectation(".Cu", false), + peg$c843 = "Inner1", + peg$c844 = peg$literalExpectation("Inner1", false), + peg$c845 = /^[01-4]/, + peg$c846 = peg$classExpectation(["0", ["1", "4"]], false, false), peg$currPos = 0, peg$savedPos = 0, @@ -2019,7 +2041,7 @@ function peg$parse(input, options) { } function peg$parsepaper() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10; + var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 40) { @@ -2051,67 +2073,104 @@ function peg$parse(input, options) { if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - s5 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c35) { - s6 = peg$c35; - peg$currPos += 6; + if (input.substr(peg$currPos, 2) === peg$c35) { + s5 = peg$c35; + peg$currPos += 2; } else { - s6 = peg$FAILED; + s5 = peg$FAILED; if (peg$silentFails === 0) { peg$fail(peg$c36); } } - if (s6 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c37) { - s6 = peg$c37; - peg$currPos += 4; + if (s5 === peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c37) { + s5 = peg$c37; + peg$currPos += 2; } else { - s6 = peg$FAILED; + s5 = peg$FAILED; if (peg$silentFails === 0) { peg$fail(peg$c38); } } - } - if (s6 !== peg$FAILED) { - s7 = peg$parse_(); - if (s7 !== peg$FAILED) { - s8 = peg$parsenumber(); - if (s8 !== peg$FAILED) { - s9 = peg$parse_(); - if (s9 !== peg$FAILED) { - s10 = peg$parsenumber(); - if (s10 !== peg$FAILED) { - s6 = [s6, s7, s8, s9, s10]; - s5 = s6; + if (s5 === peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c39) { + s5 = peg$c39; + peg$currPos += 2; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c40); } + } + if (s5 === peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c41) { + s5 = peg$c41; + peg$currPos += 2; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c42); } + } + if (s5 === peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c43) { + s5 = peg$c43; + peg$currPos += 2; } else { - peg$currPos = s5; s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c44); } + } + if (s5 === peg$FAILED) { + if (input.substr(peg$currPos, 2) === peg$c45) { + s5 = peg$c45; + peg$currPos += 2; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c46); } + } + if (s5 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 65) { + s5 = peg$c47; + peg$currPos++; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c48); } + } + if (s5 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 66) { + s5 = peg$c49; + peg$currPos++; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c50); } + } + if (s5 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 67) { + s5 = peg$c51; + peg$currPos++; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c52); } + } + if (s5 === peg$FAILED) { + if (input.charCodeAt(peg$currPos) === 68) { + s5 = peg$c53; + peg$currPos++; + } else { + s5 = peg$FAILED; + if (peg$silentFails === 0) { peg$fail(peg$c54); } + } + } + } + } + } } - } else { - peg$currPos = s5; - s5 = peg$FAILED; } - } else { - peg$currPos = s5; - s5 = peg$FAILED; } - } else { - peg$currPos = s5; - s5 = peg$FAILED; } - } else { - peg$currPos = s5; - s5 = peg$FAILED; - } - if (s5 === peg$FAILED) { - s5 = peg$parsesymbol(); } if (s5 !== peg$FAILED) { s6 = peg$parse_(); if (s6 !== peg$FAILED) { s7 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c39) { - s8 = peg$c39; + if (input.substr(peg$currPos, 8) === peg$c55) { + s8 = peg$c55; peg$currPos += 8; } else { s8 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c40); } + if (peg$silentFails === 0) { peg$fail(peg$c56); } } if (s8 !== peg$FAILED) { s9 = peg$parse_(); @@ -2139,7 +2198,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c41(s7); + s1 = peg$c57(s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -2191,12 +2250,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c42) { - s3 = peg$c42; + if (input.substr(peg$currPos, 11) === peg$c58) { + s3 = peg$c58; peg$currPos += 11; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c43); } + if (peg$silentFails === 0) { peg$fail(peg$c59); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -2214,55 +2273,55 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { s9 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c44) { - s10 = peg$c44; + if (input.substr(peg$currPos, 5) === peg$c60) { + s10 = peg$c60; peg$currPos += 5; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c45); } + if (peg$silentFails === 0) { peg$fail(peg$c61); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c46) { - s10 = peg$c46; + if (input.substr(peg$currPos, 4) === peg$c62) { + s10 = peg$c62; peg$currPos += 4; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c47); } + if (peg$silentFails === 0) { peg$fail(peg$c63); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c48) { - s10 = peg$c48; + if (input.substr(peg$currPos, 3) === peg$c64) { + s10 = peg$c64; peg$currPos += 3; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c65); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c50) { - s10 = peg$c50; + if (input.substr(peg$currPos, 7) === peg$c66) { + s10 = peg$c66; peg$currPos += 7; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c51); } + if (peg$silentFails === 0) { peg$fail(peg$c67); } } if (s10 === peg$FAILED) { s10 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c52) { - s11 = peg$c52; + if (input.substr(peg$currPos, 7) === peg$c68) { + s11 = peg$c68; peg$currPos += 7; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c69); } } if (s11 !== peg$FAILED) { s12 = peg$parse_(); if (s12 !== peg$FAILED) { - if (peg$c54.test(input.charAt(peg$currPos))) { + if (peg$c70.test(input.charAt(peg$currPos))) { s13 = input.charAt(peg$currPos); peg$currPos++; } else { s13 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c55); } + if (peg$silentFails === 0) { peg$fail(peg$c71); } } if (s13 !== peg$FAILED) { s11 = [s11, s12, s13]; @@ -2356,55 +2415,55 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { s9 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c44) { - s10 = peg$c44; + if (input.substr(peg$currPos, 5) === peg$c60) { + s10 = peg$c60; peg$currPos += 5; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c45); } + if (peg$silentFails === 0) { peg$fail(peg$c61); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c46) { - s10 = peg$c46; + if (input.substr(peg$currPos, 4) === peg$c62) { + s10 = peg$c62; peg$currPos += 4; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c47); } + if (peg$silentFails === 0) { peg$fail(peg$c63); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c48) { - s10 = peg$c48; + if (input.substr(peg$currPos, 3) === peg$c64) { + s10 = peg$c64; peg$currPos += 3; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c49); } + if (peg$silentFails === 0) { peg$fail(peg$c65); } } if (s10 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c50) { - s10 = peg$c50; + if (input.substr(peg$currPos, 7) === peg$c66) { + s10 = peg$c66; peg$currPos += 7; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c51); } + if (peg$silentFails === 0) { peg$fail(peg$c67); } } if (s10 === peg$FAILED) { s10 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c52) { - s11 = peg$c52; + if (input.substr(peg$currPos, 7) === peg$c68) { + s11 = peg$c68; peg$currPos += 7; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c53); } + if (peg$silentFails === 0) { peg$fail(peg$c69); } } if (s11 !== peg$FAILED) { s12 = peg$parse_(); if (s12 !== peg$FAILED) { - if (peg$c54.test(input.charAt(peg$currPos))) { + if (peg$c70.test(input.charAt(peg$currPos))) { s13 = input.charAt(peg$currPos); peg$currPos++; } else { s13 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c55); } + if (peg$silentFails === 0) { peg$fail(peg$c71); } } if (s13 !== peg$FAILED) { s11 = [s11, s12, s13]; @@ -2495,7 +2554,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c56(s3, s5); + s1 = peg$c72(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2539,12 +2598,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c57) { - s3 = peg$c57; + if (input.substr(peg$currPos, 6) === peg$c73) { + s3 = peg$c73; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c74); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -2556,7 +2615,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c59(s3, s7); + s7 = peg$c75(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -2574,7 +2633,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c59(s3, s7); + s7 = peg$c75(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -2595,7 +2654,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c60(s3, s5); + s1 = peg$c76(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2651,12 +2710,12 @@ function peg$parse(input, options) { s6 = peg$parse_(); if (s6 !== peg$FAILED) { s7 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c61) { - s8 = peg$c61; + if (input.substr(peg$currPos, 4) === peg$c77) { + s8 = peg$c77; peg$currPos += 4; } else { s8 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c62); } + if (peg$silentFails === 0) { peg$fail(peg$c78); } } if (s8 !== peg$FAILED) { s9 = peg$parse_(); @@ -2664,7 +2723,7 @@ function peg$parse(input, options) { s10 = peg$parsestring(); if (s10 !== peg$FAILED) { peg$savedPos = s7; - s8 = peg$c63(s3, s5, s10); + s8 = peg$c79(s3, s5, s10); s7 = s8; } else { peg$currPos = s7; @@ -2685,12 +2744,12 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { s9 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c64) { - s10 = peg$c64; + if (input.substr(peg$currPos, 4) === peg$c80) { + s10 = peg$c80; peg$currPos += 4; } else { s10 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c65); } + if (peg$silentFails === 0) { peg$fail(peg$c81); } } if (s10 !== peg$FAILED) { s11 = peg$parse_(); @@ -2718,7 +2777,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c66(s3, s5, s7, s9); + s1 = peg$c82(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -2778,12 +2837,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c67) { - s3 = peg$c67; + if (input.substr(peg$currPos, 5) === peg$c83) { + s3 = peg$c83; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c68); } + if (peg$silentFails === 0) { peg$fail(peg$c84); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -2868,7 +2927,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c69(s3, s5); + s1 = peg$c85(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2929,7 +2988,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -2966,36 +3025,36 @@ function peg$parse(input, options) { function peg$parseSETUP_FLAG() { var s0; - if (input.substr(peg$currPos, 22) === peg$c71) { - s0 = peg$c71; + if (input.substr(peg$currPos, 22) === peg$c87) { + s0 = peg$c87; peg$currPos += 22; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c72); } + if (peg$silentFails === 0) { peg$fail(peg$c88); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 25) === peg$c73) { - s0 = peg$c73; + if (input.substr(peg$currPos, 25) === peg$c89) { + s0 = peg$c89; peg$currPos += 25; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c74); } + if (peg$silentFails === 0) { peg$fail(peg$c90); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c75) { - s0 = peg$c75; + if (input.substr(peg$currPos, 13) === peg$c91) { + s0 = peg$c91; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c76); } + if (peg$silentFails === 0) { peg$fail(peg$c92); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c77) { - s0 = peg$c77; + if (input.substr(peg$currPos, 12) === peg$c93) { + s0 = peg$c93; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c78); } + if (peg$silentFails === 0) { peg$fail(peg$c94); } } } } @@ -3035,7 +3094,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3072,236 +3131,236 @@ function peg$parse(input, options) { function peg$parseSETUP_BOARDUNITS() { var s0; - if (input.substr(peg$currPos, 16) === peg$c79) { - s0 = peg$c79; + if (input.substr(peg$currPos, 16) === peg$c95) { + s0 = peg$c95; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c80); } + if (peg$silentFails === 0) { peg$fail(peg$c96); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c81) { - s0 = peg$c81; + if (input.substr(peg$currPos, 16) === peg$c97) { + s0 = peg$c97; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c82); } + if (peg$silentFails === 0) { peg$fail(peg$c98); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c83) { - s0 = peg$c83; + if (input.substr(peg$currPos, 15) === peg$c99) { + s0 = peg$c99; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c84); } + if (peg$silentFails === 0) { peg$fail(peg$c100); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c85) { - s0 = peg$c85; + if (input.substr(peg$currPos, 14) === peg$c101) { + s0 = peg$c101; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c86); } + if (peg$silentFails === 0) { peg$fail(peg$c102); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c87) { - s0 = peg$c87; + if (input.substr(peg$currPos, 13) === peg$c103) { + s0 = peg$c103; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c88); } + if (peg$silentFails === 0) { peg$fail(peg$c104); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c89) { - s0 = peg$c89; + if (input.substr(peg$currPos, 9) === peg$c105) { + s0 = peg$c105; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c90); } + if (peg$silentFails === 0) { peg$fail(peg$c106); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c91) { - s0 = peg$c91; + if (input.substr(peg$currPos, 8) === peg$c107) { + s0 = peg$c107; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c92); } + if (peg$silentFails === 0) { peg$fail(peg$c108); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c93) { - s0 = peg$c93; + if (input.substr(peg$currPos, 9) === peg$c109) { + s0 = peg$c109; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c94); } + if (peg$silentFails === 0) { peg$fail(peg$c110); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c95) { - s0 = peg$c95; + if (input.substr(peg$currPos, 15) === peg$c111) { + s0 = peg$c111; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c96); } + if (peg$silentFails === 0) { peg$fail(peg$c112); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c97) { - s0 = peg$c97; + if (input.substr(peg$currPos, 12) === peg$c113) { + s0 = peg$c113; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c98); } + if (peg$silentFails === 0) { peg$fail(peg$c114); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c99) { - s0 = peg$c99; + if (input.substr(peg$currPos, 16) === peg$c115) { + s0 = peg$c115; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c100); } + if (peg$silentFails === 0) { peg$fail(peg$c116); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c101) { - s0 = peg$c101; + if (input.substr(peg$currPos, 13) === peg$c117) { + s0 = peg$c117; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c102); } + if (peg$silentFails === 0) { peg$fail(peg$c118); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c103) { - s0 = peg$c103; + if (input.substr(peg$currPos, 16) === peg$c119) { + s0 = peg$c119; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c104); } + if (peg$silentFails === 0) { peg$fail(peg$c120); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c105) { - s0 = peg$c105; + if (input.substr(peg$currPos, 9) === peg$c121) { + s0 = peg$c121; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c106); } + if (peg$silentFails === 0) { peg$fail(peg$c122); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c107) { - s0 = peg$c107; + if (input.substr(peg$currPos, 10) === peg$c123) { + s0 = peg$c123; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c108); } + if (peg$silentFails === 0) { peg$fail(peg$c124); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c109) { - s0 = peg$c109; + if (input.substr(peg$currPos, 13) === peg$c125) { + s0 = peg$c125; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c110); } + if (peg$silentFails === 0) { peg$fail(peg$c126); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c111) { - s0 = peg$c111; + if (input.substr(peg$currPos, 14) === peg$c127) { + s0 = peg$c127; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c112); } + if (peg$silentFails === 0) { peg$fail(peg$c128); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c113) { - s0 = peg$c113; + if (input.substr(peg$currPos, 13) === peg$c129) { + s0 = peg$c129; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c114); } + if (peg$silentFails === 0) { peg$fail(peg$c130); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c115) { - s0 = peg$c115; + if (input.substr(peg$currPos, 10) === peg$c131) { + s0 = peg$c131; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c116); } + if (peg$silentFails === 0) { peg$fail(peg$c132); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c117) { - s0 = peg$c117; + if (input.substr(peg$currPos, 14) === peg$c133) { + s0 = peg$c133; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c118); } + if (peg$silentFails === 0) { peg$fail(peg$c134); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c119) { - s0 = peg$c119; + if (input.substr(peg$currPos, 14) === peg$c135) { + s0 = peg$c135; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c120); } + if (peg$silentFails === 0) { peg$fail(peg$c136); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c121) { - s0 = peg$c121; + if (input.substr(peg$currPos, 14) === peg$c137) { + s0 = peg$c137; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c122); } + if (peg$silentFails === 0) { peg$fail(peg$c138); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 21) === peg$c123) { - s0 = peg$c123; + if (input.substr(peg$currPos, 21) === peg$c139) { + s0 = peg$c139; peg$currPos += 21; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c124); } + if (peg$silentFails === 0) { peg$fail(peg$c140); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 21) === peg$c125) { - s0 = peg$c125; + if (input.substr(peg$currPos, 21) === peg$c141) { + s0 = peg$c141; peg$currPos += 21; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c126); } + if (peg$silentFails === 0) { peg$fail(peg$c142); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 28) === peg$c127) { - s0 = peg$c127; + if (input.substr(peg$currPos, 28) === peg$c143) { + s0 = peg$c143; peg$currPos += 28; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c128); } + if (peg$silentFails === 0) { peg$fail(peg$c144); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 22) === peg$c129) { - s0 = peg$c129; + if (input.substr(peg$currPos, 22) === peg$c145) { + s0 = peg$c145; peg$currPos += 22; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c130); } + if (peg$silentFails === 0) { peg$fail(peg$c146); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c131) { - s0 = peg$c131; + if (input.substr(peg$currPos, 9) === peg$c147) { + s0 = peg$c147; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c132); } + if (peg$silentFails === 0) { peg$fail(peg$c148); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c133) { - s0 = peg$c133; + if (input.substr(peg$currPos, 9) === peg$c149) { + s0 = peg$c149; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c134); } + if (peg$silentFails === 0) { peg$fail(peg$c150); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 28) === peg$c127) { - s0 = peg$c127; + if (input.substr(peg$currPos, 28) === peg$c143) { + s0 = peg$c143; peg$currPos += 28; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c128); } + if (peg$silentFails === 0) { peg$fail(peg$c144); } } } } @@ -3349,12 +3408,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c135) { - s3 = peg$c135; + if (input.substr(peg$currPos, 16) === peg$c151) { + s3 = peg$c151; peg$currPos += 16; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c136); } + if (peg$silentFails === 0) { peg$fail(peg$c152); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -3372,7 +3431,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3472,7 +3531,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c137(s3, s5); + s1 = peg$c153(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3505,60 +3564,60 @@ function peg$parse(input, options) { function peg$parseSETUP_ARRAY() { var s0; - if (input.substr(peg$currPos, 8) === peg$c138) { - s0 = peg$c138; + if (input.substr(peg$currPos, 8) === peg$c154) { + s0 = peg$c154; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c139); } + if (peg$silentFails === 0) { peg$fail(peg$c155); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c140) { - s0 = peg$c140; + if (input.substr(peg$currPos, 14) === peg$c156) { + s0 = peg$c156; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c141); } + if (peg$silentFails === 0) { peg$fail(peg$c157); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c142) { - s0 = peg$c142; + if (input.substr(peg$currPos, 13) === peg$c158) { + s0 = peg$c158; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c143); } + if (peg$silentFails === 0) { peg$fail(peg$c159); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c144) { - s0 = peg$c144; + if (input.substr(peg$currPos, 13) === peg$c160) { + s0 = peg$c160; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c145); } + if (peg$silentFails === 0) { peg$fail(peg$c161); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c146) { - s0 = peg$c146; + if (input.substr(peg$currPos, 8) === peg$c162) { + s0 = peg$c162; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c147); } + if (peg$silentFails === 0) { peg$fail(peg$c163); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c148) { - s0 = peg$c148; + if (input.substr(peg$currPos, 15) === peg$c164) { + s0 = peg$c164; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c149); } + if (peg$silentFails === 0) { peg$fail(peg$c165); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c150) { - s0 = peg$c150; + if (input.substr(peg$currPos, 11) === peg$c166) { + s0 = peg$c166; peg$currPos += 11; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c151); } + if (peg$silentFails === 0) { peg$fail(peg$c167); } } } } @@ -3584,12 +3643,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c152) { - s3 = peg$c152; + if (input.substr(peg$currPos, 8) === peg$c168) { + s3 = peg$c168; peg$currPos += 8; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c153); } + if (peg$silentFails === 0) { peg$fail(peg$c169); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -3650,7 +3709,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c154(s3, s5); + s1 = peg$c170(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3711,7 +3770,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3748,60 +3807,60 @@ function peg$parse(input, options) { function peg$parseDEFAULT_BOARDUNITS() { var s0; - if (input.substr(peg$currPos, 16) === peg$c155) { - s0 = peg$c155; + if (input.substr(peg$currPos, 16) === peg$c171) { + s0 = peg$c171; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c156); } + if (peg$silentFails === 0) { peg$fail(peg$c172); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c157) { - s0 = peg$c157; + if (input.substr(peg$currPos, 19) === peg$c173) { + s0 = peg$c173; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c158); } + if (peg$silentFails === 0) { peg$fail(peg$c174); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 22) === peg$c159) { - s0 = peg$c159; + if (input.substr(peg$currPos, 22) === peg$c175) { + s0 = peg$c175; peg$currPos += 22; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c160); } + if (peg$silentFails === 0) { peg$fail(peg$c176); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 22) === peg$c161) { - s0 = peg$c161; + if (input.substr(peg$currPos, 22) === peg$c177) { + s0 = peg$c177; peg$currPos += 22; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c162); } + if (peg$silentFails === 0) { peg$fail(peg$c178); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 17) === peg$c163) { - s0 = peg$c163; + if (input.substr(peg$currPos, 17) === peg$c179) { + s0 = peg$c179; peg$currPos += 17; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c164); } + if (peg$silentFails === 0) { peg$fail(peg$c180); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 23) === peg$c165) { - s0 = peg$c165; + if (input.substr(peg$currPos, 23) === peg$c181) { + s0 = peg$c181; peg$currPos += 23; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c166); } + if (peg$silentFails === 0) { peg$fail(peg$c182); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 25) === peg$c167) { - s0 = peg$c167; + if (input.substr(peg$currPos, 25) === peg$c183) { + s0 = peg$c183; peg$currPos += 25; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c168); } + if (peg$silentFails === 0) { peg$fail(peg$c184); } } } } @@ -3844,7 +3903,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -3881,20 +3940,20 @@ function peg$parse(input, options) { function peg$parseDEFAULT_INT() { var s0; - if (input.substr(peg$currPos, 15) === peg$c169) { - s0 = peg$c169; + if (input.substr(peg$currPos, 15) === peg$c185) { + s0 = peg$c185; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c170); } + if (peg$silentFails === 0) { peg$fail(peg$c186); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c171) { - s0 = peg$c171; + if (input.substr(peg$currPos, 19) === peg$c187) { + s0 = peg$c187; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c172); } + if (peg$silentFails === 0) { peg$fail(peg$c188); } } } @@ -3981,7 +4040,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c173(s3, s5); + s1 = peg$c189(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4014,36 +4073,36 @@ function peg$parse(input, options) { function peg$parseDEFAULT_TEXT_DIMS() { var s0; - if (input.substr(peg$currPos, 16) === peg$c174) { - s0 = peg$c174; + if (input.substr(peg$currPos, 16) === peg$c190) { + s0 = peg$c190; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c175); } + if (peg$silentFails === 0) { peg$fail(peg$c191); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c176) { - s0 = peg$c176; + if (input.substr(peg$currPos, 14) === peg$c192) { + s0 = peg$c192; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c177); } + if (peg$silentFails === 0) { peg$fail(peg$c193); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 20) === peg$c178) { - s0 = peg$c178; + if (input.substr(peg$currPos, 20) === peg$c194) { + s0 = peg$c194; peg$currPos += 20; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c179); } + if (peg$silentFails === 0) { peg$fail(peg$c195); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 22) === peg$c180) { - s0 = peg$c180; + if (input.substr(peg$currPos, 22) === peg$c196) { + s0 = peg$c196; peg$currPos += 22; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c181); } + if (peg$silentFails === 0) { peg$fail(peg$c197); } } } } @@ -4066,12 +4125,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c182) { - s3 = peg$c182; + if (input.substr(peg$currPos, 13) === peg$c198) { + s3 = peg$c198; peg$currPos += 13; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c183); } + if (peg$silentFails === 0) { peg$fail(peg$c199); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -4138,7 +4197,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c69(s3, s5); + s1 = peg$c85(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4182,12 +4241,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c184) { - s3 = peg$c184; + if (input.substr(peg$currPos, 14) === peg$c200) { + s3 = peg$c200; peg$currPos += 14; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c185); } + if (peg$silentFails === 0) { peg$fail(peg$c201); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -4208,7 +4267,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c186(s3, s5); + s1 = peg$c202(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4256,12 +4315,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c187) { - s3 = peg$c187; + if (input.substr(peg$currPos, 15) === peg$c203) { + s3 = peg$c203; peg$currPos += 15; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c188); } + if (peg$silentFails === 0) { peg$fail(peg$c204); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -4282,7 +4341,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c186(s3, s5); + s1 = peg$c202(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4347,7 +4406,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4384,76 +4443,76 @@ function peg$parse(input, options) { function peg$parsePCBPLOTPARAMS_NUMERIC() { var s0; - if (input.substr(peg$currPos, 9) === peg$c189) { - s0 = peg$c189; + if (input.substr(peg$currPos, 9) === peg$c205) { + s0 = peg$c205; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c190); } + if (peg$silentFails === 0) { peg$fail(peg$c206); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c191) { - s0 = peg$c191; + if (input.substr(peg$currPos, 4) === peg$c207) { + s0 = peg$c207; peg$currPos += 4; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c192); } + if (peg$silentFails === 0) { peg$fail(peg$c208); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c193) { - s0 = peg$c193; + if (input.substr(peg$currPos, 13) === peg$c209) { + s0 = peg$c209; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c194); } + if (peg$silentFails === 0) { peg$fail(peg$c210); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c195) { - s0 = peg$c195; + if (input.substr(peg$currPos, 12) === peg$c211) { + s0 = peg$c211; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c196); } + if (peg$silentFails === 0) { peg$fail(peg$c212); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c197) { - s0 = peg$c197; + if (input.substr(peg$currPos, 15) === peg$c213) { + s0 = peg$c213; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c198); } + if (peg$silentFails === 0) { peg$fail(peg$c214); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c199) { - s0 = peg$c199; + if (input.substr(peg$currPos, 14) === peg$c215) { + s0 = peg$c215; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c200); } + if (peg$silentFails === 0) { peg$fail(peg$c216); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c201) { - s0 = peg$c201; + if (input.substr(peg$currPos, 12) === peg$c217) { + s0 = peg$c217; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c202); } + if (peg$silentFails === 0) { peg$fail(peg$c218); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c203) { - s0 = peg$c203; + if (input.substr(peg$currPos, 10) === peg$c219) { + s0 = peg$c219; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c204); } + if (peg$silentFails === 0) { peg$fail(peg$c220); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c205) { - s0 = peg$c205; + if (input.substr(peg$currPos, 14) === peg$c221) { + s0 = peg$c221; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c206); } + if (peg$silentFails === 0) { peg$fail(peg$c222); } } } } @@ -4498,7 +4557,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -4535,196 +4594,196 @@ function peg$parse(input, options) { function peg$parsePCBPLOTPARAMS_FLAG() { var s0; - if (input.substr(peg$currPos, 18) === peg$c207) { - s0 = peg$c207; + if (input.substr(peg$currPos, 18) === peg$c223) { + s0 = peg$c223; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c208); } + if (peg$silentFails === 0) { peg$fail(peg$c224); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c209) { - s0 = peg$c209; + if (input.substr(peg$currPos, 19) === peg$c225) { + s0 = peg$c225; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c210); } + if (peg$silentFails === 0) { peg$fail(peg$c226); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c211) { - s0 = peg$c211; + if (input.substr(peg$currPos, 19) === peg$c227) { + s0 = peg$c227; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c212); } + if (peg$silentFails === 0) { peg$fail(peg$c228); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 27) === peg$c213) { - s0 = peg$c213; + if (input.substr(peg$currPos, 27) === peg$c229) { + s0 = peg$c229; peg$currPos += 27; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c214); } + if (peg$silentFails === 0) { peg$fail(peg$c230); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c215) { - s0 = peg$c215; + if (input.substr(peg$currPos, 19) === peg$c231) { + s0 = peg$c231; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c216); } + if (peg$silentFails === 0) { peg$fail(peg$c232); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c217) { - s0 = peg$c217; + if (input.substr(peg$currPos, 10) === peg$c233) { + s0 = peg$c233; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c218); } + if (peg$silentFails === 0) { peg$fail(peg$c234); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c219) { - s0 = peg$c219; + if (input.substr(peg$currPos, 12) === peg$c235) { + s0 = peg$c235; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c220); } + if (peg$silentFails === 0) { peg$fail(peg$c236); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c221) { - s0 = peg$c221; + if (input.substr(peg$currPos, 16) === peg$c237) { + s0 = peg$c237; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c222); } + if (peg$silentFails === 0) { peg$fail(peg$c238); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c223) { - s0 = peg$c223; + if (input.substr(peg$currPos, 12) === peg$c239) { + s0 = peg$c239; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c224); } + if (peg$silentFails === 0) { peg$fail(peg$c240); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c225) { - s0 = peg$c225; + if (input.substr(peg$currPos, 10) === peg$c241) { + s0 = peg$c241; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c226); } + if (peg$silentFails === 0) { peg$fail(peg$c242); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c227) { - s0 = peg$c227; + if (input.substr(peg$currPos, 12) === peg$c243) { + s0 = peg$c243; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c228); } + if (peg$silentFails === 0) { peg$fail(peg$c244); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c229) { - s0 = peg$c229; + if (input.substr(peg$currPos, 14) === peg$c245) { + s0 = peg$c245; peg$currPos += 14; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c230); } + if (peg$silentFails === 0) { peg$fail(peg$c246); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c231) { - s0 = peg$c231; + if (input.substr(peg$currPos, 16) === peg$c247) { + s0 = peg$c247; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c232); } + if (peg$silentFails === 0) { peg$fail(peg$c248); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c233) { - s0 = peg$c233; + if (input.substr(peg$currPos, 16) === peg$c249) { + s0 = peg$c249; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c234); } + if (peg$silentFails === 0) { peg$fail(peg$c250); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c235) { - s0 = peg$c235; + if (input.substr(peg$currPos, 10) === peg$c251) { + s0 = peg$c251; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c236); } + if (peg$silentFails === 0) { peg$fail(peg$c252); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c237) { - s0 = peg$c237; + if (input.substr(peg$currPos, 10) === peg$c253) { + s0 = peg$c253; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c238); } + if (peg$silentFails === 0) { peg$fail(peg$c254); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c239) { - s0 = peg$c239; + if (input.substr(peg$currPos, 13) === peg$c255) { + s0 = peg$c255; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c240); } + if (peg$silentFails === 0) { peg$fail(peg$c256); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c241) { - s0 = peg$c241; + if (input.substr(peg$currPos, 9) === peg$c257) { + s0 = peg$c257; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c242); } + if (peg$silentFails === 0) { peg$fail(peg$c258); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 17) === peg$c243) { - s0 = peg$c243; + if (input.substr(peg$currPos, 17) === peg$c259) { + s0 = peg$c259; peg$currPos += 17; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c244); } + if (peg$silentFails === 0) { peg$fail(peg$c260); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c245) { - s0 = peg$c245; + if (input.substr(peg$currPos, 13) === peg$c261) { + s0 = peg$c261; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c246); } + if (peg$silentFails === 0) { peg$fail(peg$c262); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c247) { - s0 = peg$c247; + if (input.substr(peg$currPos, 15) === peg$c263) { + s0 = peg$c263; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c248); } + if (peg$silentFails === 0) { peg$fail(peg$c264); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c249) { - s0 = peg$c249; + if (input.substr(peg$currPos, 10) === peg$c265) { + s0 = peg$c265; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c250); } + if (peg$silentFails === 0) { peg$fail(peg$c266); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 20) === peg$c251) { - s0 = peg$c251; + if (input.substr(peg$currPos, 20) === peg$c267) { + s0 = peg$c267; peg$currPos += 20; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c252); } + if (peg$silentFails === 0) { peg$fail(peg$c268); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c253) { - s0 = peg$c253; + if (input.substr(peg$currPos, 6) === peg$c269) { + s0 = peg$c269; peg$currPos += 6; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c254); } + if (peg$silentFails === 0) { peg$fail(peg$c270); } } } } @@ -4757,25 +4816,25 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c255) { - s1 = peg$c255; + if (input.substr(peg$currPos, 4) === peg$c271) { + s1 = peg$c271; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c256); } + if (peg$silentFails === 0) { peg$fail(peg$c272); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c257) { - s1 = peg$c257; + if (input.substr(peg$currPos, 5) === peg$c273) { + s1 = peg$c273; peg$currPos += 5; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c258); } + if (peg$silentFails === 0) { peg$fail(peg$c274); } } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c259(s1); + s1 = peg$c275(s1); } s0 = s1; @@ -4796,12 +4855,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c260) { - s3 = peg$c260; + if (input.substr(peg$currPos, 7) === peg$c276) { + s3 = peg$c276; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c261); } + if (peg$silentFails === 0) { peg$fail(peg$c277); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -4850,7 +4909,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c262(s3); + s1 = peg$c278(s3); s0 = s1; } else { peg$currPos = s0; @@ -4894,12 +4953,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c263) { - s3 = peg$c263; + if (input.substr(peg$currPos, 3) === peg$c279) { + s3 = peg$c279; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c264); } + if (peg$silentFails === 0) { peg$fail(peg$c280); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -4917,7 +4976,7 @@ function peg$parse(input, options) { s9 = peg$parse_(); if (s9 !== peg$FAILED) { peg$savedPos = s7; - s8 = peg$c265(s3, s5, s8); + s8 = peg$c281(s3, s5, s8); s7 = s8; } else { peg$currPos = s7; @@ -4940,7 +4999,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c266(s3, s5, s7); + s1 = peg$c282(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -4992,12 +5051,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c267) { - s3 = peg$c267; + if (input.substr(peg$currPos, 9) === peg$c283) { + s3 = peg$c283; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c268); } + if (peg$silentFails === 0) { peg$fail(peg$c284); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5026,7 +5085,7 @@ function peg$parse(input, options) { s12 = peg$parse_(); if (s12 !== peg$FAILED) { peg$savedPos = s10; - s11 = peg$c269(s3, s5, s7, s11); + s11 = peg$c285(s3, s5, s7, s11); s10 = s11; } else { peg$currPos = s10; @@ -5047,7 +5106,7 @@ function peg$parse(input, options) { s12 = peg$parse_(); if (s12 !== peg$FAILED) { peg$savedPos = s10; - s11 = peg$c269(s3, s5, s7, s11); + s11 = peg$c285(s3, s5, s7, s11); s10 = s11; } else { peg$currPos = s10; @@ -5068,7 +5127,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c270(s3, s5, s7, s9); + s1 = peg$c286(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -5128,12 +5187,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c271) { - s3 = peg$c271; + if (input.substr(peg$currPos, 7) === peg$c287) { + s3 = peg$c287; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c272); } + if (peg$silentFails === 0) { peg$fail(peg$c288); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5157,7 +5216,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5222,7 +5281,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5259,68 +5318,68 @@ function peg$parse(input, options) { function peg$parseNET_CLASS_BOARDUNIT() { var s0; - if (input.substr(peg$currPos, 9) === peg$c273) { - s0 = peg$c273; + if (input.substr(peg$currPos, 9) === peg$c289) { + s0 = peg$c289; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c274); } + if (peg$silentFails === 0) { peg$fail(peg$c290); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c275) { - s0 = peg$c275; + if (input.substr(peg$currPos, 11) === peg$c291) { + s0 = peg$c291; peg$currPos += 11; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c276); } + if (peg$silentFails === 0) { peg$fail(peg$c292); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c277) { - s0 = peg$c277; + if (input.substr(peg$currPos, 7) === peg$c293) { + s0 = peg$c293; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c278); } + if (peg$silentFails === 0) { peg$fail(peg$c294); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c93) { - s0 = peg$c93; + if (input.substr(peg$currPos, 9) === peg$c109) { + s0 = peg$c109; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c94); } + if (peg$silentFails === 0) { peg$fail(peg$c110); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c279) { - s0 = peg$c279; + if (input.substr(peg$currPos, 8) === peg$c295) { + s0 = peg$c295; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c280); } + if (peg$silentFails === 0) { peg$fail(peg$c296); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c107) { - s0 = peg$c107; + if (input.substr(peg$currPos, 10) === peg$c123) { + s0 = peg$c123; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c108); } + if (peg$silentFails === 0) { peg$fail(peg$c124); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c281) { - s0 = peg$c281; + if (input.substr(peg$currPos, 15) === peg$c297) { + s0 = peg$c297; peg$currPos += 15; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c282); } + if (peg$silentFails === 0) { peg$fail(peg$c298); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c283) { - s0 = peg$c283; + if (input.substr(peg$currPos, 13) === peg$c299) { + s0 = peg$c299; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c284); } + if (peg$silentFails === 0) { peg$fail(peg$c300); } } } } @@ -5347,12 +5406,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c285) { - s3 = peg$c285; + if (input.substr(peg$currPos, 9) === peg$c301) { + s3 = peg$c301; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c286); } + if (peg$silentFails === 0) { peg$fail(peg$c302); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5427,7 +5486,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c287(s3, s5, s7, s9); + s1 = peg$c303(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -5504,7 +5563,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c288(s3, s5); + s1 = peg$c304(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5541,60 +5600,60 @@ function peg$parse(input, options) { function peg$parseDIMENSION_XY() { var s0; - if (input.substr(peg$currPos, 8) === peg$c289) { - s0 = peg$c289; + if (input.substr(peg$currPos, 8) === peg$c305) { + s0 = peg$c305; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c290); } + if (peg$silentFails === 0) { peg$fail(peg$c306); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c291) { - s0 = peg$c291; + if (input.substr(peg$currPos, 8) === peg$c307) { + s0 = peg$c307; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c292); } + if (peg$silentFails === 0) { peg$fail(peg$c308); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c293) { - s0 = peg$c293; + if (input.substr(peg$currPos, 8) === peg$c309) { + s0 = peg$c309; peg$currPos += 8; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c294); } + if (peg$silentFails === 0) { peg$fail(peg$c310); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c295) { - s0 = peg$c295; + if (input.substr(peg$currPos, 7) === peg$c311) { + s0 = peg$c311; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c296); } + if (peg$silentFails === 0) { peg$fail(peg$c312); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c297) { - s0 = peg$c297; + if (input.substr(peg$currPos, 7) === peg$c313) { + s0 = peg$c313; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c298); } + if (peg$silentFails === 0) { peg$fail(peg$c314); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c299) { - s0 = peg$c299; + if (input.substr(peg$currPos, 7) === peg$c315) { + s0 = peg$c315; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c300); } + if (peg$silentFails === 0) { peg$fail(peg$c316); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c301) { - s0 = peg$c301; + if (input.substr(peg$currPos, 7) === peg$c317) { + s0 = peg$c317; peg$currPos += 7; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c302); } + if (peg$silentFails === 0) { peg$fail(peg$c318); } } } } @@ -5620,12 +5679,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c303) { - s3 = peg$c303; + if (input.substr(peg$currPos, 7) === peg$c319) { + s3 = peg$c319; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c304); } + if (peg$silentFails === 0) { peg$fail(peg$c320); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5655,7 +5714,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -5691,7 +5750,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -5712,7 +5771,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c306(s3, s5); + s1 = peg$c322(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5756,12 +5815,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c307) { - s3 = peg$c307; + if (input.substr(peg$currPos, 3) === peg$c323) { + s3 = peg$c323; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c308); } + if (peg$silentFails === 0) { peg$fail(peg$c324); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5794,7 +5853,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -5833,7 +5892,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -5854,7 +5913,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c309(s3, s5); + s1 = peg$c325(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -5898,12 +5957,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c310) { - s3 = peg$c310; + if (input.substr(peg$currPos, 6) === peg$c326) { + s3 = peg$c326; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c311); } + if (peg$silentFails === 0) { peg$fail(peg$c327); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -5982,7 +6041,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c312(s3, s5); + s1 = peg$c328(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6017,24 +6076,24 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 120) { - s1 = peg$c313; + s1 = peg$c329; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c314); } + if (peg$silentFails === 0) { peg$fail(peg$c330); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c315) { - s1 = peg$c315; + if (input.substr(peg$currPos, 4) === peg$c331) { + s1 = peg$c331; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c316); } + if (peg$silentFails === 0) { peg$fail(peg$c332); } } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c317(s1); + s1 = peg$c333(s1); } s0 = s1; @@ -6055,12 +6114,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c318) { - s3 = peg$c318; + if (input.substr(peg$currPos, 3) === peg$c334) { + s3 = peg$c334; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c319); } + if (peg$silentFails === 0) { peg$fail(peg$c335); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -6145,7 +6204,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c320(s3, s5); + s1 = peg$c336(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6180,20 +6239,20 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c321) { - s2 = peg$c321; + if (input.substr(peg$currPos, 5) === peg$c337) { + s2 = peg$c337; peg$currPos += 5; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c322); } + if (peg$silentFails === 0) { peg$fail(peg$c338); } } if (s2 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c323) { - s2 = peg$c323; + if (input.substr(peg$currPos, 5) === peg$c339) { + s2 = peg$c339; peg$currPos += 5; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c324); } + if (peg$silentFails === 0) { peg$fail(peg$c340); } } } if (s2 !== peg$FAILED) { @@ -6203,7 +6262,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c325(s1); + s1 = peg$c341(s1); } s0 = s1; @@ -6225,28 +6284,28 @@ function peg$parse(input, options) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { s3 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c326) { - s4 = peg$c326; + if (input.substr(peg$currPos, 4) === peg$c342) { + s4 = peg$c342; peg$currPos += 4; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c327); } + if (peg$silentFails === 0) { peg$fail(peg$c343); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c328) { - s4 = peg$c328; + if (input.substr(peg$currPos, 5) === peg$c344) { + s4 = peg$c344; peg$currPos += 5; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c329); } + if (peg$silentFails === 0) { peg$fail(peg$c345); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c263) { - s4 = peg$c263; + if (input.substr(peg$currPos, 3) === peg$c279) { + s4 = peg$c279; peg$currPos += 3; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c264); } + if (peg$silentFails === 0) { peg$fail(peg$c280); } } } } @@ -6267,7 +6326,7 @@ function peg$parse(input, options) { s7 = peg$parse_(); if (s7 !== peg$FAILED) { peg$savedPos = s5; - s6 = peg$c59(s3, s6); + s6 = peg$c75(s3, s6); s5 = s6; } else { peg$currPos = s5; @@ -6287,7 +6346,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c330(s3, s5); + s1 = peg$c346(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6331,20 +6390,20 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c331) { - s3 = peg$c331; + if (input.substr(peg$currPos, 7) === peg$c347) { + s3 = peg$c347; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c332); } + if (peg$silentFails === 0) { peg$fail(peg$c348); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c333) { - s3 = peg$c333; + if (input.substr(peg$currPos, 14) === peg$c349) { + s3 = peg$c349; peg$currPos += 14; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c334); } + if (peg$silentFails === 0) { peg$fail(peg$c350); } } } if (s3 !== peg$FAILED) { @@ -6363,7 +6422,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c335(s3, s5); + s1 = peg$c351(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6411,12 +6470,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c326) { - s3 = peg$c326; + if (input.substr(peg$currPos, 4) === peg$c342) { + s3 = peg$c342; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c327); } + if (peg$silentFails === 0) { peg$fail(peg$c343); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -6455,7 +6514,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -6500,7 +6559,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c305(s3, s7); + s7 = peg$c321(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -6521,7 +6580,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c330(s3, s5); + s1 = peg$c346(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6565,12 +6624,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c336) { - s3 = peg$c336; + if (input.substr(peg$currPos, 13) === peg$c352) { + s3 = peg$c352; peg$currPos += 13; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c337); } + if (peg$silentFails === 0) { peg$fail(peg$c353); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -6582,7 +6641,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c338(s3, s7); + s7 = peg$c354(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -6601,7 +6660,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c338(s3, s7); + s7 = peg$c354(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -6625,7 +6684,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c339(s3, s5); + s1 = peg$c355(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6670,52 +6729,52 @@ function peg$parse(input, options) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { s3 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c340) { - s4 = peg$c340; + if (input.substr(peg$currPos, 8) === peg$c356) { + s4 = peg$c356; peg$currPos += 8; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c341); } + if (peg$silentFails === 0) { peg$fail(peg$c357); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c263) { - s4 = peg$c263; + if (input.substr(peg$currPos, 3) === peg$c279) { + s4 = peg$c279; peg$currPos += 3; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c264); } + if (peg$silentFails === 0) { peg$fail(peg$c280); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c310) { - s4 = peg$c310; + if (input.substr(peg$currPos, 6) === peg$c326) { + s4 = peg$c326; peg$currPos += 6; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c311); } + if (peg$silentFails === 0) { peg$fail(peg$c327); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c342) { - s4 = peg$c342; + if (input.substr(peg$currPos, 8) === peg$c358) { + s4 = peg$c358; peg$currPos += 8; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c343); } + if (peg$silentFails === 0) { peg$fail(peg$c359); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c344) { - s4 = peg$c344; + if (input.substr(peg$currPos, 13) === peg$c360) { + s4 = peg$c360; peg$currPos += 13; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c345); } + if (peg$silentFails === 0) { peg$fail(peg$c361); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 22) === peg$c71) { - s4 = peg$c71; + if (input.substr(peg$currPos, 22) === peg$c87) { + s4 = peg$c87; peg$currPos += 22; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c72); } + if (peg$silentFails === 0) { peg$fail(peg$c88); } } } } @@ -6742,7 +6801,7 @@ function peg$parse(input, options) { s7 = peg$parse_(); if (s7 !== peg$FAILED) { peg$savedPos = s5; - s6 = peg$c59(s3, s6); + s6 = peg$c75(s3, s6); s5 = s6; } else { peg$currPos = s5; @@ -6762,7 +6821,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c346(s3, s5); + s1 = peg$c362(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -6806,38 +6865,38 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c347) { - s3 = peg$c347; + if (input.substr(peg$currPos, 5) === peg$c363) { + s3 = peg$c363; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c348); } + if (peg$silentFails === 0) { peg$fail(peg$c364); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c349) { - s5 = peg$c349; + if (input.substr(peg$currPos, 4) === peg$c365) { + s5 = peg$c365; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c350); } + if (peg$silentFails === 0) { peg$fail(peg$c366); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c351) { - s5 = peg$c351; + if (input.substr(peg$currPos, 4) === peg$c367) { + s5 = peg$c367; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c352); } + if (peg$silentFails === 0) { peg$fail(peg$c368); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c353) { - s5 = peg$c353; + if (input.substr(peg$currPos, 4) === peg$c369) { + s5 = peg$c369; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c354); } + if (peg$silentFails === 0) { peg$fail(peg$c370); } } } } @@ -6857,7 +6916,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c355(s3, s5, s7); + s1 = peg$c371(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -6913,23 +6972,23 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c356) { - s3 = peg$c356; + if (input.substr(peg$currPos, 4) === peg$c372) { + s3 = peg$c372; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c357); } + if (peg$silentFails === 0) { peg$fail(peg$c373); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { s5 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c358) { - s6 = peg$c358; + if (input.substr(peg$currPos, 3) === peg$c374) { + s6 = peg$c374; peg$currPos += 3; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c359); } + if (peg$silentFails === 0) { peg$fail(peg$c375); } } if (s6 !== peg$FAILED) { s7 = peg$parse_(); @@ -7004,7 +7063,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c360(s3, s5, s6); + s1 = peg$c376(s3, s5, s6); s0 = s1; } else { peg$currPos = s0; @@ -7052,38 +7111,38 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c191) { - s3 = peg$c191; + if (input.substr(peg$currPos, 4) === peg$c207) { + s3 = peg$c207; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c192); } + if (peg$silentFails === 0) { peg$fail(peg$c208); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c331) { - s5 = peg$c331; + if (input.substr(peg$currPos, 7) === peg$c347) { + s5 = peg$c347; peg$currPos += 7; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c332); } + if (peg$silentFails === 0) { peg$fail(peg$c348); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c347) { - s5 = peg$c347; + if (input.substr(peg$currPos, 5) === peg$c363) { + s5 = peg$c363; peg$currPos += 5; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c348); } + if (peg$silentFails === 0) { peg$fail(peg$c364); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c303) { - s5 = peg$c303; + if (input.substr(peg$currPos, 7) === peg$c319) { + s5 = peg$c319; peg$currPos += 7; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c304); } + if (peg$silentFails === 0) { peg$fail(peg$c320); } } } } @@ -7099,7 +7158,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c361(s3, s5); + s1 = peg$c377(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -7147,38 +7206,38 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c362) { - s3 = peg$c362; + if (input.substr(peg$currPos, 9) === peg$c378) { + s3 = peg$c378; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c363); } + if (peg$silentFails === 0) { peg$fail(peg$c379); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c349) { - s5 = peg$c349; + if (input.substr(peg$currPos, 4) === peg$c365) { + s5 = peg$c365; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c350); } + if (peg$silentFails === 0) { peg$fail(peg$c366); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c364) { - s5 = peg$c364; + if (input.substr(peg$currPos, 7) === peg$c380) { + s5 = peg$c380; peg$currPos += 7; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c365); } + if (peg$silentFails === 0) { peg$fail(peg$c381); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c366) { - s5 = peg$c366; + if (input.substr(peg$currPos, 6) === peg$c382) { + s5 = peg$c382; peg$currPos += 6; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c367); } + if (peg$silentFails === 0) { peg$fail(peg$c383); } } } } @@ -7194,7 +7253,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c368(s3, s5); + s1 = peg$c384(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -7242,76 +7301,76 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c369) { - s3 = peg$c369; + if (input.substr(peg$currPos, 15) === peg$c385) { + s3 = peg$c385; peg$currPos += 15; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c370); } + if (peg$silentFails === 0) { peg$fail(peg$c386); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c371) { - s3 = peg$c371; + if (input.substr(peg$currPos, 9) === peg$c387) { + s3 = peg$c387; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c372); } + if (peg$silentFails === 0) { peg$fail(peg$c388); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 17) === peg$c373) { - s3 = peg$c373; + if (input.substr(peg$currPos, 17) === peg$c389) { + s3 = peg$c389; peg$currPos += 17; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c374); } + if (peg$silentFails === 0) { peg$fail(peg$c390); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 21) === peg$c375) { - s3 = peg$c375; + if (input.substr(peg$currPos, 21) === peg$c391) { + s3 = peg$c391; peg$currPos += 21; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c376); } + if (peg$silentFails === 0) { peg$fail(peg$c392); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 21) === peg$c377) { - s3 = peg$c377; + if (input.substr(peg$currPos, 21) === peg$c393) { + s3 = peg$c393; peg$currPos += 21; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c378); } + if (peg$silentFails === 0) { peg$fail(peg$c394); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c379) { - s3 = peg$c379; + if (input.substr(peg$currPos, 12) === peg$c395) { + s3 = peg$c395; peg$currPos += 12; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c380); } + if (peg$silentFails === 0) { peg$fail(peg$c396); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c381) { - s3 = peg$c381; + if (input.substr(peg$currPos, 11) === peg$c397) { + s3 = peg$c397; peg$currPos += 11; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c382); } + if (peg$silentFails === 0) { peg$fail(peg$c398); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 20) === peg$c383) { - s3 = peg$c383; + if (input.substr(peg$currPos, 20) === peg$c399) { + s3 = peg$c399; peg$currPos += 20; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c384); } + if (peg$silentFails === 0) { peg$fail(peg$c400); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c385) { - s3 = peg$c385; + if (input.substr(peg$currPos, 6) === peg$c401) { + s3 = peg$c401; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c386); } + if (peg$silentFails === 0) { peg$fail(peg$c402); } } } } @@ -7337,7 +7396,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c339(s3, s5); + s1 = peg$c355(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -7385,12 +7444,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c387) { - s3 = peg$c387; + if (input.substr(peg$currPos, 7) === peg$c403) { + s3 = peg$c403; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c388); } + if (peg$silentFails === 0) { peg$fail(peg$c404); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -7415,36 +7474,36 @@ function peg$parse(input, options) { if (peg$silentFails === 0) { peg$fail(peg$c16); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c389) { - s9 = peg$c389; + if (input.substr(peg$currPos, 4) === peg$c405) { + s9 = peg$c405; peg$currPos += 4; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c390); } + if (peg$silentFails === 0) { peg$fail(peg$c406); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c391) { - s9 = peg$c391; + if (input.substr(peg$currPos, 10) === peg$c407) { + s9 = peg$c407; peg$currPos += 10; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c392); } + if (peg$silentFails === 0) { peg$fail(peg$c408); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c393) { - s9 = peg$c393; + if (input.substr(peg$currPos, 4) === peg$c409) { + s9 = peg$c409; peg$currPos += 4; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c394); } + if (peg$silentFails === 0) { peg$fail(peg$c410); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c395) { - s9 = peg$c395; + if (input.substr(peg$currPos, 10) === peg$c411) { + s9 = peg$c411; peg$currPos += 10; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c396); } + if (peg$silentFails === 0) { peg$fail(peg$c412); } } } } @@ -7453,20 +7512,20 @@ function peg$parse(input, options) { if (s9 !== peg$FAILED) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c397) { - s11 = peg$c397; + if (input.substr(peg$currPos, 7) === peg$c413) { + s11 = peg$c413; peg$currPos += 7; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c398); } + if (peg$silentFails === 0) { peg$fail(peg$c414); } } if (s11 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c399) { - s11 = peg$c399; + if (input.substr(peg$currPos, 11) === peg$c415) { + s11 = peg$c415; peg$currPos += 11; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c400); } + if (peg$silentFails === 0) { peg$fail(peg$c416); } } } if (s11 !== peg$FAILED) { @@ -7483,7 +7542,7 @@ function peg$parse(input, options) { s14 = peg$parse_(); if (s14 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c401(s3, s9, s11); + s7 = peg$c417(s3, s9, s11); s6 = s7; } else { peg$currPos = s6; @@ -7538,36 +7597,36 @@ function peg$parse(input, options) { if (peg$silentFails === 0) { peg$fail(peg$c16); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c389) { - s9 = peg$c389; + if (input.substr(peg$currPos, 4) === peg$c405) { + s9 = peg$c405; peg$currPos += 4; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c390); } + if (peg$silentFails === 0) { peg$fail(peg$c406); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c391) { - s9 = peg$c391; + if (input.substr(peg$currPos, 10) === peg$c407) { + s9 = peg$c407; peg$currPos += 10; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c392); } + if (peg$silentFails === 0) { peg$fail(peg$c408); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c393) { - s9 = peg$c393; + if (input.substr(peg$currPos, 4) === peg$c409) { + s9 = peg$c409; peg$currPos += 4; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c394); } + if (peg$silentFails === 0) { peg$fail(peg$c410); } } if (s9 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c395) { - s9 = peg$c395; + if (input.substr(peg$currPos, 10) === peg$c411) { + s9 = peg$c411; peg$currPos += 10; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c396); } + if (peg$silentFails === 0) { peg$fail(peg$c412); } } } } @@ -7576,20 +7635,20 @@ function peg$parse(input, options) { if (s9 !== peg$FAILED) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c397) { - s11 = peg$c397; + if (input.substr(peg$currPos, 7) === peg$c413) { + s11 = peg$c413; peg$currPos += 7; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c398); } + if (peg$silentFails === 0) { peg$fail(peg$c414); } } if (s11 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c399) { - s11 = peg$c399; + if (input.substr(peg$currPos, 11) === peg$c415) { + s11 = peg$c415; peg$currPos += 11; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c400); } + if (peg$silentFails === 0) { peg$fail(peg$c416); } } } if (s11 !== peg$FAILED) { @@ -7606,7 +7665,7 @@ function peg$parse(input, options) { s14 = peg$parse_(); if (s14 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c401(s3, s9, s11); + s7 = peg$c417(s3, s9, s11); s6 = s7; } else { peg$currPos = s6; @@ -7651,7 +7710,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c402(s3, s5); + s1 = peg$c418(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -7695,39 +7754,39 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c403) { - s3 = peg$c403; + if (input.substr(peg$currPos, 12) === peg$c419) { + s3 = peg$c419; peg$currPos += 12; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c404); } + if (peg$silentFails === 0) { peg$fail(peg$c420); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { s5 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c358) { - s6 = peg$c358; + if (input.substr(peg$currPos, 3) === peg$c374) { + s6 = peg$c374; peg$currPos += 3; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c359); } + if (peg$silentFails === 0) { peg$fail(peg$c375); } } if (s6 === peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c405) { - s6 = peg$c405; + if (input.substr(peg$currPos, 2) === peg$c421) { + s6 = peg$c421; peg$currPos += 2; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c406); } + if (peg$silentFails === 0) { peg$fail(peg$c422); } } if (s6 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c407) { - s6 = peg$c407; + if (input.substr(peg$currPos, 14) === peg$c423) { + s6 = peg$c423; peg$currPos += 14; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c408); } + if (peg$silentFails === 0) { peg$fail(peg$c424); } } } } @@ -7735,7 +7794,7 @@ function peg$parse(input, options) { s7 = peg$parse_(); if (s7 !== peg$FAILED) { peg$savedPos = s5; - s6 = peg$c409(s3, s6); + s6 = peg$c425(s3, s6); s5 = s6; } else { peg$currPos = s5; @@ -7760,12 +7819,12 @@ function peg$parse(input, options) { if (s7 !== peg$FAILED) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c273) { - s9 = peg$c273; + if (input.substr(peg$currPos, 9) === peg$c289) { + s9 = peg$c289; peg$currPos += 9; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c274); } + if (peg$silentFails === 0) { peg$fail(peg$c290); } } if (s9 !== peg$FAILED) { s10 = peg$parse_(); @@ -7785,7 +7844,7 @@ function peg$parse(input, options) { s14 = peg$parse_(); if (s14 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c410(s3, s5, s11); + s7 = peg$c426(s3, s5, s11); s6 = s7; } else { peg$currPos = s6; @@ -7832,7 +7891,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c411(s3, s5, s6); + s1 = peg$c427(s3, s5, s6); s0 = s1; } else { peg$currPos = s0; @@ -7941,7 +8000,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c412(s1); + s1 = peg$c428(s1); s0 = s1; } else { peg$currPos = s0; @@ -7997,12 +8056,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c413) { - s3 = peg$c413; + if (input.substr(peg$currPos, 7) === peg$c429) { + s3 = peg$c429; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c414); } + if (peg$silentFails === 0) { peg$fail(peg$c430); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8020,7 +8079,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c415(s3, s5); + s1 = peg$c431(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -8070,20 +8129,20 @@ function peg$parse(input, options) { if (s2 !== peg$FAILED) { s3 = peg$parse_(); if (s3 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c416) { - s4 = peg$c416; + if (input.substr(peg$currPos, 9) === peg$c432) { + s4 = peg$c432; peg$currPos += 9; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c417); } + if (peg$silentFails === 0) { peg$fail(peg$c433); } } if (s4 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c418) { - s4 = peg$c418; + if (input.substr(peg$currPos, 6) === peg$c434) { + s4 = peg$c434; peg$currPos += 6; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c419); } + if (peg$silentFails === 0) { peg$fail(peg$c435); } } } if (s4 !== peg$FAILED) { @@ -8142,7 +8201,7 @@ function peg$parse(input, options) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c420(s4, s6, s8); + s1 = peg$c436(s4, s6, s8); s0 = s1; } else { peg$currPos = s0; @@ -8276,12 +8335,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c413) { - s3 = peg$c413; + if (input.substr(peg$currPos, 7) === peg$c429) { + s3 = peg$c429; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c414); } + if (peg$silentFails === 0) { peg$fail(peg$c430); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8299,7 +8358,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c421(s3, s5); + s1 = peg$c437(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -8337,16 +8396,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c422) { - s1 = peg$c422; + if (input.substr(peg$currPos, 6) === peg$c438) { + s1 = peg$c438; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c423); } + if (peg$silentFails === 0) { peg$fail(peg$c439); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c424(); + s1 = peg$c440(); } s0 = s1; @@ -8357,16 +8416,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c425) { - s1 = peg$c425; + if (input.substr(peg$currPos, 6) === peg$c441) { + s1 = peg$c441; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c426); } + if (peg$silentFails === 0) { peg$fail(peg$c442); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c427(); + s1 = peg$c443(); } s0 = s1; @@ -8387,12 +8446,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c428) { - s3 = peg$c428; + if (input.substr(peg$currPos, 5) === peg$c444) { + s3 = peg$c444; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c429); } + if (peg$silentFails === 0) { peg$fail(peg$c445); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8413,7 +8472,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c330(s3, s5); + s1 = peg$c346(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -8451,140 +8510,140 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c430) { - s1 = peg$c430; + if (input.substr(peg$currPos, 7) === peg$c446) { + s1 = peg$c446; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c431); } + if (peg$silentFails === 0) { peg$fail(peg$c447); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c432) { - s1 = peg$c432; + if (input.substr(peg$currPos, 7) === peg$c448) { + s1 = peg$c448; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c433); } + if (peg$silentFails === 0) { peg$fail(peg$c449); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c434) { - s1 = peg$c434; + if (input.substr(peg$currPos, 7) === peg$c450) { + s1 = peg$c450; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c435); } + if (peg$silentFails === 0) { peg$fail(peg$c451); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c436) { - s1 = peg$c436; + if (input.substr(peg$currPos, 7) === peg$c452) { + s1 = peg$c452; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c437); } + if (peg$silentFails === 0) { peg$fail(peg$c453); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c438) { - s1 = peg$c438; + if (input.substr(peg$currPos, 7) === peg$c454) { + s1 = peg$c454; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c439); } + if (peg$silentFails === 0) { peg$fail(peg$c455); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c440) { - s1 = peg$c440; + if (input.substr(peg$currPos, 7) === peg$c456) { + s1 = peg$c456; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c441); } + if (peg$silentFails === 0) { peg$fail(peg$c457); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c442) { - s1 = peg$c442; + if (input.substr(peg$currPos, 6) === peg$c458) { + s1 = peg$c458; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c443); } + if (peg$silentFails === 0) { peg$fail(peg$c459); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c444) { - s1 = peg$c444; + if (input.substr(peg$currPos, 6) === peg$c460) { + s1 = peg$c460; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c445); } + if (peg$silentFails === 0) { peg$fail(peg$c461); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c446) { - s1 = peg$c446; + if (input.substr(peg$currPos, 5) === peg$c462) { + s1 = peg$c462; peg$currPos += 5; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c447); } + if (peg$silentFails === 0) { peg$fail(peg$c463); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c448) { - s1 = peg$c448; + if (input.substr(peg$currPos, 5) === peg$c464) { + s1 = peg$c464; peg$currPos += 5; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c449); } + if (peg$silentFails === 0) { peg$fail(peg$c465); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c450) { - s1 = peg$c450; + if (input.substr(peg$currPos, 7) === peg$c466) { + s1 = peg$c466; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c451); } + if (peg$silentFails === 0) { peg$fail(peg$c467); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c452) { - s1 = peg$c452; + if (input.substr(peg$currPos, 7) === peg$c468) { + s1 = peg$c468; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c453); } + if (peg$silentFails === 0) { peg$fail(peg$c469); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c454) { - s1 = peg$c454; + if (input.substr(peg$currPos, 9) === peg$c470) { + s1 = peg$c470; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c455); } + if (peg$silentFails === 0) { peg$fail(peg$c471); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c456) { - s1 = peg$c456; + if (input.substr(peg$currPos, 9) === peg$c472) { + s1 = peg$c472; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c457); } + if (peg$silentFails === 0) { peg$fail(peg$c473); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c458) { - s1 = peg$c458; + if (input.substr(peg$currPos, 9) === peg$c474) { + s1 = peg$c474; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c459); } + if (peg$silentFails === 0) { peg$fail(peg$c475); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c460) { - s1 = peg$c460; + if (input.substr(peg$currPos, 9) === peg$c476) { + s1 = peg$c476; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c461); } + if (peg$silentFails === 0) { peg$fail(peg$c477); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c462) { - s1 = peg$c462; + if (input.substr(peg$currPos, 9) === peg$c478) { + s1 = peg$c478; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c463); } + if (peg$silentFails === 0) { peg$fail(peg$c479); } } } } @@ -8604,7 +8663,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c464(s1); + s1 = peg$c480(s1); } s0 = s1; @@ -8636,12 +8695,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c465) { - s3 = peg$c465; + if (input.substr(peg$currPos, 5) === peg$c481) { + s3 = peg$c481; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c466); } + if (peg$silentFails === 0) { peg$fail(peg$c482); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8659,7 +8718,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c467(s5); + s1 = peg$c483(s5); s0 = s1; } else { peg$currPos = s0; @@ -8707,12 +8766,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c468) { - s3 = peg$c468; + if (input.substr(peg$currPos, 6) === peg$c484) { + s3 = peg$c484; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c469); } + if (peg$silentFails === 0) { peg$fail(peg$c485); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8733,7 +8792,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c470(s5); + s1 = peg$c486(s5); s0 = s1; } else { peg$currPos = s0; @@ -8781,12 +8840,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c471) { - s3 = peg$c471; + if (input.substr(peg$currPos, 7) === peg$c487) { + s3 = peg$c487; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c472); } + if (peg$silentFails === 0) { peg$fail(peg$c488); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8847,7 +8906,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c473(s3, s5); + s1 = peg$c489(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -8891,12 +8950,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c474) { - s3 = peg$c474; + if (input.substr(peg$currPos, 4) === peg$c490) { + s3 = peg$c490; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c475); } + if (peg$silentFails === 0) { peg$fail(peg$c491); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -8963,7 +9022,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c476(s3, s5); + s1 = peg$c492(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9030,7 +9089,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c186(s3, s5); + s1 = peg$c202(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9068,16 +9127,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c477) { - s1 = peg$c477; + if (input.substr(peg$currPos, 4) === peg$c493) { + s1 = peg$c493; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c478); } + if (peg$silentFails === 0) { peg$fail(peg$c494); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c479(s1); + s1 = peg$c495(s1); } s0 = s1; @@ -9088,16 +9147,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c480) { - s1 = peg$c480; + if (input.substr(peg$currPos, 6) === peg$c496) { + s1 = peg$c496; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c481); } + if (peg$silentFails === 0) { peg$fail(peg$c497); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c479(s1); + s1 = peg$c495(s1); } s0 = s1; @@ -9118,12 +9177,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c482) { - s3 = peg$c482; + if (input.substr(peg$currPos, 7) === peg$c498) { + s3 = peg$c498; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c483); } + if (peg$silentFails === 0) { peg$fail(peg$c499); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -9172,7 +9231,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c484(s3, s5); + s1 = peg$c500(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9206,44 +9265,44 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c485) { - s1 = peg$c485; + if (input.substr(peg$currPos, 4) === peg$c501) { + s1 = peg$c501; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c486); } + if (peg$silentFails === 0) { peg$fail(peg$c502); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c487) { - s1 = peg$c487; + if (input.substr(peg$currPos, 5) === peg$c503) { + s1 = peg$c503; peg$currPos += 5; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c488); } + if (peg$silentFails === 0) { peg$fail(peg$c504); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c489) { - s1 = peg$c489; + if (input.substr(peg$currPos, 3) === peg$c505) { + s1 = peg$c505; peg$currPos += 3; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c490); } + if (peg$silentFails === 0) { peg$fail(peg$c506); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c491) { - s1 = peg$c491; + if (input.substr(peg$currPos, 6) === peg$c507) { + s1 = peg$c507; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c492); } + if (peg$silentFails === 0) { peg$fail(peg$c508); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c253) { - s1 = peg$c253; + if (input.substr(peg$currPos, 6) === peg$c269) { + s1 = peg$c269; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c254); } + if (peg$silentFails === 0) { peg$fail(peg$c270); } } } } @@ -9251,7 +9310,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c493(s1); + s1 = peg$c509(s1); } s0 = s1; @@ -9262,16 +9321,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c64) { - s1 = peg$c64; + if (input.substr(peg$currPos, 4) === peg$c80) { + s1 = peg$c80; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c65); } + if (peg$silentFails === 0) { peg$fail(peg$c81); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c494(s1); + s1 = peg$c510(s1); } s0 = s1; @@ -9292,12 +9351,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c495) { - s3 = peg$c495; + if (input.substr(peg$currPos, 5) === peg$c511) { + s3 = peg$c511; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c496); } + if (peg$silentFails === 0) { peg$fail(peg$c512); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -9318,7 +9377,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c497(s3, s5); + s1 = peg$c513(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9366,12 +9425,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c498) { - s3 = peg$c498; + if (input.substr(peg$currPos, 4) === peg$c514) { + s3 = peg$c514; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c499); } + if (peg$silentFails === 0) { peg$fail(peg$c515); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -9398,7 +9457,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c500(s3, s5); + s1 = peg$c516(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9446,12 +9505,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c501) { - s3 = peg$c501; + if (input.substr(peg$currPos, 4) === peg$c517) { + s3 = peg$c517; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c502); } + if (peg$silentFails === 0) { peg$fail(peg$c518); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -9475,7 +9534,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c500(s3, s5); + s1 = peg$c516(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9540,7 +9599,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c421(s3, s5); + s1 = peg$c437(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9577,60 +9636,60 @@ function peg$parse(input, options) { function peg$parseCOMMON_NUMERIC() { var s0; - if (input.substr(peg$currPos, 25) === peg$c503) { - s0 = peg$c503; + if (input.substr(peg$currPos, 25) === peg$c519) { + s0 = peg$c519; peg$currPos += 25; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c504); } + if (peg$silentFails === 0) { peg$fail(peg$c520); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 18) === peg$c505) { - s0 = peg$c505; + if (input.substr(peg$currPos, 18) === peg$c521) { + s0 = peg$c521; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c506); } + if (peg$silentFails === 0) { peg$fail(peg$c522); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c507) { - s0 = peg$c507; + if (input.substr(peg$currPos, 19) === peg$c523) { + s0 = peg$c523; peg$currPos += 19; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c508); } + if (peg$silentFails === 0) { peg$fail(peg$c524); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 18) === peg$c509) { - s0 = peg$c509; + if (input.substr(peg$currPos, 18) === peg$c525) { + s0 = peg$c525; peg$currPos += 18; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c510); } + if (peg$silentFails === 0) { peg$fail(peg$c526); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c511) { - s0 = peg$c511; + if (input.substr(peg$currPos, 13) === peg$c527) { + s0 = peg$c527; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c512); } + if (peg$silentFails === 0) { peg$fail(peg$c528); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c273) { - s0 = peg$c273; + if (input.substr(peg$currPos, 9) === peg$c289) { + s0 = peg$c289; peg$currPos += 9; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c274); } + if (peg$silentFails === 0) { peg$fail(peg$c290); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c381) { - s0 = peg$c381; + if (input.substr(peg$currPos, 11) === peg$c397) { + s0 = peg$c397; peg$currPos += 11; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c382); } + if (peg$silentFails === 0) { peg$fail(peg$c398); } } } } @@ -9673,7 +9732,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c421(s3, s5); + s1 = peg$c437(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -9710,28 +9769,28 @@ function peg$parse(input, options) { function peg$parseCOMMON_INT() { var s0; - if (input.substr(peg$currPos, 12) === peg$c513) { - s0 = peg$c513; + if (input.substr(peg$currPos, 12) === peg$c529) { + s0 = peg$c529; peg$currPos += 12; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c514); } + if (peg$silentFails === 0) { peg$fail(peg$c530); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c515) { - s0 = peg$c515; + if (input.substr(peg$currPos, 16) === peg$c531) { + s0 = peg$c531; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c516); } + if (peg$silentFails === 0) { peg$fail(peg$c532); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 17) === peg$c517) { - s0 = peg$c517; + if (input.substr(peg$currPos, 17) === peg$c533) { + s0 = peg$c533; peg$currPos += 17; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c518); } + if (peg$silentFails === 0) { peg$fail(peg$c534); } } } } @@ -9753,30 +9812,30 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c519) { - s3 = peg$c519; + if (input.substr(peg$currPos, 4) === peg$c535) { + s3 = peg$c535; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c520); } + if (peg$silentFails === 0) { peg$fail(peg$c536); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c521) { - s5 = peg$c521; + if (input.substr(peg$currPos, 3) === peg$c537) { + s5 = peg$c537; peg$currPos += 3; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c522); } + if (peg$silentFails === 0) { peg$fail(peg$c538); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c523) { - s5 = peg$c523; + if (input.substr(peg$currPos, 7) === peg$c539) { + s5 = peg$c539; peg$currPos += 7; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c524); } + if (peg$silentFails === 0) { peg$fail(peg$c540); } } } if (s5 !== peg$FAILED) { @@ -9798,7 +9857,7 @@ function peg$parse(input, options) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { peg$savedPos = s8; - s9 = peg$c525(s5, s9); + s9 = peg$c541(s5, s9); s8 = s9; } else { peg$currPos = s8; @@ -9825,7 +9884,7 @@ function peg$parse(input, options) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { peg$savedPos = s8; - s9 = peg$c525(s5, s9); + s9 = peg$c541(s5, s9); s8 = s9; } else { peg$currPos = s8; @@ -9846,7 +9905,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c526(s5, s7); + s1 = peg$c542(s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -9898,38 +9957,38 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c527) { - s3 = peg$c527; + if (input.substr(peg$currPos, 7) === peg$c543) { + s3 = peg$c543; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c528); } + if (peg$silentFails === 0) { peg$fail(peg$c544); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c529) { - s5 = peg$c529; + if (input.substr(peg$currPos, 9) === peg$c545) { + s5 = peg$c545; peg$currPos += 9; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c530); } + if (peg$silentFails === 0) { peg$fail(peg$c546); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c531) { - s5 = peg$c531; + if (input.substr(peg$currPos, 5) === peg$c547) { + s5 = peg$c547; peg$currPos += 5; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c532); } + if (peg$silentFails === 0) { peg$fail(peg$c548); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c61) { - s5 = peg$c61; + if (input.substr(peg$currPos, 4) === peg$c77) { + s5 = peg$c77; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c62); } + if (peg$silentFails === 0) { peg$fail(peg$c78); } } } } @@ -10015,7 +10074,7 @@ function peg$parse(input, options) { } if (s12 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c533(s3, s5, s7, s9, s11); + s1 = peg$c549(s3, s5, s7, s9, s11); s0 = s1; } else { peg$currPos = s0; @@ -10083,12 +10142,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c534) { - s3 = peg$c534; + if (input.substr(peg$currPos, 6) === peg$c550) { + s3 = peg$c550; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c535); } + if (peg$silentFails === 0) { peg$fail(peg$c551); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10131,7 +10190,7 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c536(s3, s5, s7, s9, s10); + s1 = peg$c552(s3, s5, s7, s9, s10); s0 = s1; } else { peg$currPos = s0; @@ -10195,12 +10254,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c537) { - s3 = peg$c537; + if (input.substr(peg$currPos, 9) === peg$c553) { + s3 = peg$c553; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c538); } + if (peg$silentFails === 0) { peg$fail(peg$c554); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10226,7 +10285,7 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c539(s3, s5, s7, s9); + s1 = peg$c555(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -10290,12 +10349,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c540) { - s3 = peg$c540; + if (input.substr(peg$currPos, 8) === peg$c556) { + s3 = peg$c556; peg$currPos += 8; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c541); } + if (peg$silentFails === 0) { peg$fail(peg$c557); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10315,7 +10374,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c542(s3, s5, s7); + s1 = peg$c558(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -10367,12 +10426,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c543) { - s3 = peg$c543; + if (input.substr(peg$currPos, 7) === peg$c559) { + s3 = peg$c559; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c544); } + if (peg$silentFails === 0) { peg$fail(peg$c560); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10396,7 +10455,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c545(s3, s5, s7, s9); + s1 = peg$c561(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -10456,12 +10515,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c546) { - s3 = peg$c546; + if (input.substr(peg$currPos, 7) === peg$c562) { + s3 = peg$c562; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c547); } + if (peg$silentFails === 0) { peg$fail(peg$c563); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10485,7 +10544,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c545(s3, s5, s7, s9); + s1 = peg$c561(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -10545,12 +10604,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c548) { - s3 = peg$c548; + if (input.substr(peg$currPos, 7) === peg$c564) { + s3 = peg$c564; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c549); } + if (peg$silentFails === 0) { peg$fail(peg$c565); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10570,7 +10629,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c550(s3, s5, s7); + s1 = peg$c566(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -10672,7 +10731,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c551(s1); + s1 = peg$c567(s1); } s0 = s1; @@ -10693,12 +10752,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c552) { - s3 = peg$c552; + if (input.substr(peg$currPos, 3) === peg$c568) { + s3 = peg$c568; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c553); } + if (peg$silentFails === 0) { peg$fail(peg$c569); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -10722,12 +10781,12 @@ function peg$parse(input, options) { s10 = peg$parse_(); if (s10 !== peg$FAILED) { s11 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c422) { - s12 = peg$c422; + if (input.substr(peg$currPos, 6) === peg$c438) { + s12 = peg$c438; peg$currPos += 6; } else { s12 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c423); } + if (peg$silentFails === 0) { peg$fail(peg$c439); } } if (s12 !== peg$FAILED) { s13 = peg$parse_(); @@ -10790,7 +10849,7 @@ function peg$parse(input, options) { } if (s13 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c554(s5, s7, s9, s11, s12); + s1 = peg$c570(s5, s7, s9, s11, s12); s0 = s1; } else { peg$currPos = s0; @@ -10852,43 +10911,43 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c555) { - s1 = peg$c555; + if (input.substr(peg$currPos, 9) === peg$c571) { + s1 = peg$c571; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c556); } + if (peg$silentFails === 0) { peg$fail(peg$c572); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c557) { - s1 = peg$c557; + if (input.substr(peg$currPos, 12) === peg$c573) { + s1 = peg$c573; peg$currPos += 12; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c558); } + if (peg$silentFails === 0) { peg$fail(peg$c574); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c521) { - s1 = peg$c521; + if (input.substr(peg$currPos, 3) === peg$c537) { + s1 = peg$c537; peg$currPos += 3; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c522); } + if (peg$silentFails === 0) { peg$fail(peg$c538); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c559) { - s1 = peg$c559; + if (input.substr(peg$currPos, 7) === peg$c575) { + s1 = peg$c575; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c560); } + if (peg$silentFails === 0) { peg$fail(peg$c576); } } } } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c561(s1); + s1 = peg$c577(s1); } s0 = s1; @@ -10899,52 +10958,52 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c562) { - s1 = peg$c562; + if (input.substr(peg$currPos, 6) === peg$c578) { + s1 = peg$c578; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c563); } + if (peg$silentFails === 0) { peg$fail(peg$c579); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c564) { - s1 = peg$c564; + if (input.substr(peg$currPos, 4) === peg$c580) { + s1 = peg$c580; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c565); } + if (peg$silentFails === 0) { peg$fail(peg$c581); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c566) { - s1 = peg$c566; + if (input.substr(peg$currPos, 4) === peg$c582) { + s1 = peg$c582; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c567); } + if (peg$silentFails === 0) { peg$fail(peg$c583); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c568) { - s1 = peg$c568; + if (input.substr(peg$currPos, 9) === peg$c584) { + s1 = peg$c584; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c569); } + if (peg$silentFails === 0) { peg$fail(peg$c585); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c570) { - s1 = peg$c570; + if (input.substr(peg$currPos, 9) === peg$c586) { + s1 = peg$c586; peg$currPos += 9; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c571); } + if (peg$silentFails === 0) { peg$fail(peg$c587); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c35) { - s1 = peg$c35; + if (input.substr(peg$currPos, 6) === peg$c588) { + s1 = peg$c588; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c36); } + if (peg$silentFails === 0) { peg$fail(peg$c589); } } } } @@ -10953,7 +11012,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c572(s1); + s1 = peg$c590(s1); } s0 = s1; @@ -11018,48 +11077,48 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c364) { - s3 = peg$c364; + if (input.substr(peg$currPos, 7) === peg$c380) { + s3 = peg$c380; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c365); } + if (peg$silentFails === 0) { peg$fail(peg$c381); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { s5 = []; s6 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c573) { - s7 = peg$c573; + if (input.substr(peg$currPos, 8) === peg$c591) { + s7 = peg$c591; peg$currPos += 8; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c574); } + if (peg$silentFails === 0) { peg$fail(peg$c592); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c575) { - s7 = peg$c575; + if (input.substr(peg$currPos, 9) === peg$c593) { + s7 = peg$c593; peg$currPos += 9; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c576); } + if (peg$silentFails === 0) { peg$fail(peg$c594); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c577) { - s7 = peg$c577; + if (input.substr(peg$currPos, 11) === peg$c595) { + s7 = peg$c595; peg$currPos += 11; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c578); } + if (peg$silentFails === 0) { peg$fail(peg$c596); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c579) { - s7 = peg$c579; + if (input.substr(peg$currPos, 12) === peg$c597) { + s7 = peg$c597; peg$currPos += 12; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c580); } + if (peg$silentFails === 0) { peg$fail(peg$c598); } } } } @@ -11068,7 +11127,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c581(s3, s7); + s7 = peg$c599(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -11082,36 +11141,36 @@ function peg$parse(input, options) { while (s6 !== peg$FAILED) { s5.push(s6); s6 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c573) { - s7 = peg$c573; + if (input.substr(peg$currPos, 8) === peg$c591) { + s7 = peg$c591; peg$currPos += 8; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c574); } + if (peg$silentFails === 0) { peg$fail(peg$c592); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c575) { - s7 = peg$c575; + if (input.substr(peg$currPos, 9) === peg$c593) { + s7 = peg$c593; peg$currPos += 9; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c576); } + if (peg$silentFails === 0) { peg$fail(peg$c594); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c577) { - s7 = peg$c577; + if (input.substr(peg$currPos, 11) === peg$c595) { + s7 = peg$c595; peg$currPos += 11; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c578); } + if (peg$silentFails === 0) { peg$fail(peg$c596); } } if (s7 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c579) { - s7 = peg$c579; + if (input.substr(peg$currPos, 12) === peg$c597) { + s7 = peg$c597; peg$currPos += 12; } else { s7 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c580); } + if (peg$silentFails === 0) { peg$fail(peg$c598); } } } } @@ -11120,7 +11179,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c581(s3, s7); + s7 = peg$c599(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -11144,7 +11203,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c582(s3, s5); + s1 = peg$c600(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -11188,12 +11247,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c583) { - s3 = peg$c583; + if (input.substr(peg$currPos, 4) === peg$c601) { + s3 = peg$c601; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c584); } + if (peg$silentFails === 0) { peg$fail(peg$c602); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11211,7 +11270,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c585(s3, s5); + s1 = peg$c603(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -11259,12 +11318,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c583) { - s3 = peg$c583; + if (input.substr(peg$currPos, 4) === peg$c601) { + s3 = peg$c601; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c584); } + if (peg$silentFails === 0) { peg$fail(peg$c602); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11286,7 +11345,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c586(s3, s5, s7); + s1 = peg$c604(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -11342,12 +11401,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c587) { - s3 = peg$c587; + if (input.substr(peg$currPos, 2) === peg$c605) { + s3 = peg$c605; peg$currPos += 2; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c588); } + if (peg$silentFails === 0) { peg$fail(peg$c606); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11380,12 +11439,12 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { s10 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c589) { - s11 = peg$c589; + if (input.substr(peg$currPos, 8) === peg$c607) { + s11 = peg$c607; peg$currPos += 8; } else { s11 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c590); } + if (peg$silentFails === 0) { peg$fail(peg$c608); } } if (s11 !== peg$FAILED) { s12 = peg$parse_(); @@ -11413,7 +11472,7 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c591(s3, s5, s7, s9, s10); + s1 = peg$c609(s3, s5, s7, s9, s10); s0 = s1; } else { peg$currPos = s0; @@ -11477,12 +11536,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c592) { - s3 = peg$c592; + if (input.substr(peg$currPos, 10) === peg$c610) { + s3 = peg$c610; peg$currPos += 10; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c593); } + if (peg$silentFails === 0) { peg$fail(peg$c611); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11504,7 +11563,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c594(s3, s5, s7); + s1 = peg$c612(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -11560,12 +11619,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c328) { - s3 = peg$c328; + if (input.substr(peg$currPos, 5) === peg$c344) { + s3 = peg$c344; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c329); } + if (peg$silentFails === 0) { peg$fail(peg$c345); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11626,7 +11685,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c595(s3, s5); + s1 = peg$c613(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -11660,16 +11719,16 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c566) { - s1 = peg$c566; + if (input.substr(peg$currPos, 4) === peg$c582) { + s1 = peg$c582; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c567); } + if (peg$silentFails === 0) { peg$fail(peg$c583); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c596(s1); + s1 = peg$c614(s1); } s0 = s1; @@ -11690,12 +11749,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c597) { - s3 = peg$c597; + if (input.substr(peg$currPos, 6) === peg$c615) { + s3 = peg$c615; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c598); } + if (peg$silentFails === 0) { peg$fail(peg$c616); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11717,7 +11776,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c599(s3, s5, s7); + s1 = peg$c617(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -11773,12 +11832,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c57) { - s3 = peg$c57; + if (input.substr(peg$currPos, 6) === peg$c73) { + s3 = peg$c73; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c58); } + if (peg$silentFails === 0) { peg$fail(peg$c74); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -11796,7 +11855,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c600(s3, s7); + s7 = peg$c618(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -11820,7 +11879,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c600(s3, s7); + s7 = peg$c618(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -11841,7 +11900,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c585(s3, s5); + s1 = peg$c603(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -11902,7 +11961,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -11939,28 +11998,28 @@ function peg$parse(input, options) { function peg$parsePAD_NUMERIC() { var s0; - if (input.substr(peg$currPos, 13) === peg$c601) { - s0 = peg$c601; + if (input.substr(peg$currPos, 13) === peg$c619) { + s0 = peg$c619; peg$currPos += 13; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c602); } + if (peg$silentFails === 0) { peg$fail(peg$c620); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c603) { - s0 = peg$c603; + if (input.substr(peg$currPos, 16) === peg$c621) { + s0 = peg$c621; peg$currPos += 16; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c604); } + if (peg$silentFails === 0) { peg$fail(peg$c622); } } if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c605) { - s0 = peg$c605; + if (input.substr(peg$currPos, 10) === peg$c623) { + s0 = peg$c623; peg$currPos += 10; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c606); } + if (peg$silentFails === 0) { peg$fail(peg$c624); } } } } @@ -11982,12 +12041,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c607) { - s3 = peg$c607; + if (input.substr(peg$currPos, 7) === peg$c625) { + s3 = peg$c625; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c608); } + if (peg$silentFails === 0) { peg$fail(peg$c626); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12002,7 +12061,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c600(s3, s7); + s7 = peg$c618(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -12023,7 +12082,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c600(s3, s7); + s7 = peg$c618(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -12044,7 +12103,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -12088,30 +12147,30 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c610) { - s3 = peg$c610; + if (input.substr(peg$currPos, 6) === peg$c628) { + s3 = peg$c628; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c611); } + if (peg$silentFails === 0) { peg$fail(peg$c629); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c562) { - s5 = peg$c562; + if (input.substr(peg$currPos, 6) === peg$c578) { + s5 = peg$c578; peg$currPos += 6; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c563); } + if (peg$silentFails === 0) { peg$fail(peg$c579); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c564) { - s5 = peg$c564; + if (input.substr(peg$currPos, 4) === peg$c580) { + s5 = peg$c580; peg$currPos += 4; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c565); } + if (peg$silentFails === 0) { peg$fail(peg$c581); } } } if (s5 !== peg$FAILED) { @@ -12126,7 +12185,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c612(s3, s5); + s1 = peg$c630(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -12174,30 +12233,30 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c273) { - s3 = peg$c273; + if (input.substr(peg$currPos, 9) === peg$c289) { + s3 = peg$c289; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c274); } + if (peg$silentFails === 0) { peg$fail(peg$c290); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); if (s4 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c613) { - s5 = peg$c613; + if (input.substr(peg$currPos, 7) === peg$c631) { + s5 = peg$c631; peg$currPos += 7; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c614); } + if (peg$silentFails === 0) { peg$fail(peg$c632); } } if (s5 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c615) { - s5 = peg$c615; + if (input.substr(peg$currPos, 10) === peg$c633) { + s5 = peg$c633; peg$currPos += 10; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c616); } + if (peg$silentFails === 0) { peg$fail(peg$c634); } } } if (s5 !== peg$FAILED) { @@ -12212,7 +12271,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c617(s3, s5); + s1 = peg$c635(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -12260,12 +12319,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c618) { - s3 = peg$c618; + if (input.substr(peg$currPos, 10) === peg$c636) { + s3 = peg$c636; peg$currPos += 10; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c619); } + if (peg$silentFails === 0) { peg$fail(peg$c637); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12277,7 +12336,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c620(s3, s7); + s7 = peg$c638(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -12295,7 +12354,7 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { peg$savedPos = s6; - s7 = peg$c620(s3, s7); + s7 = peg$c638(s3, s7); s6 = s7; } else { peg$currPos = s6; @@ -12316,7 +12375,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -12383,12 +12442,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c621) { - s3 = peg$c621; + if (input.substr(peg$currPos, 6) === peg$c639) { + s3 = peg$c639; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c622); } + if (peg$silentFails === 0) { peg$fail(peg$c640); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12412,7 +12471,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c623(s3, s5, s7, s9); + s1 = peg$c641(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -12472,12 +12531,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c624) { - s3 = peg$c624; + if (input.substr(peg$currPos, 9) === peg$c642) { + s3 = peg$c642; peg$currPos += 9; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c625); } + if (peg$silentFails === 0) { peg$fail(peg$c643); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12501,7 +12560,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c623(s3, s5, s7, s9); + s1 = peg$c641(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -12561,12 +12620,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c626) { - s3 = peg$c626; + if (input.substr(peg$currPos, 8) === peg$c644) { + s3 = peg$c644; peg$currPos += 8; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c627); } + if (peg$silentFails === 0) { peg$fail(peg$c645); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12586,7 +12645,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c542(s3, s5, s7); + s1 = peg$c558(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -12638,12 +12697,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c628) { - s3 = peg$c628; + if (input.substr(peg$currPos, 3) === peg$c646) { + s3 = peg$c646; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c629); } + if (peg$silentFails === 0) { peg$fail(peg$c647); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12673,7 +12732,7 @@ function peg$parse(input, options) { } if (s13 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c630(s5, s7, s9, s11); + s1 = peg$c648(s5, s7, s9, s11); s0 = s1; } else { peg$currPos = s0; @@ -12745,12 +12804,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c631) { - s3 = peg$c631; + if (input.substr(peg$currPos, 7) === peg$c649) { + s3 = peg$c649; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c632); } + if (peg$silentFails === 0) { peg$fail(peg$c650); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12774,7 +12833,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c633(s3, s5, s7, s9); + s1 = peg$c651(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -12834,12 +12893,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c634) { - s3 = peg$c634; + if (input.substr(peg$currPos, 7) === peg$c652) { + s3 = peg$c652; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c635); } + if (peg$silentFails === 0) { peg$fail(peg$c653); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12863,7 +12922,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c633(s3, s5, s7, s9); + s1 = peg$c651(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -12923,12 +12982,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c636) { - s3 = peg$c636; + if (input.substr(peg$currPos, 7) === peg$c654) { + s3 = peg$c654; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c637); } + if (peg$silentFails === 0) { peg$fail(peg$c655); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -12948,7 +13007,7 @@ function peg$parse(input, options) { } if (s8 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c638(s3, s5, s7); + s1 = peg$c656(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -13000,12 +13059,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c639) { - s3 = peg$c639; + if (input.substr(peg$currPos, 7) === peg$c657) { + s3 = peg$c657; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c640); } + if (peg$silentFails === 0) { peg$fail(peg$c658); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13077,7 +13136,7 @@ function peg$parse(input, options) { } if (s10 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c641(s3, s5, s7, s9); + s1 = peg$c659(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -13193,7 +13252,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c551(s1); + s1 = peg$c567(s1); } s0 = s1; @@ -13214,12 +13273,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c642) { - s3 = peg$c642; + if (input.substr(peg$currPos, 6) === peg$c660) { + s3 = peg$c660; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c643); } + if (peg$silentFails === 0) { peg$fail(peg$c661); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13237,7 +13296,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c644(s3, s5); + s1 = peg$c662(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13285,12 +13344,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c356) { - s3 = peg$c356; + if (input.substr(peg$currPos, 4) === peg$c372) { + s3 = peg$c372; peg$currPos += 4; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c357); } + if (peg$silentFails === 0) { peg$fail(peg$c373); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13308,7 +13367,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c645(s3, s5); + s1 = peg$c663(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13356,12 +13415,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c646) { - s3 = peg$c646; + if (input.substr(peg$currPos, 5) === peg$c664) { + s3 = peg$c664; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c647); } + if (peg$silentFails === 0) { peg$fail(peg$c665); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13379,7 +13438,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c645(s3, s5); + s1 = peg$c663(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13427,12 +13486,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c648) { - s3 = peg$c648; + if (input.substr(peg$currPos, 5) === peg$c666) { + s3 = peg$c666; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c649); } + if (peg$silentFails === 0) { peg$fail(peg$c667); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13450,7 +13509,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13498,12 +13557,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c650) { - s3 = peg$c650; + if (input.substr(peg$currPos, 3) === peg$c668) { + s3 = peg$c668; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c651); } + if (peg$silentFails === 0) { peg$fail(peg$c669); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13521,7 +13580,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c652(s3, s5); + s1 = peg$c670(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13569,12 +13628,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c653) { - s3 = peg$c653; + if (input.substr(peg$currPos, 5) === peg$c671) { + s3 = peg$c671; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c654); } + if (peg$silentFails === 0) { peg$fail(peg$c672); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13592,7 +13651,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c652(s3, s5); + s1 = peg$c670(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13637,7 +13696,7 @@ function peg$parse(input, options) { s3 = peg$parsenumber(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c655(s1, s3); + s1 = peg$c673(s1, s3); s0 = s1; } else { peg$currPos = s0; @@ -13669,20 +13728,20 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c653) { - s3 = peg$c653; + if (input.substr(peg$currPos, 5) === peg$c671) { + s3 = peg$c671; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c654); } + if (peg$silentFails === 0) { peg$fail(peg$c672); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c656) { - s3 = peg$c656; + if (input.substr(peg$currPos, 6) === peg$c674) { + s3 = peg$c674; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c657); } + if (peg$silentFails === 0) { peg$fail(peg$c675); } } } if (s3 !== peg$FAILED) { @@ -13701,7 +13760,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c658(s3, s5); + s1 = peg$c676(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13749,12 +13808,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c656) { - s3 = peg$c656; + if (input.substr(peg$currPos, 6) === peg$c674) { + s3 = peg$c674; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c657); } + if (peg$silentFails === 0) { peg$fail(peg$c675); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13772,7 +13831,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13820,12 +13879,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c659) { - s3 = peg$c659; + if (input.substr(peg$currPos, 3) === peg$c677) { + s3 = peg$c677; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c660); } + if (peg$silentFails === 0) { peg$fail(peg$c678); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13843,7 +13902,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13891,12 +13950,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c628) { - s3 = peg$c628; + if (input.substr(peg$currPos, 3) === peg$c646) { + s3 = peg$c646; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c629); } + if (peg$silentFails === 0) { peg$fail(peg$c647); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -13949,7 +14008,7 @@ function peg$parse(input, options) { } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c661(s3, s5); + s1 = peg$c679(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -13993,12 +14052,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c662) { - s3 = peg$c662; + if (input.substr(peg$currPos, 2) === peg$c680) { + s3 = peg$c680; peg$currPos += 2; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c663); } + if (peg$silentFails === 0) { peg$fail(peg$c681); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -14016,7 +14075,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c609(s3, s5); + s1 = peg$c627(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -14064,12 +14123,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c664) { - s3 = peg$c664; + if (input.substr(peg$currPos, 5) === peg$c682) { + s3 = peg$c682; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c665); } + if (peg$silentFails === 0) { peg$fail(peg$c683); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -14139,7 +14198,7 @@ function peg$parse(input, options) { } if (s9 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c666(s3, s5, s7); + s1 = peg$c684(s3, s5, s7); s0 = s1; } else { peg$currPos = s0; @@ -14195,12 +14254,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c667) { - s3 = peg$c667; + if (input.substr(peg$currPos, 7) === peg$c685) { + s3 = peg$c685; peg$currPos += 7; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c668); } + if (peg$silentFails === 0) { peg$fail(peg$c686); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -14218,7 +14277,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c669(s5); + s1 = peg$c687(s5); s0 = s1; } else { peg$currPos = s0; @@ -14266,36 +14325,36 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c587) { - s3 = peg$c587; + if (input.substr(peg$currPos, 2) === peg$c605) { + s3 = peg$c605; peg$currPos += 2; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c588); } + if (peg$silentFails === 0) { peg$fail(peg$c606); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c597) { - s3 = peg$c597; + if (input.substr(peg$currPos, 6) === peg$c615) { + s3 = peg$c615; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c598); } + if (peg$silentFails === 0) { peg$fail(peg$c616); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c670) { - s3 = peg$c670; + if (input.substr(peg$currPos, 5) === peg$c688) { + s3 = peg$c688; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c671); } + if (peg$silentFails === 0) { peg$fail(peg$c689); } } if (s3 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c672) { - s3 = peg$c672; + if (input.substr(peg$currPos, 6) === peg$c690) { + s3 = peg$c690; peg$currPos += 6; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c673); } + if (peg$silentFails === 0) { peg$fail(peg$c691); } } } } @@ -14316,7 +14375,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c674(s3, s5); + s1 = peg$c692(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -14364,12 +14423,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c675) { - s3 = peg$c675; + if (input.substr(peg$currPos, 3) === peg$c693) { + s3 = peg$c693; peg$currPos += 3; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c676); } + if (peg$silentFails === 0) { peg$fail(peg$c694); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -14395,7 +14454,7 @@ function peg$parse(input, options) { } if (s11 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c677(s3, s5, s7, s9); + s1 = peg$c695(s3, s5, s7, s9); s0 = s1; } else { peg$currPos = s0; @@ -14450,11 +14509,11 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 34) { - s1 = peg$c678; + s1 = peg$c696; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c679); } + if (peg$silentFails === 0) { peg$fail(peg$c697); } } if (s1 !== peg$FAILED) { s2 = []; @@ -14465,15 +14524,15 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 34) { - s3 = peg$c678; + s3 = peg$c696; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c679); } + if (peg$silentFails === 0) { peg$fail(peg$c697); } } if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c680(s2); + s1 = peg$c698(s2); s0 = s1; } else { peg$currPos = s0; @@ -14490,11 +14549,11 @@ function peg$parse(input, options) { if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 39) { - s1 = peg$c681; + s1 = peg$c699; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c682); } + if (peg$silentFails === 0) { peg$fail(peg$c700); } } if (s1 !== peg$FAILED) { s2 = []; @@ -14505,15 +14564,15 @@ function peg$parse(input, options) { } if (s2 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 39) { - s3 = peg$c681; + s3 = peg$c699; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c682); } + if (peg$silentFails === 0) { peg$fail(peg$c700); } } if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c680(s2); + s1 = peg$c698(s2); s0 = s1; } else { peg$currPos = s0; @@ -14539,19 +14598,19 @@ function peg$parse(input, options) { s1 = peg$currPos; peg$silentFails++; if (input.charCodeAt(peg$currPos) === 34) { - s2 = peg$c678; + s2 = peg$c696; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c679); } + if (peg$silentFails === 0) { peg$fail(peg$c697); } } if (s2 === peg$FAILED) { if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c683; + s2 = peg$c701; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c684); } + if (peg$silentFails === 0) { peg$fail(peg$c702); } } } peg$silentFails--; @@ -14567,11 +14626,11 @@ function peg$parse(input, options) { peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c685); } + if (peg$silentFails === 0) { peg$fail(peg$c703); } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c686(s2); + s1 = peg$c704(s2); s0 = s1; } else { peg$currPos = s0; @@ -14584,17 +14643,17 @@ function peg$parse(input, options) { if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 92) { - s1 = peg$c683; + s1 = peg$c701; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c684); } + if (peg$silentFails === 0) { peg$fail(peg$c702); } } if (s1 !== peg$FAILED) { s2 = peg$parseEscapeSequence(); if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c687(s2); + s1 = peg$c705(s2); s0 = s1; } else { peg$currPos = s0; @@ -14616,19 +14675,19 @@ function peg$parse(input, options) { s1 = peg$currPos; peg$silentFails++; if (input.charCodeAt(peg$currPos) === 39) { - s2 = peg$c681; + s2 = peg$c699; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c682); } + if (peg$silentFails === 0) { peg$fail(peg$c700); } } if (s2 === peg$FAILED) { if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c683; + s2 = peg$c701; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c684); } + if (peg$silentFails === 0) { peg$fail(peg$c702); } } } peg$silentFails--; @@ -14644,11 +14703,11 @@ function peg$parse(input, options) { peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c685); } + if (peg$silentFails === 0) { peg$fail(peg$c703); } } if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c686(s2); + s1 = peg$c704(s2); s0 = s1; } else { peg$currPos = s0; @@ -14661,17 +14720,17 @@ function peg$parse(input, options) { if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 92) { - s1 = peg$c683; + s1 = peg$c701; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c684); } + if (peg$silentFails === 0) { peg$fail(peg$c702); } } if (s1 !== peg$FAILED) { s2 = peg$parseEscapeSequence(); if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c687(s2); + s1 = peg$c705(s2); s0 = s1; } else { peg$currPos = s0; @@ -14690,110 +14749,110 @@ function peg$parse(input, options) { var s0, s1; if (input.charCodeAt(peg$currPos) === 39) { - s0 = peg$c681; + s0 = peg$c699; peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c682); } + if (peg$silentFails === 0) { peg$fail(peg$c700); } } if (s0 === peg$FAILED) { if (input.charCodeAt(peg$currPos) === 34) { - s0 = peg$c678; + s0 = peg$c696; peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c679); } + if (peg$silentFails === 0) { peg$fail(peg$c697); } } if (s0 === peg$FAILED) { if (input.charCodeAt(peg$currPos) === 92) { - s0 = peg$c683; + s0 = peg$c701; peg$currPos++; } else { s0 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c684); } + if (peg$silentFails === 0) { peg$fail(peg$c702); } } if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 98) { - s1 = peg$c688; + s1 = peg$c706; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c689); } + if (peg$silentFails === 0) { peg$fail(peg$c707); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c690(); + s1 = peg$c708(); } s0 = s1; if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 102) { - s1 = peg$c691; + s1 = peg$c709; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c692); } + if (peg$silentFails === 0) { peg$fail(peg$c710); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c693(); + s1 = peg$c711(); } s0 = s1; if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 110) { - s1 = peg$c694; + s1 = peg$c712; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c695); } + if (peg$silentFails === 0) { peg$fail(peg$c713); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c696(); + s1 = peg$c714(); } s0 = s1; if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 114) { - s1 = peg$c697; + s1 = peg$c715; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c698); } + if (peg$silentFails === 0) { peg$fail(peg$c716); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c699(); + s1 = peg$c717(); } s0 = s1; if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 116) { - s1 = peg$c700; + s1 = peg$c718; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c701); } + if (peg$silentFails === 0) { peg$fail(peg$c719); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c702(); + s1 = peg$c720(); } s0 = s1; if (s0 === peg$FAILED) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 118) { - s1 = peg$c703; + s1 = peg$c721; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c704); } + if (peg$silentFails === 0) { peg$fail(peg$c722); } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c705(); + s1 = peg$c723(); } s0 = s1; } @@ -14870,7 +14929,7 @@ function peg$parse(input, options) { s6 = peg$parse_(); if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c706(s4); + s1 = peg$c724(s4); s0 = s1; } else { peg$currPos = s0; @@ -14928,11 +14987,11 @@ function peg$parse(input, options) { s0 = peg$currPos; if (input.charCodeAt(peg$currPos) === 91) { - s1 = peg$c707; + s1 = peg$c725; peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c708); } + if (peg$silentFails === 0) { peg$fail(peg$c726); } } if (s1 !== peg$FAILED) { s2 = peg$parse_(); @@ -14960,11 +15019,11 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s9 = peg$c709; + s9 = peg$c727; peg$currPos++; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c710); } + if (peg$silentFails === 0) { peg$fail(peg$c728); } } if (s9 !== peg$FAILED) { s10 = peg$parse_(); @@ -15001,11 +15060,11 @@ function peg$parse(input, options) { s8 = peg$parse_(); if (s8 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 44) { - s9 = peg$c709; + s9 = peg$c727; peg$currPos++; } else { s9 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c710); } + if (peg$silentFails === 0) { peg$fail(peg$c728); } } if (s9 !== peg$FAILED) { s10 = peg$parse_(); @@ -15031,15 +15090,15 @@ function peg$parse(input, options) { } if (s5 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 93) { - s6 = peg$c711; + s6 = peg$c729; peg$currPos++; } else { s6 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c712); } + if (peg$silentFails === 0) { peg$fail(peg$c730); } } if (s6 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c713(s3, s5); + s1 = peg$c731(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -15075,22 +15134,22 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = peg$currPos; s2 = []; - if (peg$c714.test(input.charAt(peg$currPos))) { + if (peg$c732.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c715); } + if (peg$silentFails === 0) { peg$fail(peg$c733); } } if (s3 !== peg$FAILED) { while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c714.test(input.charAt(peg$currPos))) { + if (peg$c732.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c715); } + if (peg$silentFails === 0) { peg$fail(peg$c733); } } } } else { @@ -15103,7 +15162,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c716(s1); + s1 = peg$c734(s1); } s0 = s1; @@ -15115,27 +15174,27 @@ function peg$parse(input, options) { peg$silentFails++; s0 = []; - if (peg$c718.test(input.charAt(peg$currPos))) { + if (peg$c736.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c719); } + if (peg$silentFails === 0) { peg$fail(peg$c737); } } while (s1 !== peg$FAILED) { s0.push(s1); - if (peg$c718.test(input.charAt(peg$currPos))) { + if (peg$c736.test(input.charAt(peg$currPos))) { s1 = input.charAt(peg$currPos); peg$currPos++; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c719); } + if (peg$silentFails === 0) { peg$fail(peg$c737); } } } peg$silentFails--; if (s0 === peg$FAILED) { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c717); } + if (peg$silentFails === 0) { peg$fail(peg$c735); } } return s0; @@ -15147,12 +15206,12 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = peg$currPos; s2 = peg$currPos; - if (peg$c720.test(input.charAt(peg$currPos))) { + if (peg$c738.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c721); } + if (peg$silentFails === 0) { peg$fail(peg$c739); } } if (s3 === peg$FAILED) { s3 = null; @@ -15183,7 +15242,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c722(s1); + s1 = peg$c740(s1); } s0 = s1; @@ -15199,7 +15258,7 @@ function peg$parse(input, options) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c723(s1); + s1 = peg$c741(s1); s0 = s1; } else { peg$currPos = s0; @@ -15223,11 +15282,11 @@ function peg$parse(input, options) { if (s3 !== peg$FAILED) { s4 = peg$currPos; if (input.charCodeAt(peg$currPos) === 46) { - s5 = peg$c724; + s5 = peg$c742; peg$currPos++; } else { s5 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c725); } + if (peg$silentFails === 0) { peg$fail(peg$c743); } } if (s5 !== peg$FAILED) { s6 = peg$parsedigits(); @@ -15262,11 +15321,11 @@ function peg$parse(input, options) { if (s2 === peg$FAILED) { s2 = peg$currPos; if (input.charCodeAt(peg$currPos) === 46) { - s3 = peg$c724; + s3 = peg$c742; peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c725); } + if (peg$silentFails === 0) { peg$fail(peg$c743); } } if (s3 !== peg$FAILED) { s4 = peg$parsedigits(); @@ -15289,7 +15348,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c726(s1); + s1 = peg$c744(s1); } s0 = s1; @@ -15303,17 +15362,17 @@ function peg$parse(input, options) { s1 = peg$parsedigits(); if (s1 !== peg$FAILED) { if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c727; + s2 = peg$c745; peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c728); } + if (peg$silentFails === 0) { peg$fail(peg$c746); } } if (s2 !== peg$FAILED) { s3 = peg$parsedigits(); if (s3 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c729(s1, s3); + s1 = peg$c747(s1, s3); s0 = s1; } else { peg$currPos = s0; @@ -15336,22 +15395,22 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = []; - if (peg$c730.test(input.charAt(peg$currPos))) { + if (peg$c748.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c731); } + if (peg$silentFails === 0) { peg$fail(peg$c749); } } if (s2 !== peg$FAILED) { while (s2 !== peg$FAILED) { s1.push(s2); - if (peg$c730.test(input.charAt(peg$currPos))) { + if (peg$c748.test(input.charAt(peg$currPos))) { s2 = input.charAt(peg$currPos); peg$currPos++; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c731); } + if (peg$silentFails === 0) { peg$fail(peg$c749); } } } } else { @@ -15372,22 +15431,22 @@ function peg$parse(input, options) { s0 = peg$currPos; s1 = peg$currPos; s2 = []; - if (peg$c732.test(input.charAt(peg$currPos))) { + if (peg$c750.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c733); } + if (peg$silentFails === 0) { peg$fail(peg$c751); } } if (s3 !== peg$FAILED) { while (s3 !== peg$FAILED) { s2.push(s3); - if (peg$c732.test(input.charAt(peg$currPos))) { + if (peg$c750.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c733); } + if (peg$silentFails === 0) { peg$fail(peg$c751); } } } } else { @@ -15400,7 +15459,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c734(s1); + s1 = peg$c752(s1); } s0 = s1; @@ -15411,25 +15470,25 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c358) { - s1 = peg$c358; + if (input.substr(peg$currPos, 3) === peg$c374) { + s1 = peg$c374; peg$currPos += 3; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c359); } + if (peg$silentFails === 0) { peg$fail(peg$c375); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c405) { - s1 = peg$c405; + if (input.substr(peg$currPos, 2) === peg$c421) { + s1 = peg$c421; peg$currPos += 2; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c406); } + if (peg$silentFails === 0) { peg$fail(peg$c422); } } } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c735(s1); + s1 = peg$c753(s1); } s0 = s1; @@ -15450,12 +15509,12 @@ function peg$parse(input, options) { if (s1 !== peg$FAILED) { s2 = peg$parse_(); if (s2 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c428) { - s3 = peg$c428; + if (input.substr(peg$currPos, 5) === peg$c444) { + s3 = peg$c444; peg$currPos += 5; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c429); } + if (peg$silentFails === 0) { peg$fail(peg$c445); } } if (s3 !== peg$FAILED) { s4 = peg$parse_(); @@ -15473,7 +15532,7 @@ function peg$parse(input, options) { } if (s7 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c70(s3, s5); + s1 = peg$c86(s3, s5); s0 = s1; } else { peg$currPos = s0; @@ -15511,260 +15570,260 @@ function peg$parse(input, options) { var s0, s1; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c736) { - s1 = peg$c736; + if (input.substr(peg$currPos, 4) === peg$c754) { + s1 = peg$c754; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c737); } + if (peg$silentFails === 0) { peg$fail(peg$c755); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c738) { - s1 = peg$c738; + if (input.substr(peg$currPos, 4) === peg$c756) { + s1 = peg$c756; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c739); } + if (peg$silentFails === 0) { peg$fail(peg$c757); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c740) { - s1 = peg$c740; + if (input.substr(peg$currPos, 6) === peg$c758) { + s1 = peg$c758; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c741); } + if (peg$silentFails === 0) { peg$fail(peg$c759); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c742) { - s1 = peg$c742; + if (input.substr(peg$currPos, 6) === peg$c760) { + s1 = peg$c760; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c743); } + if (peg$silentFails === 0) { peg$fail(peg$c761); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c744) { - s1 = peg$c744; + if (input.substr(peg$currPos, 6) === peg$c762) { + s1 = peg$c762; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c745); } + if (peg$silentFails === 0) { peg$fail(peg$c763); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c746) { - s1 = peg$c746; + if (input.substr(peg$currPos, 6) === peg$c764) { + s1 = peg$c764; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c747); } + if (peg$silentFails === 0) { peg$fail(peg$c765); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c748) { - s1 = peg$c748; + if (input.substr(peg$currPos, 6) === peg$c766) { + s1 = peg$c766; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c749); } + if (peg$silentFails === 0) { peg$fail(peg$c767); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c750) { - s1 = peg$c750; + if (input.substr(peg$currPos, 6) === peg$c768) { + s1 = peg$c768; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c751); } + if (peg$silentFails === 0) { peg$fail(peg$c769); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c752) { - s1 = peg$c752; + if (input.substr(peg$currPos, 6) === peg$c770) { + s1 = peg$c770; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c753); } + if (peg$silentFails === 0) { peg$fail(peg$c771); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c754) { - s1 = peg$c754; + if (input.substr(peg$currPos, 6) === peg$c772) { + s1 = peg$c772; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c755); } + if (peg$silentFails === 0) { peg$fail(peg$c773); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c756) { - s1 = peg$c756; + if (input.substr(peg$currPos, 6) === peg$c774) { + s1 = peg$c774; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c757); } + if (peg$silentFails === 0) { peg$fail(peg$c775); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c758) { - s1 = peg$c758; + if (input.substr(peg$currPos, 7) === peg$c776) { + s1 = peg$c776; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c759); } + if (peg$silentFails === 0) { peg$fail(peg$c777); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c760) { - s1 = peg$c760; + if (input.substr(peg$currPos, 7) === peg$c778) { + s1 = peg$c778; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c761); } + if (peg$silentFails === 0) { peg$fail(peg$c779); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c762) { - s1 = peg$c762; + if (input.substr(peg$currPos, 7) === peg$c780) { + s1 = peg$c780; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c763); } + if (peg$silentFails === 0) { peg$fail(peg$c781); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c764) { - s1 = peg$c764; + if (input.substr(peg$currPos, 7) === peg$c782) { + s1 = peg$c782; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c765); } + if (peg$silentFails === 0) { peg$fail(peg$c783); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c766) { - s1 = peg$c766; + if (input.substr(peg$currPos, 7) === peg$c784) { + s1 = peg$c784; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c767); } + if (peg$silentFails === 0) { peg$fail(peg$c785); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c768) { - s1 = peg$c768; + if (input.substr(peg$currPos, 7) === peg$c786) { + s1 = peg$c786; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c769); } + if (peg$silentFails === 0) { peg$fail(peg$c787); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c770) { - s1 = peg$c770; + if (input.substr(peg$currPos, 7) === peg$c788) { + s1 = peg$c788; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c771); } + if (peg$silentFails === 0) { peg$fail(peg$c789); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c772) { - s1 = peg$c772; + if (input.substr(peg$currPos, 7) === peg$c790) { + s1 = peg$c790; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c773); } + if (peg$silentFails === 0) { peg$fail(peg$c791); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c774) { - s1 = peg$c774; + if (input.substr(peg$currPos, 7) === peg$c792) { + s1 = peg$c792; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c775); } + if (peg$silentFails === 0) { peg$fail(peg$c793); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c776) { - s1 = peg$c776; + if (input.substr(peg$currPos, 7) === peg$c794) { + s1 = peg$c794; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c777); } + if (peg$silentFails === 0) { peg$fail(peg$c795); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c778) { - s1 = peg$c778; + if (input.substr(peg$currPos, 7) === peg$c796) { + s1 = peg$c796; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c779); } + if (peg$silentFails === 0) { peg$fail(peg$c797); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c780) { - s1 = peg$c780; + if (input.substr(peg$currPos, 7) === peg$c798) { + s1 = peg$c798; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c781); } + if (peg$silentFails === 0) { peg$fail(peg$c799); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c782) { - s1 = peg$c782; + if (input.substr(peg$currPos, 7) === peg$c800) { + s1 = peg$c800; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c783); } + if (peg$silentFails === 0) { peg$fail(peg$c801); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c784) { - s1 = peg$c784; + if (input.substr(peg$currPos, 7) === peg$c802) { + s1 = peg$c802; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c785); } + if (peg$silentFails === 0) { peg$fail(peg$c803); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c786) { - s1 = peg$c786; + if (input.substr(peg$currPos, 7) === peg$c804) { + s1 = peg$c804; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c787); } + if (peg$silentFails === 0) { peg$fail(peg$c805); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c788) { - s1 = peg$c788; + if (input.substr(peg$currPos, 7) === peg$c806) { + s1 = peg$c806; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c789); } + if (peg$silentFails === 0) { peg$fail(peg$c807); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c790) { - s1 = peg$c790; + if (input.substr(peg$currPos, 7) === peg$c808) { + s1 = peg$c808; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c791); } + if (peg$silentFails === 0) { peg$fail(peg$c809); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c792) { - s1 = peg$c792; + if (input.substr(peg$currPos, 7) === peg$c810) { + s1 = peg$c810; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c793); } + if (peg$silentFails === 0) { peg$fail(peg$c811); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c794) { - s1 = peg$c794; + if (input.substr(peg$currPos, 7) === peg$c812) { + s1 = peg$c812; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c795); } + if (peg$silentFails === 0) { peg$fail(peg$c813); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c796) { - s1 = peg$c796; + if (input.substr(peg$currPos, 7) === peg$c814) { + s1 = peg$c814; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c797); } + if (peg$silentFails === 0) { peg$fail(peg$c815); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c798) { - s1 = peg$c798; + if (input.substr(peg$currPos, 7) === peg$c816) { + s1 = peg$c816; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c799); } + if (peg$silentFails === 0) { peg$fail(peg$c817); } } } } @@ -15799,7 +15858,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c800(s1); + s1 = peg$c818(s1); } s0 = s1; @@ -15810,101 +15869,101 @@ function peg$parse(input, options) { var s0, s1, s2, s3, s4; s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c801) { - s1 = peg$c801; + if (input.substr(peg$currPos, 4) === peg$c819) { + s1 = peg$c819; peg$currPos += 4; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c802); } + if (peg$silentFails === 0) { peg$fail(peg$c820); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c803) { - s1 = peg$c803; + if (input.substr(peg$currPos, 6) === peg$c821) { + s1 = peg$c821; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c804); } + if (peg$silentFails === 0) { peg$fail(peg$c822); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c805) { - s1 = peg$c805; + if (input.substr(peg$currPos, 6) === peg$c823) { + s1 = peg$c823; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c806); } + if (peg$silentFails === 0) { peg$fail(peg$c824); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c807) { - s1 = peg$c807; + if (input.substr(peg$currPos, 7) === peg$c825) { + s1 = peg$c825; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c808); } + if (peg$silentFails === 0) { peg$fail(peg$c826); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c809) { - s1 = peg$c809; + if (input.substr(peg$currPos, 7) === peg$c827) { + s1 = peg$c827; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c810); } + if (peg$silentFails === 0) { peg$fail(peg$c828); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c811) { - s1 = peg$c811; + if (input.substr(peg$currPos, 6) === peg$c829) { + s1 = peg$c829; peg$currPos += 6; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c812); } + if (peg$silentFails === 0) { peg$fail(peg$c830); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c813) { - s1 = peg$c813; + if (input.substr(peg$currPos, 7) === peg$c831) { + s1 = peg$c831; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c814); } + if (peg$silentFails === 0) { peg$fail(peg$c832); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c815) { - s1 = peg$c815; + if (input.substr(peg$currPos, 5) === peg$c833) { + s1 = peg$c833; peg$currPos += 5; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c816); } + if (peg$silentFails === 0) { peg$fail(peg$c834); } } if (s1 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c817) { - s1 = peg$c817; + if (input.substr(peg$currPos, 7) === peg$c835) { + s1 = peg$c835; peg$currPos += 7; } else { s1 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c818); } + if (peg$silentFails === 0) { peg$fail(peg$c836); } } if (s1 === peg$FAILED) { s1 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c819) { - s2 = peg$c819; + if (input.substr(peg$currPos, 5) === peg$c837) { + s2 = peg$c837; peg$currPos += 5; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c820); } + if (peg$silentFails === 0) { peg$fail(peg$c838); } } if (s2 !== peg$FAILED) { - if (peg$c821.test(input.charAt(peg$currPos))) { + if (peg$c839.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c822); } + if (peg$silentFails === 0) { peg$fail(peg$c840); } } if (s3 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c823) { - s4 = peg$c823; + if (input.substr(peg$currPos, 3) === peg$c841) { + s4 = peg$c841; peg$currPos += 3; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c824); } + if (peg$silentFails === 0) { peg$fail(peg$c842); } } if (s4 !== peg$FAILED) { s2 = [s2, s3, s4]; @@ -15923,28 +15982,28 @@ function peg$parse(input, options) { } if (s1 === peg$FAILED) { s1 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c825) { - s2 = peg$c825; + if (input.substr(peg$currPos, 6) === peg$c843) { + s2 = peg$c843; peg$currPos += 6; } else { s2 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c826); } + if (peg$silentFails === 0) { peg$fail(peg$c844); } } if (s2 !== peg$FAILED) { - if (peg$c827.test(input.charAt(peg$currPos))) { + if (peg$c845.test(input.charAt(peg$currPos))) { s3 = input.charAt(peg$currPos); peg$currPos++; } else { s3 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c828); } + if (peg$silentFails === 0) { peg$fail(peg$c846); } } if (s3 !== peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c823) { - s4 = peg$c823; + if (input.substr(peg$currPos, 3) === peg$c841) { + s4 = peg$c841; peg$currPos += 3; } else { s4 = peg$FAILED; - if (peg$silentFails === 0) { peg$fail(peg$c824); } + if (peg$silentFails === 0) { peg$fail(peg$c842); } } if (s4 !== peg$FAILED) { s2 = [s2, s3, s4]; @@ -15973,7 +16032,7 @@ function peg$parse(input, options) { } if (s1 !== peg$FAILED) { peg$savedPos = s0; - s1 = peg$c800(s1); + s1 = peg$c818(s1); } s0 = s1; diff --git a/src/module.pegjs b/src/module.pegjs index 762c388..16a4df8 100644 --- a/src/module.pegjs +++ b/src/module.pegjs @@ -59,10 +59,14 @@ general_array_opt paper /* parsePAGE_INFO */ = "(" _ ("page"/"paper") _ - ((("custom"/"User") _ height:number _ width:number )/symbol) _ + size:("A0"/"A1"/"A2"/"A3"/"A4"/"A5"/"A"/"B"/"C"/"D") _ portrait:("portrait" _ )? ")" { - return {type: "page info", value: { type:"string", value:"unsupported" }} + const value = [ + { type: "size", value: {type: "string", value: size } }, + { type: "portrait", value: { type: "boolean", value: !!portrait } } + ] + return {type: "page", value} } title_block /* parseTITLE_BLOCK */