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

Side by Side Diff: pkg/servicec/lib/listener.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Update status files Created 5 years 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) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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 servicec.listener; 5 library servicec.listener;
6 6
7 import 'package:compiler/src/scanner/scannerlib.dart' show 7 import 'package:compiler/src/tokens/token.dart' show
8 ErrorToken, 8 ErrorToken,
9 Token; 9 Token;
10 10
11 import 'errors.dart' show 11 import 'errors.dart' show
12 ErrorTag; 12 ErrorTag;
13 13
14 /// Identity listener: methods just propagate the argument. 14 /// Identity listener: methods just propagate the argument.
15 abstract class Listener { 15 abstract class Listener {
16 Token beginCompilationUnit(Token tokens) { 16 Token beginCompilationUnit(Token tokens) {
17 return tokens; 17 return tokens;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 Token expectedType(Token tokens) { 269 Token expectedType(Token tokens) {
270 log("error: $tokens is not a type"); 270 log("error: $tokens is not a type");
271 return debugSubject.expectedType(tokens); 271 return debugSubject.expectedType(tokens);
272 } 272 }
273 273
274 Token expected(String string, Token tokens) { 274 Token expected(String string, Token tokens) {
275 log("error: $tokens is not the symbol $string"); 275 log("error: $tokens is not the symbol $string");
276 return debugSubject.expected(string, tokens); 276 return debugSubject.expected(string, tokens);
277 } 277 }
278 } 278 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698