imported test cases
Release / Version (push) Canceled after 0s
Release / CI (push) Canceled after 0s
Release / Prebuild (macos-latest) (push) Canceled after 0s
Release / Prebuild (ubuntu-24.04-arm) (push) Canceled after 0s
Release / Prebuild (ubuntu-latest) (push) Canceled after 0s
Release / Prebuild (windows-latest) (push) Canceled after 0s
Release / Tag and stage (push) Canceled after 0s
Release / Version (push) Canceled after 0s
Release / CI (push) Canceled after 0s
Release / Prebuild (macos-latest) (push) Canceled after 0s
Release / Prebuild (ubuntu-24.04-arm) (push) Canceled after 0s
Release / Prebuild (ubuntu-latest) (push) Canceled after 0s
Release / Prebuild (windows-latest) (push) Canceled after 0s
Release / Tag and stage (push) Canceled after 0s
This commit is contained in:
1 parent
b154625f1b
commit
2181ff3403
3 files changed
+384
No files matched your search
@@ -101,6 +101,153 @@ other
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With Elif
|
||||
==================
|
||||
|
||||
{% if x %}a{% elif y %}b{% endif %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(if_group
|
||||
(if_block
|
||||
(if_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)))
|
||||
(elif_block
|
||||
(elif_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)))
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With Else
|
||||
==================
|
||||
|
||||
{% if x %}a{% else %}b{% endif %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(if_group
|
||||
(if_block
|
||||
(if_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)))
|
||||
(else_block
|
||||
(else_tag)
|
||||
(template
|
||||
(content)))
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With An Elif Missing Its Condition
|
||||
==================
|
||||
|
||||
{% if x %}a{% elif %}b{% endif %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(if_group
|
||||
(if_block
|
||||
(if_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)
|
||||
(unexpected_tag)
|
||||
(content)))
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With An Elif After An Else
|
||||
==================
|
||||
|
||||
{% if x %}a{% else %}b{% elif y %}c{% endif %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(if_group
|
||||
(if_block
|
||||
(if_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)
|
||||
(unexpected_tag)
|
||||
(content)))
|
||||
(elif_block
|
||||
(elif_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)))
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With Two Elses
|
||||
==================
|
||||
|
||||
{% if x %}a{% else %}b{% else %}c{% endif %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(if_group
|
||||
(if_block
|
||||
(if_tag
|
||||
(predicate
|
||||
(filtered_value
|
||||
(value
|
||||
(variable_attribute
|
||||
(identifier))))))
|
||||
(template
|
||||
(content)))
|
||||
(else_block
|
||||
(else_tag)
|
||||
(template
|
||||
(content)
|
||||
(unexpected_tag)
|
||||
(content)))
|
||||
(endif_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
If With Complex Predicate
|
||||
==================
|
||||
|
||||
Reference in new issue
Block a user