1
0
dust/tree-sitter-dust/corpus/index.txt

93 lines
1.9 KiB
Plaintext
Raw Normal View History

==================
2023-10-31 09:51:37 +00:00
Simple Indexes
==================
dust_data:1:name
creature:total_clams
foobar:1:42
---
(root
2023-10-31 09:51:37 +00:00
(statement
(expression
(index
(expression
(index
(expression
(identifier))
(expression
(value
(integer)))))
(expression
(identifier)))))
(statement
(expression
(index
(expression
(identifier))
(expression
(identifier)))))
(statement
(expression
(index
(expression
(index
(expression
(identifier))
(expression
(value
(integer)))))
(expression
(value
(integer)))))))
==================
2023-10-31 09:51:37 +00:00
Nested Indexes
==================
2023-10-31 09:51:37 +00:00
[['answers' 'foobar'], 42, 666]:0:1:0..2
---
(root
2023-10-31 09:51:37 +00:00
(statement
(expression
(index
(expression
(index
(expression
(index
(expression
(value
2023-10-31 09:51:37 +00:00
(list
(expression
(value
(list
(expression
(value
(string)))
(expression
(value
(string))))))
(expression
(value
(integer)))
(expression
(value
(integer))))))
(expression
(value
2023-10-31 09:51:37 +00:00
(integer)))))
(expression
(value
(integer)))))
(expression
(value
(integer)))
(expression
(value
(integer)))))))