1
0
dust/tree-sitter-dust/corpus/comments.txt
2023-11-10 20:44:03 -05:00

46 lines
1.1 KiB
Plaintext

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