Skip to content

Commit

Permalink
Use latest groovy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rien committed May 31, 2024
1 parent ffbdd79 commit 7dee4bf
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 1 deletion.
289 changes: 289 additions & 0 deletions lib/src/test/snapshots/tokenizer.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7673,6 +7673,295 @@ Generated by [AVA](https://avajs.dev).
')',
]

## tokenizer works for groovy

> stable tokenization

[
'(',
'source_file',
'(',
'function_definition',
'(',
'identifier',
')',
'(',
'parameter_list',
'(',
'parameter',
'(',
'identifier',
')',
')',
'(',
'parameter',
'(',
'identifier',
')',
')',
')',
'(',
'closure',
'(',
'declaration',
'(',
'identifier',
')',
'(',
'unary_op',
'(',
'function_call',
'(',
'identifier',
')',
'(',
'argument_list',
')',
')',
')',
')',
'(',
'juxt_function_call',
'(',
'dotted_identifier',
'(',
'identifier',
')',
'(',
'identifier',
')',
')',
'(',
'argument_list',
'(',
'closure',
'(',
'parameter_list',
'(',
'parameter',
'(',
'identifier',
')',
')',
')',
'(',
'declaration',
'(',
'builtintype',
')',
'(',
'identifier',
')',
'(',
'binary_op',
'(',
'index',
'(',
'identifier',
')',
'(',
'number_literal',
')',
')',
'(',
'identifier',
')',
')',
')',
'(',
'switch_statement',
'(',
'identifier',
')',
'(',
'switch_block',
'(',
'case',
'(',
'binary_op',
'(',
'string',
'(',
'string_content',
')',
')',
'(',
'string',
'(',
'string_content',
')',
')',
')',
'(',
'assignment',
'(',
'identifier',
')',
'(',
'binary_op',
'(',
'binary_op',
'(',
'binary_op',
'(',
'binary_op',
'(',
'identifier',
')',
'(',
'number_literal',
')',
')',
'(',
'identifier',
')',
')',
'(',
'number_literal',
')',
')',
'(',
'number_literal',
')',
')',
')',
'(',
'break',
')',
')',
'(',
'case',
'(',
'binary_op',
'(',
'string',
'(',
'string_content',
')',
')',
'(',
'string',
'(',
'string_content',
')',
')',
')',
'(',
'assignment',
'(',
'identifier',
')',
'(',
'binary_op',
'(',
'binary_op',
'(',
'binary_op',
'(',
'binary_op',
'(',
'identifier',
')',
'(',
'number_literal',
')',
')',
'(',
'identifier',
')',
')',
'(',
'number_literal',
')',
')',
'(',
'number_literal',
')',
')',
')',
'(',
'break',
')',
')',
')',
')',
'(',
'binary_op',
'(',
'identifier',
')',
'(',
'binary_op',
'(',
'identifier',
')',
'(',
'identifier',
')',
')',
')',
')',
')',
')',
'(',
'binary_op',
'(',
'identifier',
')',
'(',
'identifier',
')',
')',
')',
')',
'(',
'function_definition',
'(',
'identifier',
')',
'(',
'parameter_list',
'(',
'parameter',
'(',
'identifier',
')',
')',
'(',
'parameter',
'(',
'identifier',
')',
')',
')',
'(',
'closure',
'(',
'function_call',
'(',
'identifier',
')',
'(',
'argument_list',
'(',
'binary_op',
'(',
'number_literal',
')',
'(',
'identifier',
')',
')',
'(',
'identifier',
')',
')',
')',
')',
')',
')',
]

## tokenizer works for java

> stable tokenization
Expand Down
Binary file modified lib/src/test/snapshots/tokenizer.test.ts.snap
Binary file not shown.

0 comments on commit 7dee4bf

Please sign in to comment.