1
0
dust/tree-sitter-dust/corpus/index.txt
2023-10-31 09:31:10 -04:00

94 lines
2.1 KiB
Plaintext

==================
Simple Indexes
==================
dust_data:1:name
creature:total_clams
foobar:1:42
---
(root
(block
(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))))))))
==================
Nested Indexes
==================
[['answers' 'foobar'], 42, 666]:0:1:0..2
---
(root
(block
(statement
(expression
(index
(expression
(index
(expression
(index
(expression
(value
(list
(expression
(value
(list
(expression
(value
(string)))
(expression
(value
(string))))))
(expression
(value
(integer)))
(expression
(value
(integer))))))
(expression
(value
(integer)))))
(expression
(value
(integer)))))
(expression
(value
(integer)))
(expression
(value
(integer))))))))