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

Side by Side Diff: pkg/compiler/lib/src/parser/partial_parser.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
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 dart2js.parser.partial; 5 library dart2js.parser.partial;
6 6
7 import '../diagnostics/messages.dart' show 7 import '../common.dart';
8 MessageKind;
9 import '../util/characters.dart' as Characters show 8 import '../util/characters.dart' as Characters show
10 $CLOSE_CURLY_BRACKET; 9 $CLOSE_CURLY_BRACKET;
11 import '../tokens/token.dart' show 10 import '../tokens/token.dart' show
12 BeginGroupToken, 11 BeginGroupToken,
13 ErrorToken, 12 ErrorToken,
14 Token; 13 Token;
15 import '../tokens/token_constants.dart' as Tokens show 14 import '../tokens/token_constants.dart' as Tokens show
16 EOF_TOKEN; 15 EOF_TOKEN;
17 16
18 import 'listener.dart' show 17 import 'listener.dart' show
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 return token; 172 return token;
174 } 173 }
175 return listener.unexpected(token); 174 return listener.unexpected(token);
176 } 175 }
177 BeginGroupToken beginGroupToken = token; 176 BeginGroupToken beginGroupToken = token;
178 Token endToken = beginGroupToken.endGroup; 177 Token endToken = beginGroupToken.endGroup;
179 listener.endFormalParameters(0, token, endToken); 178 listener.endFormalParameters(0, token, endToken);
180 return endToken.next; 179 return endToken.next;
181 } 180 }
182 } 181 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/patch_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698