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

Side by Side Diff: lib/src/prism/tests/languages/clike/class-name_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 class Foo
2 interface bar
3 extends Foo
4 implements bar
5 trait Foo
6 instanceof \bar
7 new \Foo
8 catch (bar)
9
10 ----------------------------------------------------
11
12 [
13 "class ",
14 ["class-name", [
15 "Foo"
16 ]],
17 "\r\ninterface ",
18 ["class-name", [
19 "bar"
20 ]],
21 "\r\nextends ",
22 ["class-name", [
23 "Foo"
24 ]],
25 "\r\nimplements ",
26 ["class-name", [
27 "bar"
28 ]],
29 "\r\ntrait ",
30 ["class-name", [
31 "Foo"
32 ]],
33 ["keyword", "instanceof"],
34 ["class-name", [
35 ["punctuation", "\\"],
36 "bar"
37 ]],
38 ["keyword", "new"],
39 ["class-name", [
40 ["punctuation", "\\"],
41 "Foo"
42 ]],
43 ["keyword", "catch"],
44 ["punctuation", "("],
45 ["class-name", [
46 "bar"
47 ]],
48 ["punctuation", ")"]
49 ]
50
51 ----------------------------------------------------
52
53 Checks for class names.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/clike/boolean_feature.test ('k') | lib/src/prism/tests/languages/clike/comment_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698