Jonathan Tran
97705234c6
Fix KCL source ranges to know which source file they point to ( #4418 )
...
* Add ts_rs feature to work with indexmap
* Add feature for schemars to work with indexmap
* Add module ID to intern module paths
* Update code to use new source range with three fields
* Update generated files
* Update docs
* Fix wasm
* Fix TS code to use new SourceRange
* Fix TS tests to use new SourceRange and moduleId
* Fix formatting
* Fix to filter errors and source ranges to only show the top-level module
* Fix to reuse module IDs
* Fix to disallow empty path for import
* Revert unneeded Self change
* Rename field to be clearer
* Fix parser tests
* Update snapshots
* Change to not serialize module_id of 0
* Update snapshots after adding default module_id
* Move module_id functions to separate module
* Fix tests for console errors
* Proposal: module ID = 0 gets skipped when serializing tokens too (#4422 )
Just like in AST nodes.
Also I think "is_top_level" communicates intention better than is_default
---------
Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev >
2024-11-07 11:23:41 -05:00
..
2024-10-30 20:52:17 +00:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-11-05 14:10:35 -06:00
2024-10-02 22:05:12 -07:00
2024-09-12 16:13:11 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-09-27 10:37:46 -04:00
2024-09-27 10:37:46 -04:00
2024-09-27 10:37:46 -04:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-16 06:58:04 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-15 13:25:03 -07:00
2024-10-15 13:25:03 -07:00
2024-10-15 13:25:03 -07:00
2024-10-15 13:25:03 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-28 20:52:51 -04:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-28 20:52:51 -04:00
2024-10-16 06:58:04 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-11-05 14:10:35 -06:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-11-05 14:10:35 -06:00
2024-11-05 14:10:35 -06:00
2024-11-05 14:10:35 -06:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-11-07 11:23:41 -05:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 14:19:40 -05:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00
2024-10-02 22:05:12 -07:00