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

Function peg$parseExportToken

lib/parser.js:6714–6749  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6712 }
6713
6714 function peg$parseExportToken() {
6715 var s0, s1, s2, s3;
6716
6717 s0 = peg$currPos;
6718 if (input.substr(peg$currPos, 6) === peg$c282) {
6719 s1 = peg$c282;
6720 peg$currPos += 6;
6721 } else {
6722 s1 = peg$FAILED;
6723 if (peg$silentFails === 0) { peg$fail(peg$c283); }
6724 }
6725 if (s1 !== peg$FAILED) {
6726 s2 = peg$currPos;
6727 peg$silentFails++;
6728 s3 = peg$parseIdentifierPart();
6729 peg$silentFails--;
6730 if (s3 === peg$FAILED) {
6731 s2 = peg$c5;
6732 } else {
6733 peg$currPos = s2;
6734 s2 = peg$c3;
6735 }
6736 if (s2 !== peg$FAILED) {
6737 s1 = [s1, s2];
6738 s0 = s1;
6739 } else {
6740 peg$currPos = s0;
6741 s0 = peg$c3;
6742 }
6743 } else {
6744 peg$currPos = s0;
6745 s0 = peg$c3;
6746 }
6747
6748 return s0;
6749 }
6750
6751 function peg$parseExtendsToken() {
6752 var s0, s1, s2, s3;

Callers 1

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…