MCPcopy Index your code
hub / github.com/pegjs/pegjs / peg$parseSuffixedExpression

Function peg$parseSuffixedExpression

lib/parser.js:1118–1148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1116 }
1117
1118 function peg$parseSuffixedExpression() {
1119 var s0, s1, s2, s3;
1120
1121 s0 = peg$currPos;
1122 s1 = peg$parsePrimaryExpression();
1123 if (s1 !== peg$FAILED) {
1124 s2 = peg$parse__();
1125 if (s2 !== peg$FAILED) {
1126 s3 = peg$parseSuffixedOperator();
1127 if (s3 !== peg$FAILED) {
1128 peg$savedPos = s0;
1129 s1 = peg$c20(s1, s3);
1130 s0 = s1;
1131 } else {
1132 peg$currPos = s0;
1133 s0 = peg$FAILED;
1134 }
1135 } else {
1136 peg$currPos = s0;
1137 s0 = peg$FAILED;
1138 }
1139 } else {
1140 peg$currPos = s0;
1141 s0 = peg$FAILED;
1142 }
1143 if (s0 === peg$FAILED) {
1144 s0 = peg$parsePrimaryExpression();
1145 }
1146
1147 return s0;
1148 }
1149
1150 function peg$parseSuffixedOperator() {
1151 var s0;

Callers 1

Calls 4

peg$parse__Function · 0.85
peg$c20Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…