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

Side by Side Diff: lib/src/prism/tests/languages/csharp+aspnet/directive_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 <%: Page.Title %>
2 <%#:Item.ProductID%>
3 <a href="ProductDetails.aspx?productID=<%#:Item.ProductID%>">
4 <% if(foo) { %>
5 foobar
6 <% } %>
7
8 ----------------------------------------------------
9
10 [
11 ["directive tag", [
12 ["directive tag", "<%:"],
13 " Page",
14 ["punctuation", "."],
15 "Title ",
16 ["directive tag", "%>"]
17 ]],
18
19 ["directive tag", [
20 ["directive tag", "<%#:"],
21 "Item",
22 ["punctuation", "."],
23 "ProductID",
24 ["directive tag", "%>"]
25 ]],
26
27 ["tag", [
28 ["tag", [
29 ["punctuation", "<"],
30 "a"
31 ]],
32 ["attr-name", [
33 "href"
34 ]],
35 ["attr-value", [
36 ["punctuation", "="],
37 ["punctuation", "\""],
38 "ProductDetails.aspx?productID",
39 ["punctuation", "="],
40 ["directive tag", [
41 ["directive tag", "<%#:"],
42 "Item",
43 ["punctuation", "."],
44 "ProductID",
45 ["directive tag", "%>"]
46 ]],
47 ["punctuation", "\""]
48 ]],
49 ["punctuation", ">"]
50 ]],
51
52 ["directive tag", [
53 ["directive tag", "<%"],
54 ["keyword", "if"],
55 ["punctuation", "("],
56 "foo",
57 ["punctuation", ")"],
58 ["punctuation", "{"],
59 ["directive tag", "%>"]
60 ]],
61 "\r\n\tfoobar\r\n",
62 ["directive tag", [
63 ["directive tag", "<%"],
64 ["punctuation", "}"],
65 ["directive tag", "%>"]
66 ]]
67 ]
68
69 ----------------------------------------------------
70
71 Checks for directives.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/crystal/number_feature.test ('k') | lib/src/prism/tests/languages/csharp/keyword_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698