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

Side by Side Diff: lib/src/prism/tests/languages/stylus/keyword_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 for i in 1..5
2 if a == 3
3 z-index: 1 unless @z-index;
4 return pair[1] if pair[0] == key for pair in hash
5
6 ----------------------------------------------------
7
8 [
9 ["statement", [
10 ["keyword", "for"],
11 " i ",
12 ["operator", "in"],
13 ["number", "1"],
14 ["operator", ".."],
15 ["number", "5"]
16 ]],
17 ["statement", [
18 ["keyword", "if"],
19 " a ",
20 ["operator", "=="],
21 ["number", "3"]
22 ]],
23 ["property-declaration", [
24 ["property", ["z-index"]],
25 ["punctuation", ":"],
26 ["number", "1"],
27 ["keyword", "unless"],
28 ["keyword", "@z-index"],
29 ["punctuation", ";"]
30 ]],
31 ["statement", [
32 ["keyword", "return"], " pair",
33 ["punctuation", "["], ["number", "1"], ["punctuation", "]"],
34 ["keyword", "if"], " pair",
35 ["punctuation", "["], ["number", "0"], ["punctuation", "]"],
36 ["operator", "=="], " key ",
37 ["keyword", "for"], " pair ",
38 ["operator", "in"], " hash"
39 ]]
40 ]
41
42 ----------------------------------------------------
43
44 Checks for statements and keywords.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/stylus/important_feature.test ('k') | lib/src/prism/tests/languages/stylus/number_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698