mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 14:59:55 -06:00
50 lines
588 B
Text
50 lines
588 B
Text
=======
|
|
keyword
|
|
=======
|
|
|
|
:test
|
|
(f :foo 3)
|
|
|
|
---
|
|
|
|
(source_file
|
|
(keyword)
|
|
(expression
|
|
(symbol) (keyword) (integer)))
|
|
|
|
==================
|
|
dotted identifiers
|
|
==================
|
|
|
|
(foo.bar.baz)
|
|
(.foo.bar)
|
|
(..foo.bar)
|
|
.foo.bar
|
|
|
|
---
|
|
|
|
(source_file
|
|
(expression
|
|
(dotted_identifier))
|
|
(expression
|
|
(dotted_identifier))
|
|
(expression
|
|
(dotted_identifier))
|
|
(dotted_identifier))
|
|
|
|
======================
|
|
not dotted identifiers
|
|
======================
|
|
|
|
.
|
|
...
|
|
........
|
|
. .
|
|
|
|
---
|
|
|
|
(source_file
|
|
(symbol)
|
|
(symbol)
|
|
(symbol)
|
|
(symbol) (symbol))
|