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

Side by Side Diff: pkg/front_end/lib/src/fasta/parser/top_level_parser.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 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/front_end/lib/src/fasta/parser/parser.dart ('k') | pkg/front_end/lib/src/fasta/quote.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 fasta.parser.top_level_parser; 5 library fasta.parser.top_level_parser;
6 6
7 import 'package:front_end/src/fasta/scanner/token.dart' show 7 import 'package:front_end/src/fasta/scanner/token.dart' show Token;
8 Token;
9 8
10 import 'listener.dart' show 9 import 'listener.dart' show Listener;
11 Listener;
12 10
13 import 'class_member_parser.dart' show 11 import 'class_member_parser.dart' show ClassMemberParser;
14 ClassMemberParser;
15 12
16 /// Parser which only parses top-level elements, but ignores their bodies. 13 /// Parser which only parses top-level elements, but ignores their bodies.
17 /// Use [Parser] to parse everything. 14 /// Use [Parser] to parse everything.
18 class TopLevelParser extends ClassMemberParser { 15 class TopLevelParser extends ClassMemberParser {
19 TopLevelParser(Listener listener, {bool asyncAwaitKeywordsEnabled: false}) 16 TopLevelParser(Listener listener, {bool asyncAwaitKeywordsEnabled: false})
20 : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled); 17 : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled);
21 18
22 Token parseClassBody(Token token) => skipClassBody(token); 19 Token parseClassBody(Token token) => skipClassBody(token);
23 } 20 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/parser.dart ('k') | pkg/front_end/lib/src/fasta/quote.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698