================
@@ -144,6 +156,30 @@ class Parser::CodeTokenizer {
     return result;
   }
 
+  void consumeNumberLiteral(TokenInfo *result) {
+    unsigned length = 1;
----------------
jpienaar wrote:
Wouldn't stringref consumeInteger also work here?
https://github.com/llvm/llvm-project/pull/115670