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

94 lines
2.1 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 13:31:10 +00:00
(block
(statement
(expression
(index
(expression
(index
(expression
(identifier))
(expression
(value
(integer)))))
(expression
(identifier)))))
(statement
(expression
(index
(expression
(identifier))
(expression
(identifier)))))
(statement
2023-10-31 09:51:37 +00:00
(expression
(index
(expression
2023-10-31 13:31:10 +00:00
(index
(expression
(identifier))
(expression
(value
(integer)))))
2023-10-31 09:51:37 +00:00
(expression
(value
2023-10-31 13:31:10 +00:00
(integer))))))))
2023-10-31 09:51:37 +00:00
==================
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 13:31:10 +00:00
(block
(statement
2023-10-31 09:51:37 +00:00
(expression
(index
(expression
(index
(expression
2023-10-31 13:31:10 +00:00
(index
(expression
(value
(list
(expression
(value
(list
(expression
(value
(string)))
(expression
(value
(string))))))
(expression
(value
(integer)))
(expression
(value
(integer))))))
(expression
(value
(integer)))))
(expression
(value
2023-10-31 09:51:37 +00:00
(integer)))))
(expression
(value
2023-10-31 13:31:10 +00:00
(integer)))
(expression
(value
(integer))))))))