binaryLiteral method
Implementation
Parser<ConstantNode> binaryLiteral() =>
((string('0b') | string('0B')) &
(pattern('01') | char('_')).plus().flatten())
.flatten()
.map(
(s) => ConstantNode(
int.parse(s.substring(2).replaceAll('_', ''), radix: 2),
),
);