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

Unified Diff: runtime/vm/service/service.md

Issue 2419013004: Add local variable declaration token position to service protocol (Closed)
Patch Set: test closure variables Created 4 years, 2 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: runtime/vm/service/service.md
diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md
index 7aab061e52551d661374e6b9c0c7e85c973870bf..b9947e933a00a0e3da1f03fba409a2da293b9ef7 100644
--- a/runtime/vm/service/service.md
+++ b/runtime/vm/service/service.md
@@ -895,6 +895,15 @@ _BeingInitialized_ [Sentinel](#sentinel).
class BoundVariable {
string name;
@Instance|Sentinel value;
+
+ // The token position where this variable was declared.
+ int declarationTokenPos;
+
+ // The first token position where this variable is visible to the scope.
+ int visibleStartTokenPos;
+
+ // The last token position where this variable is visible to the scope.
+ int visibleEndTokenPos;
}
```

Powered by Google App Engine
This is Rietveld 408576698