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

Side by Side Diff: lib/src/prism/tests/languages/elixir/capture_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 fun = &Math.zero?/1
2 (&is_function/1).(fun)
3 fun = &(&1 + 1)
4 &List.flatten(&1, &2)
5
6 ----------------------------------------------------
7
8 [
9 "fun ", ["operator", "="],
10 ["capture", "&Math.zero?/1"],
11 ["punctuation", "("],
12 ["capture", "&is_function/1"],
13 ["punctuation", ")"],
14 ["punctuation", "."],
15 ["punctuation", "("], "fun", ["punctuation", ")"],
16 "\r\nfun ", ["operator", "="],
17 ["capture", "&"],
18 ["punctuation", "("], ["argument", "&1"],
19 ["operator", "+"], ["number", "1"], ["punctuation", ")"],
20 ["capture", "&List.flatten"],
21 ["punctuation", "("], ["argument", "&1"],
22 ["punctuation", ","], ["argument", "&2"],
23 ["punctuation", ")"]
24 ]
25
26 ----------------------------------------------------
27
28 Checks for function capturing and arguments.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/elixir/boolean_feature.test ('k') | lib/src/prism/tests/languages/elixir/comment_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698