Files
tree-sitter-jhcl/test/corpus/attributes.txt
mhoffm 380571cc1a * add field names to object elements
* dont hide template interpolation start/end and quoted template start/end tokens
2021-07-02 08:34:28 +02:00

35 lines
911 B
Plaintext

================================================================================
attribute with literal
================================================================================
foo = "bar"
--------------------------------------------------------------------------------
(config_file
(body
(attribute
(identifier)
(expression
(literal_value
(string_lit
(quoted_template_start)
(template_literal)
(quoted_template_end)))))))
================================================================================
attribute with variable
================================================================================
foo = bar
--------------------------------------------------------------------------------
(config_file
(body
(attribute
(identifier)
(expression
(variable_expr
(identifier))))))