MCPcopy Create free account
hub / github.com/pegjs/pegjs / peg$parseFalseToken

Function peg$parseFalseToken

lib/parser.js:4017–4052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4015 }
4016
4017 function peg$parseFalseToken() {
4018 var s0, s1, s2, s3;
4019
4020 s0 = peg$currPos;
4021 if (input.substr(peg$currPos, 5) === peg$c194) {
4022 s1 = peg$c194;
4023 peg$currPos += 5;
4024 } else {
4025 s1 = peg$FAILED;
4026 if (peg$silentFails === 0) { peg$fail(peg$c195); }
4027 }
4028 if (s1 !== peg$FAILED) {
4029 s2 = peg$currPos;
4030 peg$silentFails++;
4031 s3 = peg$parseIdentifierPart();
4032 peg$silentFails--;
4033 if (s3 === peg$FAILED) {
4034 s2 = void 0;
4035 } else {
4036 peg$currPos = s2;
4037 s2 = peg$FAILED;
4038 }
4039 if (s2 !== peg$FAILED) {
4040 s1 = [s1, s2];
4041 s0 = s1;
4042 } else {
4043 peg$currPos = s0;
4044 s0 = peg$FAILED;
4045 }
4046 } else {
4047 peg$currPos = s0;
4048 s0 = peg$FAILED;
4049 }
4050
4051 return s0;
4052 }
4053
4054 function peg$parseFinallyToken() {
4055 var s0, s1, s2, s3;

Callers 1

peg$parseBooleanLiteralFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseIdentifierPartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…