1
0

118 lines
3.1 KiB
Plaintext
Raw Normal View History

2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 05:51:37 -04:00
Simple Indexes
2023-11-10 20:44:03 -05:00
================================================================================
dust_data:1:name
creature:total_clams
foobar:1:42
2023-11-10 20:44:03 -05:00
--------------------------------------------------------------------------------
(root
2023-11-10 20:44:03 -05:00
(statement
2024-02-16 10:55:15 -05:00
(statement_kind
(expression
(index
(index_expression
(index
(index_expression
(identifier))
(index_expression
(value
(integer)))))
(index_expression
(identifier))))))
2023-11-10 20:44:03 -05:00
(statement
2024-02-16 10:55:15 -05:00
(statement_kind
(expression
(index
(index_expression
(identifier))
(index_expression
(identifier))))))
2023-11-10 20:44:03 -05:00
(statement
2024-02-16 10:55:15 -05:00
(statement_kind
(expression
(index
(index_expression
(index
(index_expression
(identifier))
(index_expression
(value
(integer)))))
(index_expression
(value
(integer))))))))
2023-10-31 05:51:37 -04:00
2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 05:51:37 -04:00
Nested Indexes
2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 05:51:37 -04:00
[['answers' 'foobar'], 42, 666]:0:1:0..2
2023-11-10 20:44:03 -05:00
--------------------------------------------------------------------------------
(root
2023-11-10 20:44:03 -05:00
(statement
2024-02-16 10:55:15 -05:00
(statement_kind
(expression
(index
(index_expression
(index
(index_expression
(index
(index_expression
(value
(list
(expression
(value
(list
(expression
(value
(string)))
(expression
(value
(string))))))
(expression
(value
(integer)))
(expression
(value
(integer))))))
(index_expression
(value
(integer)))))
(index_expression
(value
(integer)))))
(index_expression
(range)))))))
2023-11-14 18:56:44 -05:00
================================================================================
Function Call Index
================================================================================
x:(y()):0
2023-11-14 18:56:44 -05:00
--------------------------------------------------------------------------------
(root
(statement
2024-02-16 10:55:15 -05:00
(statement_kind
(expression
(index
(index_expression
(index
(index_expression
(identifier))
(index_expression
(function_call
(function_expression
(identifier))))))
(index_expression
(value
(integer))))))))