()
| 6011 | } |
| 6012 | |
| 6013 | function peg$parseShortestPathFunction() { |
| 6014 | let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18, s19; |
| 6015 | |
| 6016 | s0 = peg$currPos; |
| 6017 | s1 = peg$parseSHORTESTPATH(); |
| 6018 | if (s1 !== peg$FAILED) { |
| 6019 | s2 = peg$parse_(); |
| 6020 | if (input.charCodeAt(peg$currPos) === 40) { |
| 6021 | s3 = peg$c4; |
| 6022 | peg$currPos++; |
| 6023 | } else { |
| 6024 | s3 = peg$FAILED; |
| 6025 | if (peg$silentFails === 0) { peg$fail(peg$e4); } |
| 6026 | } |
| 6027 | if (s3 !== peg$FAILED) { |
| 6028 | s4 = peg$parse_(); |
| 6029 | if (input.charCodeAt(peg$currPos) === 40) { |
| 6030 | s5 = peg$c4; |
| 6031 | peg$currPos++; |
| 6032 | } else { |
| 6033 | s5 = peg$FAILED; |
| 6034 | if (peg$silentFails === 0) { peg$fail(peg$e4); } |
| 6035 | } |
| 6036 | if (s5 !== peg$FAILED) { |
| 6037 | s6 = peg$parse_(); |
| 6038 | s7 = peg$parseNodePatternBody(); |
| 6039 | s8 = peg$parse_(); |
| 6040 | if (input.charCodeAt(peg$currPos) === 41) { |
| 6041 | s9 = peg$c5; |
| 6042 | peg$currPos++; |
| 6043 | } else { |
| 6044 | s9 = peg$FAILED; |
| 6045 | if (peg$silentFails === 0) { peg$fail(peg$e5); } |
| 6046 | } |
| 6047 | if (s9 !== peg$FAILED) { |
| 6048 | s10 = peg$parse_(); |
| 6049 | s11 = peg$parseEdgePattern(); |
| 6050 | if (s11 !== peg$FAILED) { |
| 6051 | s12 = peg$parse_(); |
| 6052 | if (input.charCodeAt(peg$currPos) === 40) { |
| 6053 | s13 = peg$c4; |
| 6054 | peg$currPos++; |
| 6055 | } else { |
| 6056 | s13 = peg$FAILED; |
| 6057 | if (peg$silentFails === 0) { peg$fail(peg$e4); } |
| 6058 | } |
| 6059 | if (s13 !== peg$FAILED) { |
| 6060 | s14 = peg$parse_(); |
| 6061 | s15 = peg$parseNodePatternBody(); |
| 6062 | s16 = peg$parse_(); |
| 6063 | if (input.charCodeAt(peg$currPos) === 41) { |
| 6064 | s17 = peg$c5; |
| 6065 | peg$currPos++; |
| 6066 | } else { |
| 6067 | s17 = peg$FAILED; |
| 6068 | if (peg$silentFails === 0) { peg$fail(peg$e5); } |
| 6069 | } |
| 6070 | if (s17 !== peg$FAILED) { |
no test coverage detected