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

Side by Side Diff: pkg/analyzer/lib/analyzer.dart

Issue 1749143003: Add @overrides to (a lot of) analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: options Created 4 years, 9 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
« no previous file with comments | « pkg/analyzer/example/resolver_driver.dart ('k') | pkg/analyzer/lib/dart/ast/ast.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer; 5 library analyzer;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/src/dart/scanner/reader.dart'; 10 import 'package:analyzer/src/dart/scanner/reader.dart';
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 _ErrorCollector(); 121 _ErrorCollector();
122 122
123 /// The group of errors collected. 123 /// The group of errors collected.
124 AnalyzerErrorGroup get group => 124 AnalyzerErrorGroup get group =>
125 new AnalyzerErrorGroup.fromAnalysisErrors(_errors); 125 new AnalyzerErrorGroup.fromAnalysisErrors(_errors);
126 126
127 /// Whether any errors where collected. 127 /// Whether any errors where collected.
128 bool get hasErrors => !_errors.isEmpty; 128 bool get hasErrors => !_errors.isEmpty;
129 129
130 @override
130 void onError(AnalysisError error) => _errors.add(error); 131 void onError(AnalysisError error) => _errors.add(error);
131 } 132 }
OLDNEW
« no previous file with comments | « pkg/analyzer/example/resolver_driver.dart ('k') | pkg/analyzer/lib/dart/ast/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698