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

Function peg$parseWhiteSpace

lib/parser.js:2968–3034  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2966 }
2967
2968 function peg$parseWhiteSpace() {
2969 var s0, s1;
2970
2971 peg$silentFails++;
2972 if (input.charCodeAt(peg$currPos) === 9) {
2973 s0 = peg$c81;
2974 peg$currPos++;
2975 } else {
2976 s0 = peg$FAILED;
2977 if (peg$silentFails === 0) { peg$fail(peg$c82); }
2978 }
2979 if (s0 === peg$FAILED) {
2980 if (input.charCodeAt(peg$currPos) === 11) {
2981 s0 = peg$c83;
2982 peg$currPos++;
2983 } else {
2984 s0 = peg$FAILED;
2985 if (peg$silentFails === 0) { peg$fail(peg$c84); }
2986 }
2987 if (s0 === peg$FAILED) {
2988 if (input.charCodeAt(peg$currPos) === 12) {
2989 s0 = peg$c85;
2990 peg$currPos++;
2991 } else {
2992 s0 = peg$FAILED;
2993 if (peg$silentFails === 0) { peg$fail(peg$c86); }
2994 }
2995 if (s0 === peg$FAILED) {
2996 if (input.charCodeAt(peg$currPos) === 32) {
2997 s0 = peg$c87;
2998 peg$currPos++;
2999 } else {
3000 s0 = peg$FAILED;
3001 if (peg$silentFails === 0) { peg$fail(peg$c88); }
3002 }
3003 if (s0 === peg$FAILED) {
3004 if (input.charCodeAt(peg$currPos) === 160) {
3005 s0 = peg$c89;
3006 peg$currPos++;
3007 } else {
3008 s0 = peg$FAILED;
3009 if (peg$silentFails === 0) { peg$fail(peg$c90); }
3010 }
3011 if (s0 === peg$FAILED) {
3012 if (input.charCodeAt(peg$currPos) === 65279) {
3013 s0 = peg$c91;
3014 peg$currPos++;
3015 } else {
3016 s0 = peg$FAILED;
3017 if (peg$silentFails === 0) { peg$fail(peg$c92); }
3018 }
3019 if (s0 === peg$FAILED) {
3020 s0 = peg$parseZs();
3021 }
3022 }
3023 }
3024 }
3025 }

Callers 3

peg$parse__Function · 0.85
peg$parse_Function · 0.85

Calls 2

peg$failFunction · 0.85
peg$parseZsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…