enso/app/ydoc-shared
Kaz Wesley b442a38894
Reactive Asts (#10777)
Reactively track reads of fields of all `Ast` objects residing in the `graphStore`'s `syncModule` (i.e. the committed module state). Tracking includes reading the `parent` field of a node.

Note that non-`Ast` structured fields (e.g. `ArgumentDefinition`) are not themselves reactive--an access is tracked when obtaining the object from the `Ast`, not when accessing the inner object's fields. Structured fields are low-level, and mostly not exposed outside `Ast`, so I don't think transitively proxying them would be worth the overhead.

Implements #10697.
2024-08-16 16:35:48 +00:00
..
parser-codegen Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
src Reactive Asts (#10777) 2024-08-16 16:35:48 +00:00
package.json Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
tsconfig.json Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00
vitest.config.ts Split ydoc server into separate module (#10735) 2024-08-08 12:12:05 +00:00