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

Side by Side Diff: pkg/front_end/test/fasta/parser/parser_suite.dart

Issue 2833073002: Stoppp using trippple consonants (Closed)
Patch Set: More spolling 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 | « pkg/front_end/messages.yaml ('k') | pkg/front_end/test/fasta/scanner/scanner_suite.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:testing/testing.dart'; 5 import 'package:testing/testing.dart';
6 6
7 import 'package:front_end/src/fasta/scanner.dart'; 7 import 'package:front_end/src/fasta/scanner.dart';
8 8
9 import 'package:front_end/src/fasta/testing/scanner_chain.dart'; 9 import 'package:front_end/src/fasta/testing/scanner_chain.dart';
10 10
11 import 'package:front_end/src/fasta/parser.dart'; 11 import 'package:front_end/src/fasta/parser.dart';
12 12
13 Future<ChainContext> createContext( 13 Future<ChainContext> createContext(
14 Chain suite, Map<String, String> enviroment) async { 14 Chain suite, Map<String, String> environment) async {
15 return new ScannerContext(); 15 return new ScannerContext();
16 } 16 }
17 17
18 class ScannerContext extends ChainContext { 18 class ScannerContext extends ChainContext {
19 final List<Step> steps = const <Step>[ 19 final List<Step> steps = const <Step>[
20 const Read(), 20 const Read(),
21 const Scan(), 21 const Scan(),
22 const Parse(), 22 const Parse(),
23 ]; 23 ];
24 } 24 }
(...skipping 11 matching lines...) Expand all
36 } 36 }
37 } on ParserError catch (e, s) { 37 } on ParserError catch (e, s) {
38 return fail(null, e, s); 38 return fail(null, e, s);
39 } 39 }
40 return pass(null); 40 return pass(null);
41 } 41 }
42 } 42 }
43 43
44 main(List<String> arguments) => 44 main(List<String> arguments) =>
45 runMe(arguments, createContext, "../testing.json"); 45 runMe(arguments, createContext, "../testing.json");
OLDNEW
« no previous file with comments | « pkg/front_end/messages.yaml ('k') | pkg/front_end/test/fasta/scanner/scanner_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698