dart-sdk/runtime/observatory
John McCutchan 8061bd5a8a Add local variable declaration token position to service protocol
- [x] Add three public fields to the "BoundVariable" service type: declarationTokenPos, visibleStartTokenPos, and visibleEndTokenPos. (naming suggestions welcome!)
- [x] Extend LocalVarDescriptors to hold the declaration token position (it already had the scope visibility boundaries).
- [x] Extend ContextScope to hold the declaration token position.
- [x] Add a unit test which verifies this works for local variables, function parameters, and closure captured variables.

Fixes https://github.com/dart-lang/sdk/issues/25569

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2419013004 .
2016-10-17 11:18:24 -07:00
..
bin Timeline service protocol support with Observatory UI 2015-11-10 08:02:22 -08:00
lib Add local variable declaration token position to service protocol 2016-10-17 11:18:24 -07:00
maintainers Bump observatory_pub_packages in DEPS 2015-09-28 12:57:19 -07:00
tests Add local variable declaration token position to service protocol 2016-10-17 11:18:24 -07:00
tool Use dartfmt on Observatory code 2016-09-16 06:59:51 -07:00
web Use dartfmt on Observatory code 2016-09-16 06:59:51 -07:00
.analysis_options Removed warnings from service tests 2016-08-30 17:01:05 -07:00
.gitignore Commit observatory's pubspec.lock to the repo 2016-09-27 14:04:47 +02:00
.packages Starting work on full GN build 2016-09-23 07:47:36 -07:00
BUILD.gn Enable compression of observatory_assets.tar in standalone GN build 2016-09-29 14:26:23 -07:00
HACKING.md Ban cross origin WebSocket connections to the service protocol. 2016-07-07 12:14:54 -07:00
observatory.gypi Remove observatory GYP dependence on removed timestamp. 2016-09-26 18:49:03 +02:00
observatory_sources.gypi Removed polymer & mirror from Observatory 2016-09-07 14:15:27 -07:00
pubspec.lock Commit observatory's pubspec.lock to the repo 2016-09-27 14:04:47 +02:00
pubspec.yaml Ship Observatory with non-minified sources 2016-09-16 13:00:38 -07:00
update_sources.py Added observatory_sources.gypi update script 2016-08-19 14:46:24 -07:00