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

Side by Side Diff: pkg/front_end/lib/src/fasta/source/outline_builder.dart

Issue 2898183002: Prepare for development branch by updating externally-used API. (Closed)
Patch Set: Minor tweaks found during testing. Created 3 years, 6 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) 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library fasta.outline_builder; 5 library fasta.outline_builder;
6 6
7 import 'package:kernel/ast.dart' show ProcedureKind; 7 import 'package:kernel/ast.dart' show ProcedureKind;
8 8
9 import '../fasta_codes.dart' show FastaMessage, codeExpectedBlockToSkip; 9 import '../fasta_codes.dart' show FastaMessage, codeExpectedBlockToSkip;
10 10
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 Token recover = target.skipNativeClause(token); 781 Token recover = target.skipNativeClause(token);
782 if (recover != null) { 782 if (recover != null) {
783 nativeMethodName = target.extractNativeMethodName(token); 783 nativeMethodName = target.extractNativeMethodName(token);
784 return recover; 784 return recover;
785 } 785 }
786 } 786 }
787 return super.handleUnrecoverableError(token, message); 787 return super.handleUnrecoverableError(token, message);
788 } 788 }
789 789
790 @override 790 @override
791 void addCompileTimeErrorFromMessage(FastaMessage message) {
792 library.addCompileTimeError(message.charOffset, message.message,
793 fileUri: message.uri);
794 }
795
796 @override
791 Link<Token> handleMemberName(Link<Token> identifiers) { 797 Link<Token> handleMemberName(Link<Token> identifiers) {
792 if (!isDartLibrary || identifiers.isEmpty) return identifiers; 798 if (!isDartLibrary || identifiers.isEmpty) return identifiers;
793 return removeNativeClause(identifiers); 799 return removeNativeClause(identifiers);
794 } 800 }
795 801
796 @override 802 @override
797 void debugEvent(String name) { 803 void debugEvent(String name) {
798 // printEvent(name); 804 // printEvent(name);
799 } 805 }
800 } 806 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/diet_listener.dart ('k') | pkg/front_end/lib/src/fasta/source/source_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698