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

Unified Diff: pkg/analyzer/lib/src/generated/parser_fasta.dart

Issue 2944383002: translate fasta parser error to analyzer error (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_fasta_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/parser_fasta.dart
diff --git a/pkg/analyzer/lib/src/generated/parser_fasta.dart b/pkg/analyzer/lib/src/generated/parser_fasta.dart
index 7e8d8e5e9519679df3fb35f2e890291ea6fdb3df..0c2ab06cdb8a44ea72c4f1cbd8d104503f05881d 100644
--- a/pkg/analyzer/lib/src/generated/parser_fasta.dart
+++ b/pkg/analyzer/lib/src/generated/parser_fasta.dart
@@ -37,12 +37,6 @@ class _Parser2 implements Parser {
*/
final AstBuilder _astBuilder;
- /**
- * The error listener that will be informed of any errors that are found
- * during the parse.
- */
- final AnalysisErrorListener _errorListener;
-
/**
* The fasta parser being wrapped.
*/
@@ -64,11 +58,10 @@ class _Parser2 implements Parser {
errorReporter, library, member, elementStore, scope, true);
fasta.Parser fastaParser = new fasta.Parser(astBuilder);
astBuilder.parser = fastaParser;
- return new _Parser2._(source, errorListener, fastaParser, astBuilder);
+ return new _Parser2._(source, fastaParser, astBuilder);
}
- _Parser2._(
- this._source, this._errorListener, this._fastaParser, this._astBuilder);
+ _Parser2._(this._source, this._fastaParser, this._astBuilder);
@override
bool get parseGenericMethodComments => _astBuilder.parseGenericMethodComments;
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_fasta_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698