tree-sitter-dust/corpus/maps.txt

55 lines
608 B
Plaintext

==================
Simple Map
==================
{
answer = 42
}
---
(root
(item
(statement
(expression
(value
(map
(identifier)
(value
(integer))))))))
==================
Map Assignment
==================
{
answer = 42
}
---
(root
(item
(statement
(expression
(value
(map
(identifier)
(value
(integer))))))))
==================
Map Access
==================
x.answer
---
(root
(item
(statement
(expression
(identifier)))))