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

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

Issue 2983463002: Remove deprecated_wrapInCompileTimeError. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT. 5 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT.
6 // 6 //
7 // Instead modify 'pkg/front_end/messages.yaml' and run 7 // Instead modify 'pkg/front_end/messages.yaml' and run
8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update. 8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update.
9 9
10 part of fasta.codes; 10 part of fasta.codes;
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 628
629 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 629 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
630 const Code<Null> codeEnumDeclartionEmpty = messageEnumDeclartionEmpty; 630 const Code<Null> codeEnumDeclartionEmpty = messageEnumDeclartionEmpty;
631 631
632 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 632 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
633 const MessageCode messageEnumDeclartionEmpty = const MessageCode( 633 const MessageCode messageEnumDeclartionEmpty = const MessageCode(
634 "EnumDeclartionEmpty", 634 "EnumDeclartionEmpty",
635 message: r"""An enum declaration can't be empty."""); 635 message: r"""An enum declaration can't be empty.""");
636 636
637 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 637 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
638 const Code<Null> codeExpectedAnInitializer = messageExpectedAnInitializer;
639
640 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
641 const MessageCode messageExpectedAnInitializer = const MessageCode(
642 "ExpectedAnInitializer",
643 message: r"""Expected an initializer.""");
644
645 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
638 const Code<Null> codeExpectedBlockToSkip = messageExpectedBlockToSkip; 646 const Code<Null> codeExpectedBlockToSkip = messageExpectedBlockToSkip;
639 647
640 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 648 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
641 const MessageCode messageExpectedBlockToSkip = const MessageCode( 649 const MessageCode messageExpectedBlockToSkip = const MessageCode(
642 "ExpectedBlockToSkip", 650 "ExpectedBlockToSkip",
643 dart2jsCode: "NATIVE_OR_BODY_EXPECTED", 651 dart2jsCode: "NATIVE_OR_BODY_EXPECTED",
644 message: r"""Expected a function body or '=>'.""", 652 message: r"""Expected a function body or '=>'.""",
645 tip: r"""Try adding {}."""); 653 tip: r"""Try adding {}.""");
646 654
647 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 655 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 883 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
876 Message _withArgumentsExportHidesExport(String name, Uri uri_, Uri uri2_) { 884 Message _withArgumentsExportHidesExport(String name, Uri uri_, Uri uri2_) {
877 String uri = relativizeUri(uri_); 885 String uri = relativizeUri(uri_);
878 String uri2 = relativizeUri(uri2_); 886 String uri2 = relativizeUri(uri2_);
879 return new Message(codeExportHidesExport, 887 return new Message(codeExportHidesExport,
880 message: """Export of '$name' (from '$uri') hides export from '$uri2'.""", 888 message: """Export of '$name' (from '$uri') hides export from '$uri2'.""",
881 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}); 889 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_});
882 } 890 }
883 891
884 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 892 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
893 const Code<Null> codeExpressionNotMetadata = messageExpressionNotMetadata;
894
895 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
896 const MessageCode messageExpressionNotMetadata = const MessageCode(
897 "ExpressionNotMetadata",
898 message:
899 r"""This can't be used as metadata; metadata should be a reference to a compile-time constant variable, or a call to a constant constructor.""");
900
901 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
885 const Template<Message Function(String name)> templateExtendingEnum = 902 const Template<Message Function(String name)> templateExtendingEnum =
886 const Template<Message Function(String name)>( 903 const Template<Message Function(String name)>(
887 messageTemplate: 904 messageTemplate:
888 r"""'#name' is an enum and can't be extended or implemented.""", 905 r"""'#name' is an enum and can't be extended or implemented.""",
889 withArguments: _withArgumentsExtendingEnum); 906 withArguments: _withArgumentsExtendingEnum);
890 907
891 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 908 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
892 const Code<Message Function(String name)> codeExtendingEnum = 909 const Code<Message Function(String name)> codeExtendingEnum =
893 const Code<Message Function(String name)>( 910 const Code<Message Function(String name)>(
894 "ExtendingEnum", 911 "ExtendingEnum",
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 templateNotAType, 1917 templateNotAType,
1901 ); 1918 );
1902 1919
1903 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1920 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1904 Message _withArgumentsNotAType(String name) { 1921 Message _withArgumentsNotAType(String name) {
1905 return new Message(codeNotAType, 1922 return new Message(codeNotAType,
1906 message: """'$name' isn't a type.""", arguments: {'name': name}); 1923 message: """'$name' isn't a type.""", arguments: {'name': name});
1907 } 1924 }
1908 1925
1909 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1926 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1927 const Code<Null> codeNotAnLvalue = messageNotAnLvalue;
1928
1929 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1930 const MessageCode messageNotAnLvalue =
1931 const MessageCode("NotAnLvalue", message: r"""Can't assign to this.""");
1932
1933 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1910 const Code<Null> codeOnlyTry = messageOnlyTry; 1934 const Code<Null> codeOnlyTry = messageOnlyTry;
1911 1935
1912 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1936 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1913 const MessageCode messageOnlyTry = const MessageCode("OnlyTry", 1937 const MessageCode messageOnlyTry = const MessageCode("OnlyTry",
1914 dart2jsCode: "*ignored*", 1938 dart2jsCode: "*ignored*",
1915 message: 1939 message:
1916 r"""Try block should be followed by 'on', 'catch', or 'finally' block."" ", 1940 r"""Try block should be followed by 'on', 'catch', or 'finally' block."" ",
1917 tip: r"""Did you forget to add a 'finally' block?"""); 1941 tip: r"""Did you forget to add a 'finally' block?""");
1918 1942
1919 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1943 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
2794 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 2818 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
2795 2819
2796 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2820 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2797 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 2821 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
2798 2822
2799 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2823 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2800 const MessageCode messageYieldNotGenerator = const MessageCode( 2824 const MessageCode messageYieldNotGenerator = const MessageCode(
2801 "YieldNotGenerator", 2825 "YieldNotGenerator",
2802 dart2jsCode: "*ignored*", 2826 dart2jsCode: "*ignored*",
2803 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 2827 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698