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

Function peg$parseOUTPUT_STATEMENT

lib/parser.js:2895–2952  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2893 }
2894
2895 function peg$parseOUTPUT_STATEMENT() {
2896 var s0, s1, s2, s3, s4, s5;
2897
2898 peg$silentFails++;
2899 s0 = peg$currPos;
2900 if (input.substr(peg$currPos, 2) === peg$c74) {
2901 s1 = peg$c74;
2902 peg$currPos += 2;
2903 } else {
2904 s1 = peg$FAILED;
2905 if (peg$silentFails === 0) { peg$fail(peg$c75); }
2906 }
2907 if (s1 !== peg$FAILED) {
2908 s2 = peg$parse_();
2909 if (s2 !== peg$FAILED) {
2910 s3 = peg$parseExpressionStatement();
2911 if (s3 !== peg$FAILED) {
2912 s4 = peg$parse_();
2913 if (s4 !== peg$FAILED) {
2914 if (input.substr(peg$currPos, 2) === peg$c76) {
2915 s5 = peg$c76;
2916 peg$currPos += 2;
2917 } else {
2918 s5 = peg$FAILED;
2919 if (peg$silentFails === 0) { peg$fail(peg$c77); }
2920 }
2921 if (s5 !== peg$FAILED) {
2922 peg$reportedPos = s0;
2923 s1 = peg$c79(s3);
2924 s0 = s1;
2925 } else {
2926 peg$currPos = s0;
2927 s0 = peg$c3;
2928 }
2929 } else {
2930 peg$currPos = s0;
2931 s0 = peg$c3;
2932 }
2933 } else {
2934 peg$currPos = s0;
2935 s0 = peg$c3;
2936 }
2937 } else {
2938 peg$currPos = s0;
2939 s0 = peg$c3;
2940 }
2941 } else {
2942 peg$currPos = s0;
2943 s0 = peg$c3;
2944 }
2945 peg$silentFails--;
2946 if (s0 === peg$FAILED) {
2947 s1 = peg$FAILED;
2948 if (peg$silentFails === 0) { peg$fail(peg$c78); }
2949 }
2950
2951 return s0;
2952 }

Callers 2

peg$parseHTMLFunction · 0.85
peg$parseRAWFunction · 0.85

Calls 4

peg$failFunction · 0.85
peg$parse_Function · 0.85
peg$c79Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…