mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 23:22:14 +03:00
f88bd90ebb
Some refactoring separated from #8825 for easier review. # Important Notes **ID types** The new *synchronization IDs* will replace `ExprId` for `Ast` references in frontend logic. `ExprId` (now called `ExternalId`) is now used only for module serialization and engine communication. The graph database will maintain an index that is used to translate at the boundaries. For now, this translation is implemented as a type cast, as the IDs have the same values until the next PR. - `AstId`: Identifies an `Ast` node. - `NodeId`: A subtype of `AstId`. - `ExternalId`: UUID used for serialization and engine communication. **Other changes**: - Immediate validation of `Owned` usage. - Eliminate `Ast.RawCode`. - Prepare to remove `IdMap` from yjsModel. |
||
---|---|---|
.. | ||
__tests__ | ||
edits.ts | ||
fileFormat.ts | ||
index.ts | ||
languageServerSession.ts | ||
serialization.ts | ||
ydoc.ts |