mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 20:31:45 +03:00
19d0707334
Further AST integration and API refinement before introducing the new synchronization mechanism. closes #8609 # Important Notes API changes: - Renamed `Ast.parseExpression` / `Ast.parse` to better reflect their usage: - `Ast.parse` returns a block or a single expression, depending on its input; this is convenient for expressions expected to be single-line. - `Ast.parseBlock` always treats its input as a block; this is suitable for parsing a file. - `astExtended` is no longer needed to access span information. `Ast.span` provides access to the value when appropriate (the project's committed modules have spans; uncommitted changes or other parsed expressions don't). - `SourceRange` is now used everywhere in place of `ContentRange`--the two types had the same definition. Features: - Fix CodeEditor viewing. Implementation improvements: - Updated widget update handlers (#8545) implementation to Ast API. - Integrated `imports` more thoroughly with new AST APIs. - More tests. |
||
---|---|---|
.. | ||
edits.test.ts |