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

Unified Diff: lib/src/prism/tests/languages/php/keyword_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, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/prism/tests/languages/php/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/php/keyword_feature.test b/lib/src/prism/tests/languages/php/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..9505114c77bb69a2c9f2a664296bc6bc8529fd74
--- /dev/null
+++ b/lib/src/prism/tests/languages/php/keyword_feature.test
@@ -0,0 +1,76 @@
+and or xor array
+as break case
+cfunction
+class;
+const continue
+declare default
+die do else
+elseif enddeclare
+endfor endforeach
+endif endswitch
+endwhile
+extends;
+for foreach function
+include include_once
+global if
+new;
+return
+static switch
+use;
+require require_once
+var while abstract
+interface;
+public
+implements;
+private
+protected parent
+throw null echo
+print trait;
+namespace;
+final yield goto
+instanceof;
+finally
+try catch
+
+----------------------------------------------------
+
+[
+ ["keyword", "and"], ["keyword", "or"], ["keyword", "xor"], ["keyword", "array"],
+ ["keyword", "as"], ["keyword", "break"], ["keyword", "case"],
+ ["keyword", "cfunction"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "const"], ["keyword", "continue"],
+ ["keyword", "declare"], ["keyword", "default"],
+ ["keyword", "die"], ["keyword", "do"], ["keyword", "else"],
+ ["keyword", "elseif"], ["keyword", "enddeclare"],
+ ["keyword", "endfor"], ["keyword", "endforeach"],
+ ["keyword", "endif"], ["keyword", "endswitch"],
+ ["keyword", "endwhile"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "for"], ["keyword", "foreach"], ["keyword", "function"],
+ ["keyword", "include"], ["keyword", "include_once"],
+ ["keyword", "global"], ["keyword", "if"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "return"],
+ ["keyword", "static"], ["keyword", "switch"],
+ ["keyword", "use"], ["punctuation", ";"],
+ ["keyword", "require"], ["keyword", "require_once"],
+ ["keyword", "var"], ["keyword", "while"], ["keyword", "abstract"],
+ ["keyword", "interface"], ["punctuation", ";"],
+ ["keyword", "public"],
+ ["keyword", "implements"], ["punctuation", ";"],
+ ["keyword", "private"],
+ ["keyword", "protected"], ["keyword", "parent"],
+ ["keyword", "throw"], ["keyword", "null"], ["keyword", "echo"],
+ ["keyword", "print"],
+ ["keyword", "trait"], ["punctuation", ";"],
+ ["keyword", "namespace"], ["punctuation", ";"],
+ ["keyword", "final"], ["keyword", "yield"], ["keyword", "goto"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "finally"],
+ ["keyword", "try"], ["keyword", "catch"]
+]
+
+----------------------------------------------------
+
+Checks for comments.
« no previous file with comments | « lib/src/prism/tests/languages/php/delimiter_feature.test ('k') | lib/src/prism/tests/languages/php/package_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698