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

Function peg$parseCallExpression

lib/parser.js:4872–5046  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4870 }
4871
4872 function peg$parseCallExpression() {
4873 var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13;
4874
4875 s0 = peg$currPos;
4876 s1 = peg$parseConditionalExpression();
4877 if (s1 !== peg$FAILED) {
4878 s2 = peg$parse_();
4879 if (s2 !== peg$FAILED) {
4880 if (input.charCodeAt(peg$currPos) === 124) {
4881 s3 = peg$c179;
4882 peg$currPos++;
4883 } else {
4884 s3 = peg$FAILED;
4885 if (peg$silentFails === 0) { peg$fail(peg$c180); }
4886 }
4887 if (s3 !== peg$FAILED) {
4888 s4 = peg$parse_();
4889 if (s4 !== peg$FAILED) {
4890 s5 = peg$currPos;
4891 s6 = peg$parseIdentifier();
4892 if (s6 !== peg$FAILED) {
4893 s7 = peg$parseCallParameters();
4894 if (s7 === peg$FAILED) {
4895 s7 = peg$c0;
4896 }
4897 if (s7 !== peg$FAILED) {
4898 s6 = [s6, s7];
4899 s5 = s6;
4900 } else {
4901 peg$currPos = s5;
4902 s5 = peg$c3;
4903 }
4904 } else {
4905 peg$currPos = s5;
4906 s5 = peg$c3;
4907 }
4908 if (s5 !== peg$FAILED) {
4909 s6 = [];
4910 s7 = peg$currPos;
4911 s8 = peg$parse_();
4912 if (s8 !== peg$FAILED) {
4913 if (input.charCodeAt(peg$currPos) === 124) {
4914 s9 = peg$c179;
4915 peg$currPos++;
4916 } else {
4917 s9 = peg$FAILED;
4918 if (peg$silentFails === 0) { peg$fail(peg$c180); }
4919 }
4920 if (s9 !== peg$FAILED) {
4921 s10 = peg$parse_();
4922 if (s10 !== peg$FAILED) {
4923 s11 = peg$currPos;
4924 s12 = peg$parseIdentifier();
4925 if (s12 !== peg$FAILED) {
4926 s13 = peg$parseCallParameters();
4927 if (s13 === peg$FAILED) {
4928 s13 = peg$c0;
4929 }

Callers 1

peg$parseAliasExpressionFunction · 0.85

Calls 6

peg$parse_Function · 0.85
peg$failFunction · 0.85
peg$parseIdentifierFunction · 0.85
peg$parseCallParametersFunction · 0.85
peg$c181Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…