Files
tree-sitter-django/test/corpus/comment.txt
T

66 lines
837 B
Plaintext

==================
Comment Basic
==================
{% comment %}
This is ignored
{% endcomment %}
---
(template
(content)
(comment_group
(comment_clause
(comment_content)))
(content))
==================
Comment Empty
==================
{% comment %}{% endcomment %}
---
(template
(content)
(comment_group
(comment_clause))
(content))
==================
Comment With Note
==================
{% comment "why" %}
This is ignored
{% endcomment %}
---
(template
(content)
(comment_group
(comment_clause
(string)
(comment_content)))
(content))
==================
Comment Ignores Tag Like Text
==================
{% comment %}
Contains {% if x %} tag-like text
{% endcomment %}
---
(template
(content)
(comment_group
(comment_clause
(comment_content)))
(content))