anchor.diff:  import 'package:analyzer/error/listener.dart';
   import 'package:analyzer/src/dart/ast/token.dart';
   import 'package:analyzer/src/dart/error/hint_codes.dart';
  -import 'package:analyzer/src/dart/scanner/reader.dart';
  -import 'package:analyzer/src/dart/scanner/scanner.dart';
   import 'package:analyzer/src/error/codes.dart';
   import 'package:analyzer/src/generated/parser.dart';
   import 'package:analyzer/src/generated/source.dart';
   import 'package:analyzer/src/generated/testing/token_factory.dart';
   import 'package:analyzer/src/generated/utilities_dart.dart';
  -import 'package:front_end/src/fasta/scanner/abstract_scanner.dart';
  +import 'package:front_end/src/fasta/scanner.dart'
  +    show ScannerResult, scanString;
  +import 'package:front_end/src/fasta/scanner/abstract_scanner.dart'
  +    show AbstractScanner;
  +import 'package:front_end/src/scanner/errors.dart';
   import 'package:test/test.dart';
   import 'package:test_reflective_loader/test_reflective_loader.dart';
   
  
positive.code:   }
  
    /**
     * Parse the given [source] as a statement. If [enableLazyAssignmentOperators]
     * is `true`, then lazy assignment operators should be enabled.
     */
    Statement parseStatement(String source,
        {bool enableLazyAssignmentOperators, int expectedEndOffset}) {
      listener = new GatheringErrorListener();
      Scanner scanner =
          new Scanner(null, new CharSequenceReader(source), listener);
      scanner.scanGenericMethodComments = enableGenericMethodComments;
      if (enableLazyAssignmentOperators != null) {
        scanner.scanLazyAssignmentOperators = enableLazyAssignmentOperators;
      }
      var testSource = new TestSource();
      listener.setLineInfo(testSource, scanner.lineStarts);
      Token token = scanner.tokenize();
      Parser parser = new Parser(testSource, listener);
      parser.parseGenericMethodComments = enableGenericMethodComments;
      parser.enableOptionalNewAndConst = enableOptionalNewAndConst;
      Statement statement = parser.parseStatement(token);
  
negative.code:     parser.parseFunctionBodies = parseFunctionBodies;
      parser.enableNnbd = enableNnbd;
      parser.enableOptionalNewAndConst = enableOptionalNewAndConst;
      parser.currentToken = token;
    }
  
    @override
  