New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fbp

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fbp - npm Package Compare versions

Comparing version 1.1.4 to 1.1.7

2

component.json
{
"name": "fbp",
"description": "Parser for the .fbp flow definition language",
"version": "1.1.3",
"version": "1.1.7",
"scripts": [

@@ -6,0 +6,0 @@ "lib/fbp.js"

module.exports = (function() {
"use strict";
/*
* Generated by PEG.js 0.8.0.
* Generated by PEG.js 0.9.0.
*
* http://pegjs.majda.cz/
* http://pegjs.org/
*/

@@ -14,17 +16,19 @@

function SyntaxError(message, expected, found, offset, line, column) {
function peg$SyntaxError(message, expected, found, location) {
this.message = message;
this.expected = expected;
this.found = found;
this.offset = offset;
this.line = line;
this.column = column;
this.location = location;
this.name = "SyntaxError";
this.name = "SyntaxError";
if (typeof Error.captureStackTrace === "function") {
Error.captureStackTrace(this, peg$SyntaxError);
}
}
peg$subclass(SyntaxError, Error);
peg$subclass(peg$SyntaxError, Error);
function parse(input) {
function peg$parse(input) {
var options = arguments.length > 1 ? arguments[1] : {},
parser = this,

@@ -36,82 +40,78 @@ peg$FAILED = {},

peg$c0 = [],
peg$c1 = function() { return parser.getResult(); },
peg$c2 = peg$FAILED,
peg$c3 = "EXPORT=",
peg$c4 = { type: "literal", value: "EXPORT=", description: "\"EXPORT=\"" },
peg$c5 = /^[A-Za-z.0-9_]/,
peg$c6 = { type: "class", value: "[A-Za-z.0-9_]", description: "[A-Za-z.0-9_]" },
peg$c7 = ":",
peg$c8 = { type: "literal", value: ":", description: "\":\"" },
peg$c9 = /^[A-Z0-9_]/,
peg$c10 = { type: "class", value: "[A-Z0-9_]", description: "[A-Z0-9_]" },
peg$c11 = null,
peg$c12 = function(priv, pub) {return parser.registerExports(priv.join(""),pub.join(""))},
peg$c13 = "INPORT=",
peg$c14 = { type: "literal", value: "INPORT=", description: "\"INPORT=\"" },
peg$c15 = /^[A-Za-z0-9_]/,
peg$c16 = { type: "class", value: "[A-Za-z0-9_]", description: "[A-Za-z0-9_]" },
peg$c17 = ".",
peg$c18 = { type: "literal", value: ".", description: "\".\"" },
peg$c19 = function(node, port, pub) {return parser.registerInports(node.join(""),port.join(""),pub.join(""))},
peg$c20 = "OUTPORT=",
peg$c21 = { type: "literal", value: "OUTPORT=", description: "\"OUTPORT=\"" },
peg$c22 = function(node, port, pub) {return parser.registerOutports(node.join(""),port.join(""),pub.join(""))},
peg$c23 = /^[\n\r\u2028\u2029]/,
peg$c24 = { type: "class", value: "[\\n\\r\\u2028\\u2029]", description: "[\\n\\r\\u2028\\u2029]" },
peg$c25 = function(edges) {return parser.registerEdges(edges);},
peg$c26 = ",",
peg$c27 = { type: "literal", value: ",", description: "\",\"" },
peg$c28 = "#",
peg$c29 = { type: "literal", value: "#", description: "\"#\"" },
peg$c30 = "->",
peg$c31 = { type: "literal", value: "->", description: "\"->\"" },
peg$c32 = function(x, y) { return [x,y]; },
peg$c33 = function(x, proc, y) { return [{"tgt":{process:proc, port:x}},{"src":{process:proc, port:y}}]; },
peg$c34 = function(proc, port) { return {"src":{process:proc, port:port}} },
peg$c35 = function(proc, port) { return {"src":{process:proc, port:port.port, index: port.index}} },
peg$c36 = "'",
peg$c37 = { type: "literal", value: "'", description: "\"'\"" },
peg$c38 = function(iip) { return {"data":iip.join("")} },
peg$c39 = function(port, proc) { return {"tgt":{process:proc, port:port}} },
peg$c40 = function(port, proc) { return {"tgt":{process:proc, port:port.port, index: port.index}} },
peg$c41 = /^[a-zA-Z0-9_\-]/,
peg$c42 = { type: "class", value: "[a-zA-Z0-9_\\-]", description: "[a-zA-Z0-9_\\-]" },
peg$c43 = function(node, comp) { if(comp){parser.addNode(node.join(""),comp);}; return node.join("")},
peg$c44 = "(",
peg$c45 = { type: "literal", value: "(", description: "\"(\"" },
peg$c46 = /^[a-zA-Z\/\-0-9_]/,
peg$c47 = { type: "class", value: "[a-zA-Z\\/\\-0-9_]", description: "[a-zA-Z\\/\\-0-9_]" },
peg$c48 = ")",
peg$c49 = { type: "literal", value: ")", description: "\")\"" },
peg$c50 = function(comp, meta) { var o = {}; comp ? o.comp = comp.join("") : o.comp = ''; meta ? o.meta = meta.join("").split(',') : null; return o; },
peg$c51 = /^[a-zA-Z\/=_,0-9]/,
peg$c52 = { type: "class", value: "[a-zA-Z\\/=_,0-9]", description: "[a-zA-Z\\/=_,0-9]" },
peg$c53 = function(meta) {return meta},
peg$c54 = /^[A-Z.0-9_]/,
peg$c55 = { type: "class", value: "[A-Z.0-9_]", description: "[A-Z.0-9_]" },
peg$c56 = function(portname) {return portname.join("").toLowerCase()},
peg$c57 = "[",
peg$c58 = { type: "literal", value: "[", description: "\"[\"" },
peg$c59 = /^[0-9]/,
peg$c60 = { type: "class", value: "[0-9]", description: "[0-9]" },
peg$c61 = "]",
peg$c62 = { type: "literal", value: "]", description: "\"]\"" },
peg$c63 = function(portname, portindex) {return { port: portname.join("").toLowerCase(), index: parseInt(portindex.join('')) }},
peg$c64 = /^[^\n\r\u2028\u2029]/,
peg$c65 = { type: "class", value: "[^\\n\\r\\u2028\\u2029]", description: "[^\\n\\r\\u2028\\u2029]" },
peg$c66 = /^[\\]/,
peg$c67 = { type: "class", value: "[\\\\]", description: "[\\\\]" },
peg$c68 = /^[']/,
peg$c69 = { type: "class", value: "[']", description: "[']" },
peg$c70 = function() { return "'"; },
peg$c71 = /^[^']/,
peg$c72 = { type: "class", value: "[^']", description: "[^']" },
peg$c73 = " ",
peg$c74 = { type: "literal", value: " ", description: "\" \"" },
peg$c0 = function() { return parser.getResult(); },
peg$c1 = "EXPORT=",
peg$c2 = { type: "literal", value: "EXPORT=", description: "\"EXPORT=\"" },
peg$c3 = /^[A-Za-z.0-9_]/,
peg$c4 = { type: "class", value: "[A-Za-z.0-9_]", description: "[A-Za-z.0-9_]" },
peg$c5 = ":",
peg$c6 = { type: "literal", value: ":", description: "\":\"" },
peg$c7 = /^[A-Z0-9_]/,
peg$c8 = { type: "class", value: "[A-Z0-9_]", description: "[A-Z0-9_]" },
peg$c9 = function(priv, pub) {return parser.registerExports(priv.join(""),pub.join(""))},
peg$c10 = "INPORT=",
peg$c11 = { type: "literal", value: "INPORT=", description: "\"INPORT=\"" },
peg$c12 = /^[A-Za-z0-9_]/,
peg$c13 = { type: "class", value: "[A-Za-z0-9_]", description: "[A-Za-z0-9_]" },
peg$c14 = ".",
peg$c15 = { type: "literal", value: ".", description: "\".\"" },
peg$c16 = function(node, port, pub) {return parser.registerInports(node.join(""),port.join(""),pub.join(""))},
peg$c17 = "OUTPORT=",
peg$c18 = { type: "literal", value: "OUTPORT=", description: "\"OUTPORT=\"" },
peg$c19 = function(node, port, pub) {return parser.registerOutports(node.join(""),port.join(""),pub.join(""))},
peg$c20 = /^[\n\r\u2028\u2029]/,
peg$c21 = { type: "class", value: "[\\n\\r\\u2028\\u2029]", description: "[\\n\\r\\u2028\\u2029]" },
peg$c22 = function(edges) {return parser.registerEdges(edges);},
peg$c23 = ",",
peg$c24 = { type: "literal", value: ",", description: "\",\"" },
peg$c25 = "#",
peg$c26 = { type: "literal", value: "#", description: "\"#\"" },
peg$c27 = "->",
peg$c28 = { type: "literal", value: "->", description: "\"->\"" },
peg$c29 = function(x, y) { return [x,y]; },
peg$c30 = function(x, proc, y) { return [{"tgt":{process:proc, port:x}},{"src":{process:proc, port:y}}]; },
peg$c31 = function(proc, port) { return {"src":{process:proc, port:port}} },
peg$c32 = function(proc, port) { return {"src":{process:proc, port:port.port, index: port.index}} },
peg$c33 = "'",
peg$c34 = { type: "literal", value: "'", description: "\"'\"" },
peg$c35 = function(iip) { return {"data":iip.join("")} },
peg$c36 = function(port, proc) { return {"tgt":{process:proc, port:port}} },
peg$c37 = function(port, proc) { return {"tgt":{process:proc, port:port.port, index: port.index}} },
peg$c38 = /^[a-zA-Z0-9_\-]/,
peg$c39 = { type: "class", value: "[a-zA-Z0-9_\\-]", description: "[a-zA-Z0-9_\\-]" },
peg$c40 = function(node, comp) { if(comp){parser.addNode(node.join(""),comp);}; return node.join("")},
peg$c41 = "(",
peg$c42 = { type: "literal", value: "(", description: "\"(\"" },
peg$c43 = /^[a-zA-Z\/\-0-9_]/,
peg$c44 = { type: "class", value: "[a-zA-Z/\\-0-9_]", description: "[a-zA-Z/\\-0-9_]" },
peg$c45 = ")",
peg$c46 = { type: "literal", value: ")", description: "\")\"" },
peg$c47 = function(comp, meta) { var o = {}; comp ? o.comp = comp.join("") : o.comp = ''; meta ? o.meta = meta.join("").split(',') : null; return o; },
peg$c48 = /^[a-zA-Z\/=_,0-9]/,
peg$c49 = { type: "class", value: "[a-zA-Z/=_,0-9]", description: "[a-zA-Z/=_,0-9]" },
peg$c50 = function(meta) {return meta},
peg$c51 = /^[A-Z.0-9_]/,
peg$c52 = { type: "class", value: "[A-Z.0-9_]", description: "[A-Z.0-9_]" },
peg$c53 = function(portname) {return portname.join("").toLowerCase()},
peg$c54 = "[",
peg$c55 = { type: "literal", value: "[", description: "\"[\"" },
peg$c56 = /^[0-9]/,
peg$c57 = { type: "class", value: "[0-9]", description: "[0-9]" },
peg$c58 = "]",
peg$c59 = { type: "literal", value: "]", description: "\"]\"" },
peg$c60 = function(portname, portindex) {return { port: portname.join("").toLowerCase(), index: parseInt(portindex.join('')) }},
peg$c61 = /^[^\n\r\u2028\u2029]/,
peg$c62 = { type: "class", value: "[^\\n\\r\\u2028\\u2029]", description: "[^\\n\\r\\u2028\\u2029]" },
peg$c63 = /^[\\]/,
peg$c64 = { type: "class", value: "[\\\\]", description: "[\\\\]" },
peg$c65 = /^[']/,
peg$c66 = { type: "class", value: "[']", description: "[']" },
peg$c67 = function() { return "'"; },
peg$c68 = /^[^']/,
peg$c69 = { type: "class", value: "[^']", description: "[^']" },
peg$c70 = " ",
peg$c71 = { type: "literal", value: " ", description: "\" \"" },
peg$currPos = 0,
peg$reportedPos = 0,
peg$cachedPos = 0,
peg$cachedPosDetails = { line: 1, column: 1, seenCR: false },
peg$savedPos = 0,
peg$posDetailsCache = [{ line: 1, column: 1, seenCR: false }],
peg$maxFailPos = 0,

@@ -132,17 +132,9 @@ peg$maxFailExpected = [],

function text() {
return input.substring(peg$reportedPos, peg$currPos);
return input.substring(peg$savedPos, peg$currPos);
}
function offset() {
return peg$reportedPos;
function location() {
return peg$computeLocation(peg$savedPos, peg$currPos);
}
function line() {
return peg$computePosDetails(peg$reportedPos).line;
}
function column() {
return peg$computePosDetails(peg$reportedPos).column;
}
function expected(description) {

@@ -152,3 +144,4 @@ throw peg$buildException(

[{ type: "other", description: description }],
peg$reportedPos
input.substring(peg$savedPos, peg$currPos),
peg$computeLocation(peg$savedPos, peg$currPos)
);

@@ -158,10 +151,30 @@ }

function error(message) {
throw peg$buildException(message, null, peg$reportedPos);
throw peg$buildException(
message,
null,
input.substring(peg$savedPos, peg$currPos),
peg$computeLocation(peg$savedPos, peg$currPos)
);
}
function peg$computePosDetails(pos) {
function advance(details, startPos, endPos) {
var p, ch;
var details = peg$posDetailsCache[pos],
p, ch;
for (p = startPos; p < endPos; p++) {
if (details) {
return details;
} else {
p = pos - 1;
while (!peg$posDetailsCache[p]) {
p--;
}
details = peg$posDetailsCache[p];
details = {
line: details.line,
column: details.column,
seenCR: details.seenCR
};
while (p < pos) {
ch = input.charAt(p);

@@ -180,15 +193,27 @@ if (ch === "\n") {

}
p++;
}
peg$posDetailsCache[pos] = details;
return details;
}
}
if (peg$cachedPos !== pos) {
if (peg$cachedPos > pos) {
peg$cachedPos = 0;
peg$cachedPosDetails = { line: 1, column: 1, seenCR: false };
function peg$computeLocation(startPos, endPos) {
var startPosDetails = peg$computePosDetails(startPos),
endPosDetails = peg$computePosDetails(endPos);
return {
start: {
offset: startPos,
line: startPosDetails.line,
column: startPosDetails.column
},
end: {
offset: endPos,
line: endPosDetails.line,
column: endPosDetails.column
}
advance(peg$cachedPosDetails, peg$cachedPos, pos);
peg$cachedPos = pos;
}
return peg$cachedPosDetails;
};
}

@@ -207,3 +232,3 @@

function peg$buildException(message, expected, pos) {
function peg$buildException(message, expected, found, location) {
function cleanupExpected(expected) {

@@ -245,4 +270,4 @@ var i = 1;

.replace(/[\x10-\x1F\x80-\xFF]/g, function(ch) { return '\\x' + hex(ch); })
.replace(/[\u0180-\u0FFF]/g, function(ch) { return '\\u0' + hex(ch); })
.replace(/[\u1080-\uFFFF]/g, function(ch) { return '\\u' + hex(ch); });
.replace(/[\u0100-\u0FFF]/g, function(ch) { return '\\u0' + hex(ch); })
.replace(/[\u1000-\uFFFF]/g, function(ch) { return '\\u' + hex(ch); });
}

@@ -268,5 +293,2 @@

var posDetails = peg$computePosDetails(pos),
found = pos < input.length ? input.charAt(pos) : null;
if (expected !== null) {

@@ -276,9 +298,7 @@ cleanupExpected(expected);

return new SyntaxError(
return new peg$SyntaxError(
message !== null ? message : buildMessage(expected, found),
expected,
found,
pos,
posDetails.line,
posDetails.column
location
);

@@ -298,4 +318,4 @@ }

if (s1 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c1();
peg$savedPos = s0;
s1 = peg$c0();
}

@@ -313,12 +333,12 @@ s0 = s1;

if (s1 !== peg$FAILED) {
if (input.substr(peg$currPos, 7) === peg$c3) {
s2 = peg$c3;
if (input.substr(peg$currPos, 7) === peg$c1) {
s2 = peg$c1;
peg$currPos += 7;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c4); }
if (peg$silentFails === 0) { peg$fail(peg$c2); }
}
if (s2 !== peg$FAILED) {
s3 = [];
if (peg$c5.test(input.charAt(peg$currPos))) {
if (peg$c3.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -328,3 +348,3 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c6); }
if (peg$silentFails === 0) { peg$fail(peg$c4); }
}

@@ -334,3 +354,3 @@ if (s4 !== peg$FAILED) {

s3.push(s4);
if (peg$c5.test(input.charAt(peg$currPos))) {
if (peg$c3.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -340,19 +360,19 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c6); }
if (peg$silentFails === 0) { peg$fail(peg$c4); }
}
}
} else {
s3 = peg$c2;
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 58) {
s4 = peg$c7;
s4 = peg$c5;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s4 !== peg$FAILED) {
s5 = [];
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -362,3 +382,3 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}

@@ -368,3 +388,3 @@ if (s6 !== peg$FAILED) {

s5.push(s6);
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -374,7 +394,7 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
}
} else {
s5 = peg$c2;
s5 = peg$FAILED;
}

@@ -386,35 +406,35 @@ if (s5 !== peg$FAILED) {

if (s7 === peg$FAILED) {
s7 = peg$c11;
s7 = null;
}
if (s7 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c12(s3, s5);
peg$savedPos = s0;
s1 = peg$c9(s3, s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -425,12 +445,12 @@ if (s0 === peg$FAILED) {

if (s1 !== peg$FAILED) {
if (input.substr(peg$currPos, 7) === peg$c13) {
s2 = peg$c13;
if (input.substr(peg$currPos, 7) === peg$c10) {
s2 = peg$c10;
peg$currPos += 7;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c14); }
if (peg$silentFails === 0) { peg$fail(peg$c11); }
}
if (s2 !== peg$FAILED) {
s3 = [];
if (peg$c15.test(input.charAt(peg$currPos))) {
if (peg$c12.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -440,3 +460,3 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c16); }
if (peg$silentFails === 0) { peg$fail(peg$c13); }
}

@@ -446,3 +466,3 @@ if (s4 !== peg$FAILED) {

s3.push(s4);
if (peg$c15.test(input.charAt(peg$currPos))) {
if (peg$c12.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -452,19 +472,19 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c16); }
if (peg$silentFails === 0) { peg$fail(peg$c13); }
}
}
} else {
s3 = peg$c2;
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 46) {
s4 = peg$c17;
s4 = peg$c14;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c18); }
if (peg$silentFails === 0) { peg$fail(peg$c15); }
}
if (s4 !== peg$FAILED) {
s5 = [];
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -474,3 +494,3 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}

@@ -480,3 +500,3 @@ if (s6 !== peg$FAILED) {

s5.push(s6);
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -486,19 +506,19 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
}
} else {
s5 = peg$c2;
s5 = peg$FAILED;
}
if (s5 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 58) {
s6 = peg$c7;
s6 = peg$c5;
peg$currPos++;
} else {
s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s6 !== peg$FAILED) {
s7 = [];
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s8 = input.charAt(peg$currPos);

@@ -508,3 +528,3 @@ peg$currPos++;

s8 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}

@@ -514,3 +534,3 @@ if (s8 !== peg$FAILED) {

s7.push(s8);
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s8 = input.charAt(peg$currPos);

@@ -520,7 +540,7 @@ peg$currPos++;

s8 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
}
} else {
s7 = peg$c2;
s7 = peg$FAILED;
}

@@ -532,43 +552,43 @@ if (s7 !== peg$FAILED) {

if (s9 === peg$FAILED) {
s9 = peg$c11;
s9 = null;
}
if (s9 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c19(s3, s5, s7);
peg$savedPos = s0;
s1 = peg$c16(s3, s5, s7);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -579,12 +599,12 @@ if (s0 === peg$FAILED) {

if (s1 !== peg$FAILED) {
if (input.substr(peg$currPos, 8) === peg$c20) {
s2 = peg$c20;
if (input.substr(peg$currPos, 8) === peg$c17) {
s2 = peg$c17;
peg$currPos += 8;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c21); }
if (peg$silentFails === 0) { peg$fail(peg$c18); }
}
if (s2 !== peg$FAILED) {
s3 = [];
if (peg$c15.test(input.charAt(peg$currPos))) {
if (peg$c12.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -594,3 +614,3 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c16); }
if (peg$silentFails === 0) { peg$fail(peg$c13); }
}

@@ -600,3 +620,3 @@ if (s4 !== peg$FAILED) {

s3.push(s4);
if (peg$c15.test(input.charAt(peg$currPos))) {
if (peg$c12.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -606,19 +626,19 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c16); }
if (peg$silentFails === 0) { peg$fail(peg$c13); }
}
}
} else {
s3 = peg$c2;
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 46) {
s4 = peg$c17;
s4 = peg$c14;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c18); }
if (peg$silentFails === 0) { peg$fail(peg$c15); }
}
if (s4 !== peg$FAILED) {
s5 = [];
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -628,3 +648,3 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}

@@ -634,3 +654,3 @@ if (s6 !== peg$FAILED) {

s5.push(s6);
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s6 = input.charAt(peg$currPos);

@@ -640,19 +660,19 @@ peg$currPos++;

s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
}
} else {
s5 = peg$c2;
s5 = peg$FAILED;
}
if (s5 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 58) {
s6 = peg$c7;
s6 = peg$c5;
peg$currPos++;
} else {
s6 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s6 !== peg$FAILED) {
s7 = [];
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s8 = input.charAt(peg$currPos);

@@ -662,3 +682,3 @@ peg$currPos++;

s8 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}

@@ -668,3 +688,3 @@ if (s8 !== peg$FAILED) {

s7.push(s8);
if (peg$c9.test(input.charAt(peg$currPos))) {
if (peg$c7.test(input.charAt(peg$currPos))) {
s8 = input.charAt(peg$currPos);

@@ -674,7 +694,7 @@ peg$currPos++;

s8 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c10); }
if (peg$silentFails === 0) { peg$fail(peg$c8); }
}
}
} else {
s7 = peg$c2;
s7 = peg$FAILED;
}

@@ -686,43 +706,43 @@ if (s7 !== peg$FAILED) {

if (s9 === peg$FAILED) {
s9 = peg$c11;
s9 = null;
}
if (s9 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c22(s3, s5, s7);
peg$savedPos = s0;
s1 = peg$c19(s3, s5, s7);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -733,3 +753,3 @@ if (s0 === peg$FAILED) {

if (s1 !== peg$FAILED) {
if (peg$c23.test(input.charAt(peg$currPos))) {
if (peg$c20.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -739,6 +759,6 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c24); }
if (peg$silentFails === 0) { peg$fail(peg$c21); }
}
if (s2 === peg$FAILED) {
s2 = peg$c11;
s2 = null;
}

@@ -750,7 +770,7 @@ if (s2 !== peg$FAILED) {

peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -761,3 +781,3 @@ if (s0 === peg$FAILED) {

if (s1 !== peg$FAILED) {
if (peg$c23.test(input.charAt(peg$currPos))) {
if (peg$c20.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -767,3 +787,3 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c24); }
if (peg$silentFails === 0) { peg$fail(peg$c21); }
}

@@ -775,7 +795,7 @@ if (s2 !== peg$FAILED) {

peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -792,23 +812,23 @@ if (s0 === peg$FAILED) {

if (s4 === peg$FAILED) {
s4 = peg$c11;
s4 = null;
}
if (s4 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c25(s2);
peg$savedPos = s0;
s1 = peg$c22(s2);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -831,10 +851,10 @@ }

if (input.charCodeAt(peg$currPos) === 44) {
s2 = peg$c26;
s2 = peg$c23;
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c27); }
if (peg$silentFails === 0) { peg$fail(peg$c24); }
}
if (s2 === peg$FAILED) {
s2 = peg$c11;
s2 = null;
}

@@ -844,6 +864,6 @@ if (s2 !== peg$FAILED) {

if (s3 === peg$FAILED) {
s3 = peg$c11;
s3 = null;
}
if (s3 !== peg$FAILED) {
if (peg$c23.test(input.charAt(peg$currPos))) {
if (peg$c20.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -853,6 +873,6 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c24); }
if (peg$silentFails === 0) { peg$fail(peg$c21); }
}
if (s4 === peg$FAILED) {
s4 = peg$c11;
s4 = null;
}

@@ -864,15 +884,15 @@ if (s4 !== peg$FAILED) {

peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -890,7 +910,7 @@

if (input.charCodeAt(peg$currPos) === 35) {
s2 = peg$c28;
s2 = peg$c25;
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c29); }
if (peg$silentFails === 0) { peg$fail(peg$c26); }
}

@@ -909,11 +929,11 @@ if (s2 !== peg$FAILED) {

peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -932,8 +952,8 @@

if (s2 !== peg$FAILED) {
if (input.substr(peg$currPos, 2) === peg$c30) {
s3 = peg$c30;
if (input.substr(peg$currPos, 2) === peg$c27) {
s3 = peg$c27;
peg$currPos += 2;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c31); }
if (peg$silentFails === 0) { peg$fail(peg$c28); }
}

@@ -945,24 +965,24 @@ if (s3 !== peg$FAILED) {

if (s5 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c32(s1, s5);
peg$savedPos = s0;
s1 = peg$c29(s1, s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -990,24 +1010,24 @@ if (s0 === peg$FAILED) {

if (s5 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c33(s1, s3, s5);
peg$savedPos = s0;
s1 = peg$c30(s1, s3, s5);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1037,16 +1057,16 @@ if (s0 === peg$FAILED) {

if (s3 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c34(s1, s3);
peg$savedPos = s0;
s1 = peg$c31(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1061,16 +1081,16 @@ if (s0 === peg$FAILED) {

if (s3 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c35(s1, s3);
peg$savedPos = s0;
s1 = peg$c32(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1087,7 +1107,7 @@ }

if (input.charCodeAt(peg$currPos) === 39) {
s1 = peg$c36;
s1 = peg$c33;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c37); }
if (peg$silentFails === 0) { peg$fail(peg$c34); }
}

@@ -1103,23 +1123,23 @@ if (s1 !== peg$FAILED) {

if (input.charCodeAt(peg$currPos) === 39) {
s3 = peg$c36;
s3 = peg$c33;
peg$currPos++;
} else {
s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c37); }
if (peg$silentFails === 0) { peg$fail(peg$c34); }
}
if (s3 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c38(s2);
peg$savedPos = s0;
s1 = peg$c35(s2);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1140,16 +1160,16 @@

if (s3 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c39(s1, s3);
peg$savedPos = s0;
s1 = peg$c36(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1164,16 +1184,16 @@ if (s0 === peg$FAILED) {

if (s3 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c40(s1, s3);
peg$savedPos = s0;
s1 = peg$c37(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1190,3 +1210,3 @@ }

s1 = [];
if (peg$c41.test(input.charAt(peg$currPos))) {
if (peg$c38.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1196,3 +1216,3 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c42); }
if (peg$silentFails === 0) { peg$fail(peg$c39); }
}

@@ -1202,3 +1222,3 @@ if (s2 !== peg$FAILED) {

s1.push(s2);
if (peg$c41.test(input.charAt(peg$currPos))) {
if (peg$c38.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1208,7 +1228,7 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c42); }
if (peg$silentFails === 0) { peg$fail(peg$c39); }
}
}
} else {
s1 = peg$c2;
s1 = peg$FAILED;
}

@@ -1218,15 +1238,15 @@ if (s1 !== peg$FAILED) {

if (s2 === peg$FAILED) {
s2 = peg$c11;
s2 = null;
}
if (s2 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c43(s1, s2);
peg$savedPos = s0;
s1 = peg$c40(s1, s2);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1242,11 +1262,11 @@

if (input.charCodeAt(peg$currPos) === 40) {
s1 = peg$c44;
s1 = peg$c41;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c45); }
if (peg$silentFails === 0) { peg$fail(peg$c42); }
}
if (s1 !== peg$FAILED) {
s2 = [];
if (peg$c46.test(input.charAt(peg$currPos))) {
if (peg$c43.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);

@@ -1256,3 +1276,3 @@ peg$currPos++;

s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c47); }
if (peg$silentFails === 0) { peg$fail(peg$c44); }
}

@@ -1262,3 +1282,3 @@ if (s3 !== peg$FAILED) {

s2.push(s3);
if (peg$c46.test(input.charAt(peg$currPos))) {
if (peg$c43.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);

@@ -1268,10 +1288,10 @@ peg$currPos++;

s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c47); }
if (peg$silentFails === 0) { peg$fail(peg$c44); }
}
}
} else {
s2 = peg$c2;
s2 = peg$FAILED;
}
if (s2 === peg$FAILED) {
s2 = peg$c11;
s2 = null;
}

@@ -1281,31 +1301,31 @@ if (s2 !== peg$FAILED) {

if (s3 === peg$FAILED) {
s3 = peg$c11;
s3 = null;
}
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 41) {
s4 = peg$c48;
s4 = peg$c45;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c49); }
if (peg$silentFails === 0) { peg$fail(peg$c46); }
}
if (s4 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c50(s2, s3);
peg$savedPos = s0;
s1 = peg$c47(s2, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1321,11 +1341,11 @@

if (input.charCodeAt(peg$currPos) === 58) {
s1 = peg$c7;
s1 = peg$c5;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c8); }
if (peg$silentFails === 0) { peg$fail(peg$c6); }
}
if (s1 !== peg$FAILED) {
s2 = [];
if (peg$c51.test(input.charAt(peg$currPos))) {
if (peg$c48.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);

@@ -1335,3 +1355,3 @@ peg$currPos++;

s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c52); }
if (peg$silentFails === 0) { peg$fail(peg$c49); }
}

@@ -1341,3 +1361,3 @@ if (s3 !== peg$FAILED) {

s2.push(s3);
if (peg$c51.test(input.charAt(peg$currPos))) {
if (peg$c48.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);

@@ -1347,19 +1367,19 @@ peg$currPos++;

s3 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c52); }
if (peg$silentFails === 0) { peg$fail(peg$c49); }
}
}
} else {
s2 = peg$c2;
s2 = peg$FAILED;
}
if (s2 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c53(s2);
peg$savedPos = s0;
s1 = peg$c50(s2);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1375,3 +1395,3 @@

s1 = [];
if (peg$c54.test(input.charAt(peg$currPos))) {
if (peg$c51.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1381,3 +1401,3 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c55); }
if (peg$silentFails === 0) { peg$fail(peg$c52); }
}

@@ -1387,3 +1407,3 @@ if (s2 !== peg$FAILED) {

s1.push(s2);
if (peg$c54.test(input.charAt(peg$currPos))) {
if (peg$c51.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1393,7 +1413,7 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c55); }
if (peg$silentFails === 0) { peg$fail(peg$c52); }
}
}
} else {
s1 = peg$c2;
s1 = peg$FAILED;
}

@@ -1403,12 +1423,12 @@ if (s1 !== peg$FAILED) {

if (s2 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c56(s1);
peg$savedPos = s0;
s1 = peg$c53(s1);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1424,3 +1444,3 @@

s1 = [];
if (peg$c54.test(input.charAt(peg$currPos))) {
if (peg$c51.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1430,3 +1450,3 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c55); }
if (peg$silentFails === 0) { peg$fail(peg$c52); }
}

@@ -1436,3 +1456,3 @@ if (s2 !== peg$FAILED) {

s1.push(s2);
if (peg$c54.test(input.charAt(peg$currPos))) {
if (peg$c51.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1442,19 +1462,19 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c55); }
if (peg$silentFails === 0) { peg$fail(peg$c52); }
}
}
} else {
s1 = peg$c2;
s1 = peg$FAILED;
}
if (s1 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 91) {
s2 = peg$c57;
s2 = peg$c54;
peg$currPos++;
} else {
s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c58); }
if (peg$silentFails === 0) { peg$fail(peg$c55); }
}
if (s2 !== peg$FAILED) {
s3 = [];
if (peg$c59.test(input.charAt(peg$currPos))) {
if (peg$c56.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -1464,3 +1484,3 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c60); }
if (peg$silentFails === 0) { peg$fail(peg$c57); }
}

@@ -1470,3 +1490,3 @@ if (s4 !== peg$FAILED) {

s3.push(s4);
if (peg$c59.test(input.charAt(peg$currPos))) {
if (peg$c56.test(input.charAt(peg$currPos))) {
s4 = input.charAt(peg$currPos);

@@ -1476,15 +1496,15 @@ peg$currPos++;

s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c60); }
if (peg$silentFails === 0) { peg$fail(peg$c57); }
}
}
} else {
s3 = peg$c2;
s3 = peg$FAILED;
}
if (s3 !== peg$FAILED) {
if (input.charCodeAt(peg$currPos) === 93) {
s4 = peg$c61;
s4 = peg$c58;
peg$currPos++;
} else {
s4 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c62); }
if (peg$silentFails === 0) { peg$fail(peg$c59); }
}

@@ -1494,24 +1514,24 @@ if (s4 !== peg$FAILED) {

if (s5 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c63(s1, s3);
peg$savedPos = s0;
s1 = peg$c60(s1, s3);
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1525,3 +1545,3 @@

if (peg$c64.test(input.charAt(peg$currPos))) {
if (peg$c61.test(input.charAt(peg$currPos))) {
s0 = input.charAt(peg$currPos);

@@ -1531,3 +1551,3 @@ peg$currPos++;

s0 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c65); }
if (peg$silentFails === 0) { peg$fail(peg$c62); }
}

@@ -1542,3 +1562,3 @@

s0 = peg$currPos;
if (peg$c66.test(input.charAt(peg$currPos))) {
if (peg$c63.test(input.charAt(peg$currPos))) {
s1 = input.charAt(peg$currPos);

@@ -1548,6 +1568,6 @@ peg$currPos++;

s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c67); }
if (peg$silentFails === 0) { peg$fail(peg$c64); }
}
if (s1 !== peg$FAILED) {
if (peg$c68.test(input.charAt(peg$currPos))) {
if (peg$c65.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);

@@ -1557,18 +1577,18 @@ peg$currPos++;

s2 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c69); }
if (peg$silentFails === 0) { peg$fail(peg$c66); }
}
if (s2 !== peg$FAILED) {
peg$reportedPos = s0;
s1 = peg$c70();
peg$savedPos = s0;
s1 = peg$c67();
s0 = s1;
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
} else {
peg$currPos = s0;
s0 = peg$c2;
s0 = peg$FAILED;
}
if (s0 === peg$FAILED) {
if (peg$c71.test(input.charAt(peg$currPos))) {
if (peg$c68.test(input.charAt(peg$currPos))) {
s0 = input.charAt(peg$currPos);

@@ -1578,3 +1598,3 @@ peg$currPos++;

s0 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c72); }
if (peg$silentFails === 0) { peg$fail(peg$c69); }
}

@@ -1591,7 +1611,7 @@ }

if (input.charCodeAt(peg$currPos) === 32) {
s1 = peg$c73;
s1 = peg$c70;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c74); }
if (peg$silentFails === 0) { peg$fail(peg$c71); }
}

@@ -1601,11 +1621,11 @@ while (s1 !== peg$FAILED) {

if (input.charCodeAt(peg$currPos) === 32) {
s1 = peg$c73;
s1 = peg$c70;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c74); }
if (peg$silentFails === 0) { peg$fail(peg$c71); }
}
}
if (s0 === peg$FAILED) {
s0 = peg$c11;
s0 = null;
}

