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

Unified Diff: lib/src/prism/tests/languages/cpp/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/cpp/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/cpp/keyword_feature.test b/lib/src/prism/tests/languages/cpp/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..e3ca630a980f12042a8c922a4d8bc069d9a69b9f
--- /dev/null
+++ b/lib/src/prism/tests/languages/cpp/keyword_feature.test
@@ -0,0 +1,45 @@
+alignas alignof asm auto bool
+break case catch char char16_t char32_t
+class;
+compl const constexpr
+const_cast continue decltype default
+delete do double dynamic_cast
+else enum explicit export extern
+float for friend goto if
+inline int long mutable namespace
+new noexcept nullptr operator
+private protected public register
+reinterpret_cast return short
+signed sizeof static static_assert
+static_cast struct switch template
+this thread_local throw try
+typedef typeid typename union
+unsigned using virtual void
+volatile wchar_t while
+
+----------------------------------------------------
+
+[
+ ["keyword", "alignas"], ["keyword", "alignof"], ["keyword", "asm"], ["keyword", "auto"], ["keyword", "bool"],
+ ["keyword", "break"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"], ["keyword", "char16_t"], ["keyword", "char32_t"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "compl"], ["keyword", "const"], ["keyword", "constexpr"],
+ ["keyword", "const_cast"], ["keyword", "continue"], ["keyword", "decltype"], ["keyword", "default"],
+ ["keyword", "delete"], ["keyword", "do"], ["keyword", "double"], ["keyword", "dynamic_cast"],
+ ["keyword", "else"], ["keyword", "enum"], ["keyword", "explicit"], ["keyword", "export"], ["keyword", "extern"],
+ ["keyword", "float"], ["keyword", "for"], ["keyword", "friend"], ["keyword", "goto"], ["keyword", "if"],
+ ["keyword", "inline"], ["keyword", "int"], ["keyword", "long"], ["keyword", "mutable"], ["keyword", "namespace"],
+ ["keyword", "new"], ["keyword", "noexcept"], ["keyword", "nullptr"], ["keyword", "operator"],
+ ["keyword", "private"], ["keyword", "protected"], ["keyword", "public"], ["keyword", "register"],
+ ["keyword", "reinterpret_cast"], ["keyword", "return"], ["keyword", "short"],
+ ["keyword", "signed"], ["keyword", "sizeof"], ["keyword", "static"], ["keyword", "static_assert"],
+ ["keyword", "static_cast"], ["keyword", "struct"], ["keyword", "switch"], ["keyword", "template"],
+ ["keyword", "this"], ["keyword", "thread_local"], ["keyword", "throw"], ["keyword", "try"],
+ ["keyword", "typedef"], ["keyword", "typeid"], ["keyword", "typename"], ["keyword", "union"],
+ ["keyword", "unsigned"], ["keyword", "using"], ["keyword", "virtual"], ["keyword", "void"],
+ ["keyword", "volatile"], ["keyword", "wchar_t"], ["keyword", "while"]
+]
+
+----------------------------------------------------
+
+Checks for all keywords

Powered by Google App Engine
This is Rietveld 408576698