Debian Codegraph @

t/data/logic.html

raw symbols SCIP
1 <html xmlns:tal="http://purl.org/petal/1.0/">
2 <body>
3 <p>
4 <!--? Comparison -->
5 first = <span tal:replace="first">first</span>
6 second = <span tal:replace="second">second</span>
7 first_name = <span tal:replace="first_name">first_name</span>
8 first or second = <span tal:replace="or: $first $second">or</span>
9 first and second = <span tal:replace="and: $first $second">and</span>
10 first eq second = <span tal:replace="eq: $first $second">equal</span>
11 first_name like regex = <span tal:replace="like: $first_name ^Will.+m">like</span>
12
13 <!--? If/then/else -->
14 if first then first else second = <span tal:replace="if: first then: first else: second">if</span>
15 if second then first else second = <span tal:replace="if: second then: first else: second">if</span>
16 </p>
17 </body>
18 </html>
19