Skip to content

Commit 39f365f

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
Sort declarations in parser.dart.
Change-Id: I000193878307686d52e5b02cd3e6cdaafed68959 Reviewed-on: https://dart-review.googlesource.com/c/94681 Auto-Submit: Paul Berry <[email protected]> Commit-Queue: Dan Rubel <[email protected]> Reviewed-by: Dan Rubel <[email protected]>
1 parent 8af83b1 commit 39f365f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/analyzer/lib/src/generated/parser.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,14 @@ class Parser {
225225
@deprecated
226226
void set enableAssertInitializer(bool enable) {}
227227

228+
/// Enables or disables parsing of control flow collections.
229+
void set enableControlFlowCollections(bool value) {
230+
if (value) {
231+
throw new UnimplementedError('control_flow_collections experiment'
232+
' not supported by analyzer parser');
233+
}
234+
}
235+
228236
/// Enables or disables non-nullable by default.
229237
void set enableNonNullable(bool value) {
230238
if (value) {
@@ -257,14 +265,6 @@ class Parser {
257265
}
258266
}
259267

260-
/// Enables or disables parsing of control flow collections.
261-
void set enableControlFlowCollections(bool value) {
262-
if (value) {
263-
throw new UnimplementedError('control_flow_collections experiment'
264-
' not supported by analyzer parser');
265-
}
266-
}
267-
268268
/// Return `true` if the parser is to allow URI's in part-of directives.
269269
@deprecated
270270
bool get enableUriInPartOf => true;

0 commit comments

Comments
 (0)