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

Function peg$parseSequenceExpression

lib/parser.js:5673–5802  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5671 }
5672
5673 function peg$parseSequenceExpression() {
5674 var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
5675
5676 s0 = peg$currPos;
5677 if (input.charCodeAt(peg$currPos) === 40) {
5678 s1 = peg$c182;
5679 peg$currPos++;
5680 } else {
5681 s1 = peg$FAILED;
5682 if (peg$silentFails === 0) { peg$fail(peg$c183); }
5683 }
5684 if (s1 !== peg$FAILED) {
5685 s2 = peg$parse_();
5686 if (s2 !== peg$FAILED) {
5687 s3 = peg$parseIterateExpression();
5688 if (s3 === peg$FAILED) {
5689 s3 = peg$c0;
5690 }
5691 if (s3 !== peg$FAILED) {
5692 s4 = [];
5693 s5 = peg$currPos;
5694 s6 = peg$parse_();
5695 if (s6 !== peg$FAILED) {
5696 if (input.charCodeAt(peg$currPos) === 44) {
5697 s7 = peg$c171;
5698 peg$currPos++;
5699 } else {
5700 s7 = peg$FAILED;
5701 if (peg$silentFails === 0) { peg$fail(peg$c172); }
5702 }
5703 if (s7 !== peg$FAILED) {
5704 s8 = peg$parse_();
5705 if (s8 !== peg$FAILED) {
5706 s9 = peg$parseIterateExpression();
5707 if (s9 !== peg$FAILED) {
5708 s6 = [s6, s7, s8, s9];
5709 s5 = s6;
5710 } else {
5711 peg$currPos = s5;
5712 s5 = peg$c3;
5713 }
5714 } else {
5715 peg$currPos = s5;
5716 s5 = peg$c3;
5717 }
5718 } else {
5719 peg$currPos = s5;
5720 s5 = peg$c3;
5721 }
5722 } else {
5723 peg$currPos = s5;
5724 s5 = peg$c3;
5725 }
5726 while (s5 !== peg$FAILED) {
5727 s4.push(s5);
5728 s5 = peg$currPos;
5729 s6 = peg$parse_();
5730 if (s6 !== peg$FAILED) {

Callers 1

Calls 4

peg$failFunction · 0.85
peg$parse_Function · 0.85
peg$c228Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…