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

Side by Side Diff: third_party/pkg/angular/lib/tools/reserved_dart_keywords.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library reserved_dart_keywords;
2
3 // From https://www.dartlang.org/docs/spec/latest/dart-language-specification.ht ml#h.huusvrzea3q
4 List<String> RESERVED_DART_KEYWORDS = [
5 "assert", "break", "case", "catch", "class", "const", "continue",
6 "default", "do", "else", "enum", "extends", "false", "final",
7 "finally", "for", "if", "in", "is", "new", "null", "rethrow",
8 "return", "super", "switch", "this", "throw", "true", "try",
9 "var", "void", "while", "with"];
10 isReserved(String key) => RESERVED_DART_KEYWORDS.contains(key);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698