mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
646e1c3459
I went through a lot of trouble to make every identifier parsed in `tree-sitter-haskell` as accurate as possible (i.e. type variable identifier vs constructor identifier vs type class identifier). This enables us to keep those distinctions with assignment at the cost of adding more constructors.
24 lines
475 B
Plaintext
24 lines
475 B
Plaintext
(Module
|
|
(ModuleIdentifier)
|
|
(Export
|
|
(Statements
|
|
(TypeConstructorIdentifier)
|
|
(AllConstructors)))
|
|
(Export
|
|
(TypeConstructorExport
|
|
(ConstructorOperator
|
|
(ConstructorSymbol))))
|
|
(Export
|
|
(TypeConstructorExport
|
|
(VariableOperator
|
|
(VariableSymbol))))
|
|
(Export
|
|
(VariableIdentifier))
|
|
(Export
|
|
(ModuleExport
|
|
(ModuleIdentifier)))
|
|
(Export
|
|
(TypeConstructorExport
|
|
(ConstructorIdentifier)))
|
|
(Statements))
|