58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
================================================================================
|
|
collection value tuple
|
|
================================================================================
|
|
|
|
foo = [1, 2, "foo"]
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(config_file
|
|
(body
|
|
(attribute
|
|
(identifier)
|
|
(expression
|
|
(collection_value
|
|
(tuple
|
|
(expression
|
|
(literal_value
|
|
(numeric_lit)))
|
|
(expression
|
|
(literal_value
|
|
(numeric_lit)))
|
|
(expression
|
|
(literal_value
|
|
(string_lit
|
|
(template_literal))))))))))
|
|
|
|
================================================================================
|
|
collection value object
|
|
================================================================================
|
|
|
|
foo = {1: 2, "foo"="bar"}
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(config_file
|
|
(body
|
|
(attribute
|
|
(identifier)
|
|
(expression
|
|
(collection_value
|
|
(object
|
|
(object_elem
|
|
(expression
|
|
(literal_value
|
|
(numeric_lit)))
|
|
(expression
|
|
(literal_value
|
|
(numeric_lit))))
|
|
(object_elem
|
|
(expression
|
|
(literal_value
|
|
(string_lit
|
|
(template_literal))))
|
|
(expression
|
|
(literal_value
|
|
(string_lit
|
|
(template_literal)))))))))))
|