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

Side by Side Diff: lib/src/prism/tests/languages/smarty/variable_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 {$foo}
2 {$foo_bar42}
3 {#pageTitle#}
4 {$foo.bar.baz}
5 {$foo->bar->baz}
6 {$foo[row]}
7
8 ----------------------------------------------------
9
10 [
11 ["smarty", [
12 ["delimiter", "{"],
13 ["variable", "$foo"],
14 ["delimiter", "}"]
15 ]],
16 ["smarty", [
17 ["delimiter", "{"],
18 ["variable", "$foo_bar42"],
19 ["delimiter", "}"]
20 ]],
21 ["smarty", [
22 ["delimiter", "{"],
23 ["variable", "#pageTitle#"],
24 ["delimiter", "}"]
25 ]],
26 ["smarty", [
27 ["delimiter", "{"],
28 ["variable", "$foo"],
29 ["punctuation", "."],
30 ["variable", "bar"],
31 ["punctuation", "."],
32 ["variable", "baz"],
33 ["delimiter", "}"]
34 ]],
35 ["smarty", [
36 ["delimiter", "{"],
37 ["variable", "$foo"],
38 ["punctuation", "->"],
39 ["variable", "bar"],
40 ["punctuation", "->"],
41 ["variable", "baz"],
42 ["delimiter", "}"]
43 ]],
44 ["smarty", [
45 ["delimiter", "{"],
46 ["variable", "$foo"],
47 ["punctuation", "["],
48 ["variable", "row"],
49 ["punctuation", "]"],
50 ["delimiter", "}"]
51 ]]
52 ]
53
54 ----------------------------------------------------
55
56 Checks for variables.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/smarty/string_feature.test ('k') | lib/src/prism/tests/languages/sql/boolean_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698