OLD | NEW |
(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. |
OLD | NEW |