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

Unified Diff: pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart

Issue 2895803002: add fasta.scanner support for lazy assignment operators (Closed)
Patch Set: address comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart
diff --git a/pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart b/pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart
index 0ab8ca2226dc925f8de2cdfa0a9835208ed72413..221fac2832b7a474b06f54b80aa4ac1b1c0d986d 100644
--- a/pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart
+++ b/pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart
@@ -80,8 +80,11 @@ class Utf8BytesScanner extends ArrayBasedScanner {
* is not the case, the entire array is copied before scanning.
*/
Utf8BytesScanner(this.bytes,
- {bool includeComments: false, bool scanGenericMethodComments: false})
+ {bool includeComments: false,
+ bool scanGenericMethodComments: false,
+ bool scanLazyAssignmentOperators: false})
: super(includeComments, scanGenericMethodComments,
+ scanLazyAssignmentOperators,
numberOfBytesHint: bytes.length) {
assert(bytes.last == 0);
// Skip a leading BOM.

Powered by Google App Engine
This is Rietveld 408576698