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

Function peg$parseObjectExpression

lib/parser.js:5935–6064  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5933 }
5934
5935 function peg$parseObjectExpression() {
5936 var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
5937
5938 s0 = peg$currPos;
5939 if (input.charCodeAt(peg$currPos) === 123) {
5940 s1 = peg$c230;
5941 peg$currPos++;
5942 } else {
5943 s1 = peg$FAILED;
5944 if (peg$silentFails === 0) { peg$fail(peg$c231); }
5945 }
5946 if (s1 !== peg$FAILED) {
5947 s2 = peg$parse_();
5948 if (s2 !== peg$FAILED) {
5949 s3 = peg$parseProperty();
5950 if (s3 === peg$FAILED) {
5951 s3 = peg$c0;
5952 }
5953 if (s3 !== peg$FAILED) {
5954 s4 = [];
5955 s5 = peg$currPos;
5956 s6 = peg$parse_();
5957 if (s6 !== peg$FAILED) {
5958 if (input.charCodeAt(peg$currPos) === 44) {
5959 s7 = peg$c171;
5960 peg$currPos++;
5961 } else {
5962 s7 = peg$FAILED;
5963 if (peg$silentFails === 0) { peg$fail(peg$c172); }
5964 }
5965 if (s7 !== peg$FAILED) {
5966 s8 = peg$parse_();
5967 if (s8 !== peg$FAILED) {
5968 s9 = peg$parseProperty();
5969 if (s9 !== peg$FAILED) {
5970 s6 = [s6, s7, s8, s9];
5971 s5 = s6;
5972 } else {
5973 peg$currPos = s5;
5974 s5 = peg$c3;
5975 }
5976 } else {
5977 peg$currPos = s5;
5978 s5 = peg$c3;
5979 }
5980 } else {
5981 peg$currPos = s5;
5982 s5 = peg$c3;
5983 }
5984 } else {
5985 peg$currPos = s5;
5986 s5 = peg$c3;
5987 }
5988 while (s5 !== peg$FAILED) {
5989 s4.push(s5);
5990 s5 = peg$currPos;
5991 s6 = peg$parse_();
5992 if (s6 !== peg$FAILED) {

Callers 1

Calls 4

peg$failFunction · 0.85
peg$parse_Function · 0.85
peg$parsePropertyFunction · 0.85
peg$c234Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…