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/markup+actionscript/xml_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 var employees:XML =
2 <employees>
3 <employee ssn="123-123-1234"></employee>
4 </employees>;
5
6 ----------------------------------------------------
7
8 [
9 ["keyword", "var"],
10 " employees",
11 ["punctuation", ":"],
12 "XML ",
13 ["operator", "="],
14 ["xml", [
15 ["tag", [
16 ["tag", [
17 ["punctuation", "<"],
18 "employees"
19 ]],
20 ["punctuation", ">"]
21 ]]
22 ]],
23 ["xml", [
24 ["tag", [
25 ["tag", [
26 ["punctuation", "<"],
27 "employee"
28 ]],
29 ["attr-name", [
30 "ssn"
31 ]],
32 ["attr-value", [
33 ["punctuation", "="],
34 ["punctuation", "\""],
35 "123-123-1234",
36 ["punctuation", "\""]
37 ]],
38 ["punctuation", ">"]
39 ]]
40 ]],
41 ["xml", [
42 ["tag", [
43 ["tag", [
44 ["punctuation", "</"],
45 "employee"
46 ]],
47 ["punctuation", ">"]
48 ]]
49 ]],
50 ["xml", [
51 ["tag", [
52 ["tag", [
53 ["punctuation", "</"],
54 "employees"
55 ]],
56 ["punctuation", ">"]
57 ]]
58 ]],
59 ["punctuation", ";"]
60 ]
61
62 ----------------------------------------------------
63
64 Checks for XML variables in ActionScript.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698