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

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2886873008: [kernel] Streaming ScopeBuilder (Closed)
Patch Set: 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/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index c1b6670b5cf8fd0152b0a4382d768d3b0ea3403d..a7eb26b8504b68d440b78835ee40de3ab4867834 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -489,6 +489,9 @@ enum ClassLevel {
/// rule directly, as doing so can obstruct transformations. It is possible to
/// transform a mixin application to become a regular class, and vice versa.
class Class extends NamedNode {
+ /// Offset of the declaration, set and used when writing the binary.
+ int binaryOffset = -1;
+
/// The degree to which the contents of the class have been loaded.
ClassLevel level = ClassLevel.Body;
@@ -3587,7 +3590,7 @@ class VariableDeclaration extends Statement {
DartType type; // Not null, defaults to dynamic.
/// Offset of the declaration, set and used when writing the binary.
- int binaryOffset = -1;
+ int binaryOffsetNoTag = -1;
/// For locals, this is the initial value.
/// For parameters, this is the default value.

Powered by Google App Engine
This is Rietveld 408576698