Repository navigation
Commit 4b9f236
committed
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_017TkBWTk3wcyUcJYDp5ZhaP1 parent fe9edfa commit 4b9f236
1 file changed
Lines changed: 500 additions & 0 deletions
0 commit comments