MCPcopy Index your code
hub / github.com/pegjs/pegjs / peg$parseDecimalDigit

Function peg$parseDecimalDigit

lib/parser.js:3027–3039  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3025 }
3026
3027 function peg$parseDecimalDigit() {
3028 var s0;
3029
3030 if (peg$c129.test(input.charAt(peg$currPos))) {
3031 s0 = input.charAt(peg$currPos);
3032 peg$currPos++;
3033 } else {
3034 s0 = peg$FAILED;
3035 if (peg$silentFails === 0) { peg$fail(peg$c130); }
3036 }
3037
3038 return s0;
3039 }
3040
3041 function peg$parseHexDigit() {
3042 var s0;

Callers 2

peg$parseEscapeSequenceFunction · 0.85
peg$parseEscapeCharacterFunction · 0.85

Calls 1

peg$failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…