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

Function peg$parseFinallyToken

lib/parser.js:4054–4089  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4052 }
4053
4054 function peg$parseFinallyToken() {
4055 var s0, s1, s2, s3;
4056
4057 s0 = peg$currPos;
4058 if (input.substr(peg$currPos, 7) === peg$c196) {
4059 s1 = peg$c196;
4060 peg$currPos += 7;
4061 } else {
4062 s1 = peg$FAILED;
4063 if (peg$silentFails === 0) { peg$fail(peg$c197); }
4064 }
4065 if (s1 !== peg$FAILED) {
4066 s2 = peg$currPos;
4067 peg$silentFails++;
4068 s3 = peg$parseIdentifierPart();
4069 peg$silentFails--;
4070 if (s3 === peg$FAILED) {
4071 s2 = void 0;
4072 } else {
4073 peg$currPos = s2;
4074 s2 = peg$FAILED;
4075 }
4076 if (s2 !== peg$FAILED) {
4077 s1 = [s1, s2];
4078 s0 = s1;
4079 } else {
4080 peg$currPos = s0;
4081 s0 = peg$FAILED;
4082 }
4083 } else {
4084 peg$currPos = s0;
4085 s0 = peg$FAILED;
4086 }
4087
4088 return s0;
4089 }
4090
4091 function peg$parseForToken() {
4092 var s0, s1, s2, s3;

Callers 1

peg$parseKeywordFunction · 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…