This repository contains an example implementation of the algorithm for computing original frames and scopes in a debugger
using scope information encoded in the sourcemap according to this proposal.
The algorithm can be found in src/getOriginalFrames.ts
, the test
directory contains some examples from here.
Furthermore it shows how this scope information could be encoded in a VLQ string in src/encodeScopes.ts
/src/decodeScopes.ts
.
-
Notifications
You must be signed in to change notification settings - Fork 2
hbenl/tc39-proposal-scope-mapping
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published