Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Side by Side Diff: lib/src/prism/tests/languages/smarty/function_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {if count($foo)}
2 {$foo|@count}
3 {$bar|lower}
4 {/if}
5
6 ----------------------------------------------------
7
8 [
9 ["smarty", [
10 ["delimiter", "{"],
11 ["function", "if"],
12 ["function", "count"],
13 ["punctuation", "("],
14 ["variable", "$foo"],
15 ["punctuation", ")"],
16 ["delimiter", "}"]
17 ]],
18 ["smarty", [
19 ["delimiter", "{"],
20 ["variable", "$foo"],
21 ["operator", "|"],
22 ["function", "@count"],
23 ["delimiter", "}"]
24 ]],
25 ["smarty", [
26 ["delimiter", "{"],
27 ["variable", "$bar"],
28 ["operator", "|"],
29 ["function", "lower"],
30 ["delimiter", "}"]
31 ]],
32 ["smarty", [
33 ["delimiter", "{"],
34 ["function", "/if"],
35 ["delimiter", "}"]
36 ]]
37 ]
38
39 ----------------------------------------------------
40
41 Checks for tags, filters and functions.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/smarty/attr-name_feature.test ('k') | lib/src/prism/tests/languages/smarty/keyword_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698