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

Unified Diff: dart/lib/compiler/implementation/scanner/keyword.dart

Issue 10876008: Remove most superfluous getter arguments from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/lib/compiler/implementation/scanner/keyword.dart
diff --git a/dart/lib/compiler/implementation/scanner/keyword.dart b/dart/lib/compiler/implementation/scanner/keyword.dart
index 1afe870f0de222e4013c02857b6acf55cbb97cf8..22dfac45b91e7ec782de11c69fa92449ec8e4a9a 100644
--- a/dart/lib/compiler/implementation/scanner/keyword.dart
+++ b/dart/lib/compiler/implementation/scanner/keyword.dart
@@ -110,7 +110,7 @@ class Keyword implements SourceString {
final PrecedenceInfo info;
static Map<String, Keyword> _keywords;
- static Map<String, Keyword> get keywords() {
+ static Map<String, Keyword> get keywords {
if (_keywords === null) {
_keywords = computeKeywordMap();
}
@@ -143,7 +143,7 @@ class Keyword implements SourceString {
String toString() => syntax;
String slowToString() => syntax;
- String get stringValue() => syntax;
+ String get stringValue => syntax;
SourceString copyWithoutQuotes(int initial, int terminal) {
// TODO(lrn): consider remodelling to avoid having this method in keywords.
@@ -163,7 +163,7 @@ class KeywordState {
abstract Keyword get keyword();
static KeywordState _KEYWORD_STATE;
- static KeywordState get KEYWORD_STATE() {
+ static KeywordState get KEYWORD_STATE {
if (_KEYWORD_STATE === null) {
List<String> strings = new List<String>(Keyword.values.length);
for (int i = 0; i < Keyword.values.length; i++) {
« no previous file with comments | « dart/lib/compiler/implementation/scanner/byte_strings.dart ('k') | dart/lib/compiler/implementation/scanner/parser_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698