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

Function peg$parsePrefixedExpression

lib/parser.js:1054–1084  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1052 }
1053
1054 function peg$parsePrefixedExpression() {
1055 var s0, s1, s2, s3;
1056
1057 s0 = peg$currPos;
1058 s1 = peg$parsePrefixedOperator();
1059 if (s1 !== peg$FAILED) {
1060 s2 = peg$parse__();
1061 if (s2 !== peg$FAILED) {
1062 s3 = peg$parseSuffixedExpression();
1063 if (s3 !== peg$FAILED) {
1064 peg$savedPos = s0;
1065 s1 = peg$c13(s1, s3);
1066 s0 = s1;
1067 } else {
1068 peg$currPos = s0;
1069 s0 = peg$FAILED;
1070 }
1071 } else {
1072 peg$currPos = s0;
1073 s0 = peg$FAILED;
1074 }
1075 } else {
1076 peg$currPos = s0;
1077 s0 = peg$FAILED;
1078 }
1079 if (s0 === peg$FAILED) {
1080 s0 = peg$parseSuffixedExpression();
1081 }
1082
1083 return s0;
1084 }
1085
1086 function peg$parsePrefixedOperator() {
1087 var s0;

Callers 1

Calls 4

peg$parse__Function · 0.85
peg$c13Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…