hexNumber method
Implementation
Parser<IntegerLiteralNode> hexNumber() => (string('0x') | string('0X'))
.seq(ref0(hexDigits))
.flatten()
.map((str) => IntegerLiteralNode(int.parse(str.replaceAll('_', ''))));
Parser<IntegerLiteralNode> hexNumber() => (string('0x') | string('0X'))
.seq(ref0(hexDigits))
.flatten()
.map((str) => IntegerLiteralNode(int.parse(str.replaceAll('_', ''))));