MCPcopy Create free account
hub / github.com/codemix/htmling / peg$parseFinallyToken

Function peg$parseFinallyToken

lib/parser.js:6825–6860  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6823 }
6824
6825 function peg$parseFinallyToken() {
6826 var s0, s1, s2, s3;
6827
6828 s0 = peg$currPos;
6829 if (input.substr(peg$currPos, 7) === peg$c288) {
6830 s1 = peg$c288;
6831 peg$currPos += 7;
6832 } else {
6833 s1 = peg$FAILED;
6834 if (peg$silentFails === 0) { peg$fail(peg$c289); }
6835 }
6836 if (s1 !== peg$FAILED) {
6837 s2 = peg$currPos;
6838 peg$silentFails++;
6839 s3 = peg$parseIdentifierPart();
6840 peg$silentFails--;
6841 if (s3 === peg$FAILED) {
6842 s2 = peg$c5;
6843 } else {
6844 peg$currPos = s2;
6845 s2 = peg$c3;
6846 }
6847 if (s2 !== peg$FAILED) {
6848 s1 = [s1, s2];
6849 s0 = s1;
6850 } else {
6851 peg$currPos = s0;
6852 s0 = peg$c3;
6853 }
6854 } else {
6855 peg$currPos = s0;
6856 s0 = peg$c3;
6857 }
6858
6859 return s0;
6860 }
6861
6862 function peg$parseForToken() {
6863 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…