Skip to content

Commit

Permalink
Sort declarations in parser.dart.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
stereotype441 authored and [email protected] committed Feb 28, 2019
1 parent 8af83b1 commit 39f365f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/analyzer/lib/src/generated/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ class Parser {
@deprecated
void set enableAssertInitializer(bool enable) {}

/// Enables or disables parsing of control flow collections.
void set enableControlFlowCollections(bool value) {
if (value) {
throw new UnimplementedError('control_flow_collections experiment'
' not supported by analyzer parser');
}
}

/// Enables or disables non-nullable by default.
void set enableNonNullable(bool value) {
if (value) {
Expand Down Expand Up @@ -257,14 +265,6 @@ class Parser {
}
}

/// Enables or disables parsing of control flow collections.
void set enableControlFlowCollections(bool value) {
if (value) {
throw new UnimplementedError('control_flow_collections experiment'
' not supported by analyzer parser');
}
}

/// Return `true` if the parser is to allow URI's in part-of directives.
@deprecated
bool get enableUriInPartOf => true;
Expand Down

0 comments on commit 39f365f

Please sign in to comment.