1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
semantic/test/fixtures/haskell/corpus/module-declaration5.parseA.txt
Rick Winfrey 646e1c3459 Be explicit about each identifier type
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.
2018-06-08 12:05:17 -07:00

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))