@@ -1621,7 +1641,7 @@

if (input.charCodeAt(peg$currPos) === 32) {
s1 = peg$c73;
s1 = peg$c70;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c74); }
if (peg$silentFails === 0) { peg$fail(peg$c71); }
}

@@ -1632,11 +1652,11 @@ if (s1 !== peg$FAILED) {

if (input.charCodeAt(peg$currPos) === 32) {
s1 = peg$c73;
s1 = peg$c70;
peg$currPos++;
} else {
s1 = peg$FAILED;
if (peg$silentFails === 0) { peg$fail(peg$c74); }
if (peg$silentFails === 0) { peg$fail(peg$c71); }
}
}
} else {
s0 = peg$c2;
s0 = peg$FAILED;
}

@@ -1759,3 +1779,10 @@

throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos);
throw peg$buildException(
null,
peg$maxFailExpected,
peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,
peg$maxFailPos < input.length
? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)
: peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
);
}

@@ -1765,5 +1792,5 @@ }

return {
SyntaxError: SyntaxError,
parse: parse
SyntaxError: peg$SyntaxError,
parse: peg$parse
};
})();
{
"name": "fbp",
"description": "Parser for the .fbp flow definition language",
"version": "1.1.4",
"version": "1.1.7",
"repository": {

@@ -11,12 +11,11 @@ "type": "git",

"devDependencies": {
"chai": "3.3.0",
"grunt": "0.4.5",
"grunt-cafe-mocha": "0.1.13",
"grunt-component-build": "0.5.3",
"grunt-contrib-coffee": "0.11.1",
"grunt-contrib-watch": "0.6.1",
"grunt-mocha-phantomjs": "0.6.2",
"grunt-noflo-browser": "0.1.11",
"grunt-peg": "1.5.0",
"mocha": "2.3.3"
"chai": "^3.5.0",
"grunt": "^0.4.5",
"grunt-contrib-coffee": "^1.0.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-mocha-phantomjs": "^3.0.0",
"grunt-mocha-test": "^0.12.7",
"grunt-noflo-browser": "^0.1.11",
"grunt-peg": "^2.0.1",
"mocha": "^2.4.4"
},

@@ -23,0 +22,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc