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

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

Issue 2999633002: [kernel] Offsets on loops (Closed)
Patch Set: Fix Created 3 years, 4 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
« no previous file with comments | « pkg/kernel/binary.md ('k') | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index be31d44683f422878de898e67f0bb133699aba84..fb8f22cb9d42e2a6969b376e134ac9cfc7e1e6b9 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -3432,6 +3432,12 @@ class ForStatement extends Statement {
}
class ForInStatement extends Statement {
+ /// Offset in the source file it comes from.
+ ///
+ /// Valid values are from 0 and up, or -1 ([TreeNode.noOffset]) if the file offset is
Johnni Winther 2017/08/08 11:00:42 Long line.
+ /// not available (this is the default if none is specifically set).
+ int bodyOffset = TreeNode.noOffset;
+
VariableDeclaration variable; // Has no initializer.
Expression iterable;
Statement body;
« no previous file with comments | « pkg/kernel/binary.md ('k') | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698