numberPrimitive method
Parser
numberPrimitive()
Implementation
Parser numberPrimitive() =>
char('-').optional() &
char('0').or(digit().plus()) &
char('.').seq(digit().plus()).optional() &
pattern('eE')
.seq(pattern('-+').optional())
.seq(digit().plus())
.optional();