MCPcopy Create free account
hub / github.com/chearon/dropflow / peg$parseLENGTH

Function peg$parseLENGTH

src/parse-css.js:12843–13078  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12841 }
12842
12843 function peg$parseLENGTH() {
12844 var s0, s1, s2, s3, s4;
12845
12846 peg$silentFails++;
12847 s0 = peg$currPos;
12848 s1 = [];
12849 s2 = peg$parsecomment();
12850 while (s2 !== peg$FAILED) {
12851 s1.push(s2);
12852 s2 = peg$parsecomment();
12853 }
12854 s2 = peg$parsenum();
12855 if (s2 !== peg$FAILED) {
12856 s3 = peg$parseP();
12857 if (s3 !== peg$FAILED) {
12858 s4 = peg$parseX();
12859 if (s4 !== peg$FAILED) {
12860 peg$savedPos = s0;
12861 s0 = peg$f168(s2);
12862 } else {
12863 peg$currPos = s0;
12864 s0 = peg$FAILED;
12865 }
12866 } else {
12867 peg$currPos = s0;
12868 s0 = peg$FAILED;
12869 }
12870 } else {
12871 peg$currPos = s0;
12872 s0 = peg$FAILED;
12873 }
12874 if (s0 === peg$FAILED) {
12875 s0 = peg$currPos;
12876 s1 = [];
12877 s2 = peg$parsecomment();
12878 while (s2 !== peg$FAILED) {
12879 s1.push(s2);
12880 s2 = peg$parsecomment();
12881 }
12882 s2 = peg$parsenum();
12883 if (s2 !== peg$FAILED) {
12884 s3 = peg$parseC();
12885 if (s3 !== peg$FAILED) {
12886 s4 = peg$parseM();
12887 if (s4 !== peg$FAILED) {
12888 peg$savedPos = s0;
12889 s0 = peg$f169(s2);
12890 } else {
12891 peg$currPos = s0;
12892 s0 = peg$FAILED;
12893 }
12894 } else {
12895 peg$currPos = s0;
12896 s0 = peg$FAILED;
12897 }
12898 } else {
12899 peg$currPos = s0;
12900 s0 = peg$FAILED;

Callers 13

peg$parsetermFunction · 0.85
peg$parsefont_sizeFunction · 0.85
peg$parseline_heightFunction · 0.85
peg$parsevertical_alignFunction · 0.85
peg$parsetab_sizeFunction · 0.85
peg$parselength_sideFunction · 0.85
peg$parsemargin_sideFunction · 0.85

Calls 15

peg$parsecommentFunction · 0.85
peg$parsenumFunction · 0.85
peg$parsePFunction · 0.85
peg$parseXFunction · 0.85
peg$f168Function · 0.85
peg$parseCFunction · 0.85
peg$parseMFunction · 0.85
peg$f169Function · 0.85
peg$f170Function · 0.85
peg$parseIFunction · 0.85
peg$parseNFunction · 0.85
peg$f171Function · 0.85

Tested by

no test coverage detected