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

Side by Side Diff: pkg/dart_parser/lib/src/class_member_parser.dart

Issue 2627723006: Update parser so tests pass. (Closed)
Patch Set: Created 3 years, 11 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/dart_parser/lib/parser.dart ('k') | pkg/dart_parser/lib/src/error_kind.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 parser.class_member_parser; 5 library dart_parser.class_member_parser;
6 6
7 import 'package:scanner/src/token.dart' show 7 import 'package:dart_scanner/src/token.dart' show
8 BeginGroupToken, 8 BeginGroupToken,
9 ErrorToken, 9 ErrorToken,
10 Token; 10 Token;
11 11
12 import 'package:scanner/src/token_constants.dart' show 12 import 'package:dart_scanner/src/token_constants.dart' show
13 EOF_TOKEN; 13 EOF_TOKEN;
14 14
15 import 'listener.dart' show 15 import 'listener.dart' show
16 Listener; 16 Listener;
17 17
18 import 'error_kind.dart' show 18 import 'error_kind.dart' show
19 ErrorKind; 19 ErrorKind;
20 20
21 import 'parser.dart' show 21 import 'parser.dart' show
22 Parser, 22 Parser,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 token = parseRedirectingFactoryBody(token); 148 token = parseRedirectingFactoryBody(token);
149 expectSemicolon(token); 149 expectSemicolon(token);
150 } else { 150 } else {
151 token = skipBlock(token); 151 token = skipBlock(token);
152 } 152 }
153 listener.skippedFunctionBody(token); 153 listener.skippedFunctionBody(token);
154 } 154 }
155 return token; 155 return token;
156 } 156 }
157 } 157 }
OLDNEW
« no previous file with comments | « pkg/dart_parser/lib/parser.dart ('k') | pkg/dart_parser/lib/src/error_kind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698