tree-sitter-elixir/test/corpus/term/alias.txt

85 lines
1014 B
Plaintext

=====================================
single part
=====================================
Mod
AZ_az_19_
---
(source
(alias)
(alias))
=====================================
multiple parts
=====================================
Mod.Child
Mod.Child.Child
---
(source
(alias)
(alias))
=====================================
spacing
=====================================
Mod . Child
Mod
.
Child
---
(source
(alias)
(alias))
=====================================
qualified tuples
=====================================
Mod.{Child1, Child2}
---
(source
(dot
(alias)
(tuple
(alias)
(alias))))
=====================================
dot on identifier
=====================================
name.Mod
name.Mod.Child
---
(source
(dot
(identifier)
(alias))
(dot
(identifier)
(alias)))
=====================================
dot on special identifier
=====================================
__MODULE__.Child
(source
(dot
(special_identifier)
(alias)))