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

Unified Diff: lib/src/prism/tests/languages/qore/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/qore/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/qore/keyword_feature.test b/lib/src/prism/tests/languages/qore/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..7f69ae0ec90bb2c4e45166e2271ddaedfe72439c
--- /dev/null
+++ b/lib/src/prism/tests/languages/qore/keyword_feature.test
@@ -0,0 +1,63 @@
+abstract any assert binary
+bool boolean break byte
+case catch char
+class;
+code const continue data
+default do double else
+enum
+extends;
+final finally float for
+goto hash if
+implements;
+import inherits
+instanceof;
+int
+interface;
+long my native
+new;
+nothing null object our
+own private reference
+rethrow return short
+softint softfloat softnumber
+softbool softstring softdate
+softlist static strictfp
+string sub super switch
+synchronized this throw
+throws transient try
+void volatile while
+
+----------------------------------------------------
+
+[
+ ["keyword", "abstract"], ["keyword", "any"], ["keyword", "assert"], ["keyword", "binary"],
+ ["keyword", "bool"], ["keyword", "boolean"], ["keyword", "break"], ["keyword", "byte"],
+ ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "code"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "data"],
+ ["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"],
+ ["keyword", "enum"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "final"], ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"],
+ ["keyword", "goto"], ["keyword", "hash"], ["keyword", "if"],
+ ["keyword", "implements"], ["punctuation", ";"],
+ ["keyword", "import"], ["keyword", "inherits"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "int"],
+ ["keyword", "interface"], ["punctuation", ";"],
+ ["keyword", "long"], ["keyword", "my"], ["keyword", "native"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "nothing"], ["keyword", "null"], ["keyword", "object"], ["keyword", "our"],
+ ["keyword", "own"], ["keyword", "private"], ["keyword", "reference"],
+ ["keyword", "rethrow"], ["keyword", "return"], ["keyword", "short"],
+ ["keyword", "softint"], ["keyword", "softfloat"], ["keyword", "softnumber"],
+ ["keyword", "softbool"], ["keyword", "softstring"], ["keyword", "softdate"],
+ ["keyword", "softlist"], ["keyword", "static"], ["keyword", "strictfp"],
+ ["keyword", "string"], ["keyword", "sub"], ["keyword", "super"], ["keyword", "switch"],
+ ["keyword", "synchronized"], ["keyword", "this"], ["keyword", "throw"],
+ ["keyword", "throws"], ["keyword", "transient"], ["keyword", "try"],
+ ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]
+]
+
+----------------------------------------------------
+
+Checks for keywords.
« no previous file with comments | « lib/src/prism/tests/languages/qore/function_feature.test ('k') | lib/src/prism/tests/languages/qore/number_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698