true if lit matched and the cursor advanced, false otherwise.bool match(string lit) @safeIf the remaining input starts with lit, advance and return true.
lit | Literal string to match. |
true if lit matched and the cursor advanced, false otherwise.