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

93 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-11-11 01:44:03 +00:00
================================================================================
2023-10-31 09:51:37 +00:00
Simple Indexes
2023-11-11 01:44:03 +00:00
================================================================================
dust_data:1:name
creature:total_clams
foobar:1:42
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
(expression
(index
2023-10-31 09:51:37 +00:00
(expression
(index
(expression
2023-11-11 01:44:03 +00:00
(identifier))
2023-10-31 09:51:37 +00:00
(expression
(value
2023-11-11 01:44:03 +00:00
(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
2023-11-11 01:44:03 +00:00
================================================================================
2023-10-31 09:51:37 +00:00
Nested Indexes
2023-11-11 01:44:03 +00:00
================================================================================
2023-10-31 09:51:37 +00:00
[['answers' 'foobar'], 42, 666]:0:1:0..2
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
(expression
(index
2023-10-31 09:51:37 +00:00
(expression
(index
(expression
(index
(expression
2023-11-11 01:44:03 +00:00
(value
(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
2023-11-11 01:44:03 +00:00
(integer)))))
(expression
(value
(integer)))
(expression
(value
(integer)))))))