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

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2795983002: Remove unused methods from CL 2793113002. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | pkg/analyzer/test/generated/parser_test.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/src/fasta/ast_builder.dart'; 9 import 'package:analyzer/src/fasta/ast_builder.dart';
10 import 'package:analyzer/src/fasta/element_store.dart'; 10 import 'package:analyzer/src/fasta/element_store.dart';
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 } 415 }
416 416
417 @override 417 @override
418 CompilationUnit parseCompilationUnit(String source, 418 CompilationUnit parseCompilationUnit(String source,
419 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) { 419 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) {
420 return _runParser(source, (parser) => parser.parseUnit, errorCodes) 420 return _runParser(source, (parser) => parser.parseUnit, errorCodes)
421 as CompilationUnit; 421 as CompilationUnit;
422 } 422 }
423 423
424 @override 424 @override
425 CompilationUnit parseCompilationUnitWithOptions(String source,
426 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) {
427 // TODO(paulberry): implement parseCompilationUnitWithOptions
428 throw new UnimplementedError();
429 }
430
431 @override
432 ConditionalExpression parseConditionalExpression(String code) { 425 ConditionalExpression parseConditionalExpression(String code) {
433 return _parseExpression(code); 426 return _parseExpression(code);
434 } 427 }
435 428
436 @override 429 @override
437 Expression parseConstExpression(String code) { 430 Expression parseConstExpression(String code) {
438 return _parseExpression(code); 431 return _parseExpression(code);
439 } 432 }
440 433
441 @override 434 @override
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 } 1007 }
1015 1008
1016 @override 1009 @override
1017 @failingTest 1010 @failingTest
1018 void test_parsePartOfDirective_uri() { 1011 void test_parsePartOfDirective_uri() {
1019 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1012 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1020 // Fasta. 1013 // Fasta.
1021 super.test_parsePartOfDirective_uri(); 1014 super.test_parsePartOfDirective_uri();
1022 } 1015 }
1023 } 1016 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698