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

46 lines
1.1 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-11-11 01:44:03 +00:00
(statement
(expression
(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-11-11 01:44:03 +00:00
(statement
(expression
(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-11-11 01:44:03 +00:00
(statement
(expression
(identifier)))
(statement
(expression
(value
(string)))))