Last active
January 8, 2023 07:17
-
-
Save eed3si9n/009b1e5f11f5a80ea2c98d030bd25e13 to your computer and use it in GitHub Desktop.
node_modules/.bin/tree-sitter generate --report-states-for-rule compilation_unit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ node_modules/.bin/tree-sitter generate --report-states-for-rule compilation_unit | |
class_definition 3728 | |
function_definition 2214 | |
ascription_expression 1442 | |
infix_expression 1412 | |
assignment_expression 1412 | |
postfix_expression 1412 | |
match_expression 1400 | |
field_expression 1400 | |
call_expression 1358 | |
generic_function 1358 | |
for_expression 1044 | |
typed_pattern 983 | |
arguments 864 | |
if_expression 852 | |
function_declaration 846 | |
trait_definition 810 | |
stable_identifier 802 | |
tuple_type 789 | |
stable_type_identifier 721 | |
type_arguments 705 | |
val_definition 684 | |
var_definition 684 | |
type_definition 648 | |
parameter_types 557 | |
infix_type 552 | |
while_expression 522 | |
alternative_pattern 475 | |
infix_pattern 475 | |
class_definition_repeat1 459 | |
expression 427 | |
lambda_expression 427 | |
projected_type 397 | |
compound_type_repeat1 392 | |
_block_repeat1 390 | |
object_definition 380 | |
function_type 374 | |
try_expression 372 | |
val_declaration 333 | |
var_declaration 333 | |
compound_type 325 | |
_block 320 | |
annotation 300 | |
class_parameters 297 | |
generic_type 297 | |
parameters 270 | |
_type 258 | |
case_block 252 | |
interpolated_string 252 | |
type_parameters 246 | |
tuple_type_repeat1 245 | |
identifier 242 | |
object_definition_repeat1 228 | |
case_class_pattern 217 | |
parenthesized_expression 216 | |
template_body 216 | |
block 212 | |
annotation_repeat1 200 | |
_annotated_type 196 | |
instance_expression 192 | |
prefix_expression 192 | |
throw_expression 192 | |
return_expression 192 | |
tuple_expression_repeat1 189 | |
function_definition_repeat1 189 | |
repeated_parameter_type 188 | |
indented_block 183 | |
indented_cases 178 | |
tuple_expression 172 | |
capture_pattern 169 | |
do_while_expression 168 | |
import_selectors 162 | |
interpolated_string_expression 139 | |
finally_clause 138 | |
_end_marker 129 | |
tuple_pattern 127 | |
literal_type 116 | |
string 116 | |
boolean_literal 116 | |
import_declaration_repeat1 114 | |
_object_definition 108 | |
_simple_type 100 | |
import_declaration 99 | |
_indentable_expression 96 | |
catch_clause 92 | |
bindings 90 | |
indented_cases_repeat1 89 | |
lazy_parameter_type 87 | |
unit 86 | |
_start_var 83 | |
_start_val 83 | |
extends_clause 81 | |
_import_expression 81 | |
access_qualifier 60 | |
val_declaration_repeat1 57 | |
parameters_repeat1 57 | |
class_parameters_repeat1 57 | |
type_parameters_repeat1 57 | |
access_modifier 56 | |
interpolated_string_repeat2 45 | |
interpolated_string_repeat1 45 | |
wildcard 35 | |
class_parameter 34 | |
import_selectors_repeat1 31 | |
renamed_identifier 30 | |
modifiers_repeat1 29 | |
import_wildcard 28 | |
_type_parameter 22 | |
enumerator 20 | |
case_clause 20 | |
enumerators_repeat1 17 | |
case_class_pattern_repeat1 17 | |
parameter 17 | |
enumerators 16 | |
_type_parameter_repeat2 9 | |
guard 8 | |
parameter_types_repeat1 7 | |
_type_parameter_repeat1 7 | |
binding 5 | |
interpolation 4 | |
bindings_repeat1 4 | |
_variant_type_parameter 4 | |
package_identifier_repeat1 4 | |
package_object 3 | |
package_clause 3 | |
contravariant_type_parameter 2 | |
_import_given_by_type 2 | |
compilation_unit_repeat1 2 | |
package_identifier 2 | |
context_bound 2 | |
view_bound 2 | |
covariant_type_parameter 2 | |
lower_bound 2 | |
upper_bound 2 | |
compilation_unit 1 | |
modifiers 1 | |
_pattern 0 | |
_type_identifier 0 | |
_definition 0 | |
_param_type 0 | |
_top_level_definition 0 | |
literal 0 | |
_non_null_literal 0 | |
_semicolon 0 | |
state index: 2907 | |
state id: 23 | |
symbol sequence: compilation_unit_repeat1 | |
items: | |
compilation_unit → compilation_unit_repeat1 • [compilation_unit] | |
compilation_unit_repeat1 → compilation_unit_repeat1 • compilation_unit_repeat1 [package, object, import, case, class, trait, end, val, @, var, type, def, abstract, final, sealed, implicit, lazy, override, private, protected, compilation_unit] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment