Skip to content

Commit 4b9f236

Browse files
test: cover the JavaScript tokenizer from its own tests
Table-driven comparisons with acorn's tokenizer across ecmaVersions and options (punctuators, numbers, strings, templates, regexps, comments, identifiers, keywords and regexp-vs-division contexts), plus the callbacks, error locations and eof behaviour. Every tokenizer function is reached; what is left is a readNumber guard no input reaches and the context-stack fallback of inGeneratorContext. Claude-Session: https://claude.ai/code/session_017TkBWTk3wcyUcJYDp5ZhaP
1 parent fe9edfa commit 4b9f236

1 file changed

Lines changed: 500 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)