1212----------------------------------------------------
1313
1414[
15- ["tag", [["tag", [["punctuation", "<"], "a"]],
16- ["attr-name", ["href"]], ["attr-value", [["punctuation", "="], ["punctuation", "\""],
17- ["latte", [["ld", [["punctuation", "{"], ["tag", "link"]]],
18- ["php", ["Post", ["punctuation", ":"], ["class-name", "show"], ["variable", "$post"], ["operator", "->"], ["property", "id"]]],
19- ["rd", [["punctuation", "}"]]]]],
20- ["punctuation", "\""]]], ["punctuation", ">"]]],
21- ["latte", [["ld", [["punctuation", "{"]]], ["php", [["variable", "$post"], ["operator", "->"], ["property", "title"]]], ["rd", [["punctuation", "}"]]]]],
22- ["tag", [["tag", [["punctuation", "</"], "a"]], ["punctuation", ">"]]],
15+ ["tag", [
16+ ["tag", [
17+ ["punctuation", "<"],
18+ "a"
19+ ]],
20+ ["attr-name", ["href"]],
21+ ["attr-value", [
22+ ["punctuation", "="],
23+ ["punctuation", "\""],
24+ ["latte", [
25+ ["delimiter", "{"],
26+ ["latte-tag", "link"],
27+ ["php", [
28+ "Post",
29+ ["punctuation", ":"],
30+ ["class-name", "show"],
31+ ["variable", "$post"],
32+ ["operator", "->"],
33+ ["property", "id"]
34+ ]],
35+ ["delimiter", "}"]
36+ ]],
37+ ["punctuation", "\""]
38+ ]],
39+ ["punctuation", ">"]
40+ ]],
41+ ["latte", [
42+ ["delimiter", "{"],
43+ ["php", [
44+ ["variable", "$post"],
45+ ["operator", "->"],
46+ ["property", "title"]
47+ ]],
48+ ["delimiter", "}"]
49+ ]],
50+ ["tag", [
51+ ["tag", [
52+ ["punctuation", "</"],
53+ "a"
54+ ]],
55+ ["punctuation", ">"]
56+ ]],
2357
24- ["tag", [["tag", [["punctuation", "<"], "a"]],
25- ["attr-name",
26- [["latte", [["ld", [["punctuation", "{"], ["tag", "if"]]], ["php", [["variable", "$post"], ["operator", "->"], ["property", "id"]]], ["rd", [["punctuation", "}"]]]]], "title"]
27- ],
28- ["attr-value", [["punctuation", "="], ["punctuation", "\""], "ahoj", ["punctuation", "\""]]],
29- ["attr-name", [["latte", [["ld", [["punctuation", "{/"], ["tag", "if"]]], ["rd", [["punctuation", "}"]]]]]]],
30- ["punctuation", ">"]]],
31- ["latte", [["ld", [["punctuation", "{"]]], ["php", [["variable", "$post"], ["operator", "->"], ["property", "title"]]], ["rd", [["punctuation", "}"]]]]],
32- ["tag", [["tag", [["punctuation", "</"], "a"]], ["punctuation", ">"]]],
58+ ["tag", [
59+ ["tag", [
60+ ["punctuation", "<"],
61+ "a"
62+ ]],
63+ ["attr-name", [
64+ ["latte", [
65+ ["delimiter", "{"],
66+ ["latte-tag", "if"],
67+ ["php", [
68+ ["variable", "$post"],
69+ ["operator", "->"],
70+ ["property", "id"]
71+ ]],
72+ ["delimiter", "}"]
73+ ]],
74+ "title"
75+ ]],
76+ ["attr-value", [
77+ ["punctuation", "="],
78+ ["punctuation", "\""],
79+ "ahoj",
80+ ["punctuation", "\""]
81+ ]],
82+ ["attr-name", [
83+ ["latte", [
84+ ["delimiter", "{/"],
85+ ["latte-tag", "if"],
86+ ["delimiter", "}"]
87+ ]]
88+ ]],
89+ ["punctuation", ">"]
90+ ]],
91+ ["latte", [
92+ ["delimiter", "{"],
93+ ["php", [
94+ ["variable", "$post"],
95+ ["operator", "->"],
96+ ["property", "title"]
97+ ]],
98+ ["delimiter", "}"]
99+ ]],
100+ ["tag", [
101+ ["tag", [
102+ ["punctuation", "</"],
103+ "a"
104+ ]],
105+ ["punctuation", ">"]
106+ ]],
33107
34- ["latte", [["ld", [["punctuation", "{"], ["tag", "tag"]]], ["php", [["variable", "$a"], ["operator", "="], ["constant", "true"], ["operator", "?"], ["number", "10"], ["operator", "*"], ["number", "5"]]], ["rd", [["punctuation", "}"]]]]],
35-
36- ["tag", [["tag", [["punctuation", "<"], "div"]],
37- ["n-attr", [["attr-name", "n:attr"], ["attr-value", [["punctuation", "="], ["punctuation", "\""], ["php", [["variable", "$a"], ["operator", "="], ["constant", "true"], ["operator", "?"], ["number", "10"], ["operator", "*"], ["number", "5"]]], ["punctuation", "\""]]]]],
38- ["punctuation", ">"]]],
39-
40- ["latte", [["ld", [["punctuation", "{"], ["tag", "php"]]], ["php", [["string", "''"]]], ["rd", [["punctuation", "}"]]]]],
41-
42- ["latte", [["ld", [["punctuation", "{"], ["tag", "php"]]], ["php", [["string", ["\"\""]]]], ["rd", [["punctuation", "}"]]]]],
43-
44- ["latte", [["ld", [["punctuation", "{"], ["tag", "php"]]], ["php", [["string", ["\"ba\\\"r\""]]]], ["rd", [["punctuation", "}"]]]]],
45-
46- ["latte", [["ld", [["punctuation", "{"], ["tag", "php"]]], ["php", [["string", "'ba\\'z'"]]], ["rd", [["punctuation", "}"]]]]],
47-
48- ["latte", [["ld", [["punctuation", "{"], ["tag", "php"]]], ["php", [["comment", "/* \" */"]]], ["rd", [["punctuation", "}"]]]]]
108+ ["latte", [
109+ ["delimiter", "{"],
110+ ["latte-tag", "tag"],
111+ ["php", [
112+ ["variable", "$a"],
113+ ["operator", "="],
114+ ["constant", "true"],
115+ ["operator", "?"],
116+ ["number", "10"],
117+ ["operator", "*"],
118+ ["number", "5"]
119+ ]],
120+ ["delimiter", "}"]
121+ ]],
122+ ["tag", [
123+ ["tag", [
124+ ["punctuation", "<"],
125+ "div"
126+ ]],
127+ ["n-attr", [
128+ ["attr-name", "n:attr"],
129+ ["attr-value", [
130+ ["punctuation", "="],
131+ ["punctuation", "\""],
132+ ["php", [
133+ ["variable", "$a"],
134+ ["operator", "="],
135+ ["constant", "true"],
136+ ["operator", "?"],
137+ ["number", "10"],
138+ ["operator", "*"],
139+ ["number", "5"]
140+ ]],
141+ ["punctuation", "\""]
142+ ]]
143+ ]],
144+ ["punctuation", ">"]
145+ ]],
146+ ["latte", [
147+ ["delimiter", "{"],
148+ ["latte-tag", "php"],
149+ ["php", [
150+ ["string", "''"]
151+ ]],
152+ ["delimiter", "}"]
153+ ]],
154+ ["latte", [
155+ ["delimiter", "{"],
156+ ["latte-tag", "php"],
157+ ["php", [
158+ ["string", ["\"\""]]
159+ ]],
160+ ["delimiter", "}"]
161+ ]],
162+ ["latte", [
163+ ["delimiter", "{"],
164+ ["latte-tag", "php"],
165+ ["php", [
166+ ["string", ["\"ba\\\"r\""]]
167+ ]],
168+ ["delimiter", "}"]
169+ ]],
170+ ["latte", [
171+ ["delimiter", "{"],
172+ ["latte-tag", "php"],
173+ ["php", [
174+ ["string", "'ba\\'z'"]
175+ ]],
176+ ["delimiter", "}"]
177+ ]],
178+ ["latte", [
179+ ["delimiter", "{"],
180+ ["latte-tag", "php"],
181+ ["php", [
182+ ["comment", "/* \" */"]
183+ ]],
184+ ["delimiter", "}"]
185+ ]]
49186]
50187
51188----------------------------------------------------
52189
53- Checks for operators.
190+ Checks for operators.
0 commit comments