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

Function peg$parseProperty

lib/parser.js:6066–6114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6064 }
6065
6066 function peg$parseProperty() {
6067 var s0, s1, s2, s3, s4, s5;
6068
6069 s0 = peg$currPos;
6070 s1 = peg$parseIdentifier();
6071 if (s1 === peg$FAILED) {
6072 s1 = peg$parseLiteral();
6073 }
6074 if (s1 !== peg$FAILED) {
6075 s2 = peg$parse_();
6076 if (s2 !== peg$FAILED) {
6077 if (input.charCodeAt(peg$currPos) === 58) {
6078 s3 = peg$c189;
6079 peg$currPos++;
6080 } else {
6081 s3 = peg$FAILED;
6082 if (peg$silentFails === 0) { peg$fail(peg$c190); }
6083 }
6084 if (s3 !== peg$FAILED) {
6085 s4 = peg$parse_();
6086 if (s4 !== peg$FAILED) {
6087 s5 = peg$parseIterateExpression();
6088 if (s5 !== peg$FAILED) {
6089 peg$reportedPos = s0;
6090 s1 = peg$c235(s1, s5);
6091 s0 = s1;
6092 } else {
6093 peg$currPos = s0;
6094 s0 = peg$c3;
6095 }
6096 } else {
6097 peg$currPos = s0;
6098 s0 = peg$c3;
6099 }
6100 } else {
6101 peg$currPos = s0;
6102 s0 = peg$c3;
6103 }
6104 } else {
6105 peg$currPos = s0;
6106 s0 = peg$c3;
6107 }
6108 } else {
6109 peg$currPos = s0;
6110 s0 = peg$c3;
6111 }
6112
6113 return s0;
6114 }
6115
6116 function peg$parseLl() {
6117 var s0;

Callers 1

Calls 6

peg$parseIdentifierFunction · 0.85
peg$parseLiteralFunction · 0.85
peg$parse_Function · 0.85
peg$failFunction · 0.85
peg$c235Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…