1
0
dust/tree-sitter-dust/corpus/comments.txt
2023-11-04 06:02:27 -04:00

49 lines
1.2 KiB
Plaintext

================================================================================
Full Line Comments
================================================================================
not_a_comment
# comment
--------------------------------------------------------------------------------
(root
(block
(statement
(expression
(identifier)))))
================================================================================
Partial Line Comments
================================================================================
not_a_comment # comment
--------------------------------------------------------------------------------
(root
(block
(statement
(expression
(identifier)))))
================================================================================
Multiline Comments
================================================================================
# comment #
not_a_comment #
# comment # "not a comment"
--------------------------------------------------------------------------------
(root
(block
(statement
(expression
(identifier)))
(statement
(expression
(value
(string))))))