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

117 lines
2.9 KiB
Plaintext
Raw Permalink 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)))))))
2023-11-14 23:56:44 +00:00
================================================================================
Function Call Index
================================================================================
x:(y):0
--------------------------------------------------------------------------------
(root
(statement
(expression
(index
(expression
(index
(expression
(identifier))
(expression
2023-11-30 16:05:09 +00:00
(function_call
2023-12-02 07:34:23 +00:00
(expression
(identifier))))))
2023-11-14 23:56:44 +00:00
(expression
(value
(integer)))))))