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

Function peg$parsePrefixedOperator

lib/parser.js:1086–1116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084 }
1085
1086 function peg$parsePrefixedOperator() {
1087 var s0;
1088
1089 if (input.charCodeAt(peg$currPos) === 36) {
1090 s0 = peg$c14;
1091 peg$currPos++;
1092 } else {
1093 s0 = peg$FAILED;
1094 if (peg$silentFails === 0) { peg$fail(peg$c15); }
1095 }
1096 if (s0 === peg$FAILED) {
1097 if (input.charCodeAt(peg$currPos) === 38) {
1098 s0 = peg$c16;
1099 peg$currPos++;
1100 } else {
1101 s0 = peg$FAILED;
1102 if (peg$silentFails === 0) { peg$fail(peg$c17); }
1103 }
1104 if (s0 === peg$FAILED) {
1105 if (input.charCodeAt(peg$currPos) === 33) {
1106 s0 = peg$c18;
1107 peg$currPos++;
1108 } else {
1109 s0 = peg$FAILED;
1110 if (peg$silentFails === 0) { peg$fail(peg$c19); }
1111 }
1112 }
1113 }
1114
1115 return s0;
1116 }
1117
1118 function peg$parseSuffixedExpression() {
1119 var s0, s1, s2, s3;

Callers 1

Calls 1

peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…