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

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

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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
1 library reserved_dart_keywords; 1 library reserved_dart_keywords;
2 2
3 // From https://www.dartlang.org/docs/spec/latest/dart-language-specification.ht ml#h.huusvrzea3q 3 // From https://www.dartlang.org/docs/spec/latest/dart-language-specification.ht ml#h.huusvrzea3q
4 List<String> RESERVED_DART_KEYWORDS = [ 4 List<String> RESERVED_DART_KEYWORDS = [
5 "assert", "break", "case", "catch", "class", "const", "continue", 5 "assert", "break", "case", "catch", "class", "const", "continue",
6 "default", "do", "else", "enum", "extends", "false", "final", 6 "default", "do", "else", "enum", "extends", "false", "final",
7 "finally", "for", "if", "in", "is", "new", "null", "rethrow", 7 "finally", "for", "if", "in", "is", "new", "null", "rethrow",
8 "return", "super", "switch", "this", "throw", "true", "try", 8 "return", "super", "switch", "this", "throw", "true", "try",
9 "var", "void", "while", "with"]; 9 "var", "void", "while", "with"];
10 isReserved(String key) => RESERVED_DART_KEYWORDS.contains(key); 10 isReserved(String key) => RESERVED_DART_KEYWORDS.contains(key);
OLDNEW
« no previous file with comments | « third_party/pkg/angular/lib/tools/parser_getter_setter/generator.dart ('k') | third_party/pkg/angular/lib/tools/selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698