MCPcopy Create free account
hub / github.com/codemix/graph / peg$f276

Function peg$f276

packages/graph/src/grammar.js:2283–2286  ·  view source on GitHub ↗
(sign, digits)

Source from the content-addressed store, hash-verified

2281 function peg$f274() { return '"'; }
2282 function peg$f275() { return "'"; }
2283 function peg$f276(sign, digits) {
2284 const num = parseInt(digits.join(''), 16);
2285 return sign ? -num : num;
2286 }
2287 function peg$f277(sign, digits) {
2288 const num = parseInt(digits.join(''), 8);
2289 return sign ? -num : num;

Callers 1

peg$parseHexIntegerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected