1
0
dust/tree-sitter-dust/corpus/comments.txt

49 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-11-04 10:02:27 +00:00
================================================================================
Full Line Comments
2023-11-04 10:02:27 +00:00
================================================================================
not_a_comment
# comment
2023-11-04 10:02:27 +00:00
--------------------------------------------------------------------------------
(root
2023-10-31 13:31:10 +00:00
(block
(statement
(expression
2023-11-04 10:02:27 +00:00
(identifier)))))
2023-11-04 10:02:27 +00:00
================================================================================
Partial Line Comments
2023-11-04 10:02:27 +00:00
================================================================================
not_a_comment # comment
2023-11-04 10:02:27 +00:00
--------------------------------------------------------------------------------
(root
2023-10-31 13:31:10 +00:00
(block
(statement
(expression
2023-11-04 10:02:27 +00:00
(identifier)))))
2023-10-31 07:17:58 +00:00
2023-11-04 10:02:27 +00:00
================================================================================
2023-10-31 07:17:58 +00:00
Multiline Comments
2023-11-04 10:02:27 +00:00
================================================================================
2023-10-31 07:17:58 +00:00
# comment #
not_a_comment #
# comment # "not a comment"
2023-11-04 10:02:27 +00:00
--------------------------------------------------------------------------------
2023-10-31 07:17:58 +00:00
(root
2023-10-31 13:31:10 +00:00
(block
(statement
(expression
(identifier)))
(statement
(expression
(value
(string))))))