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

50 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-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(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
2024-02-16 15:55:15 +00:00
(statement_kind
(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
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(identifier))))
2023-11-11 01:44:03 +00:00
(statement
2024-02-16 15:55:15 +00:00
(statement_kind
(expression
(value
(string))))))