mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Update Roslyn link in syntax.md
Eric Lippert has a new blog that he keeps updating, update the link to that
This commit is contained in:
parent
23c889694e
commit
742055e29f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ The syntax tree consists of three layers:
|
||||||
* AST
|
* AST
|
||||||
|
|
||||||
Of these, only GreenNodes store the actual data, the other two layers are (non-trivial) views into green tree.
|
Of these, only GreenNodes store the actual data, the other two layers are (non-trivial) views into green tree.
|
||||||
Red-green terminology comes from Roslyn ([link](https://docs.microsoft.com/en-ie/archive/blogs/ericlippert/persistence-facades-and-roslyns-red-green-trees)) and gives the name to the `rowan` library. Green and syntax nodes are defined in rowan, ast is defined in rust-analyzer.
|
Red-green terminology comes from Roslyn ([link](https://ericlippert.com/2012/06/08/red-green-trees/)) and gives the name to the `rowan` library. Green and syntax nodes are defined in rowan, ast is defined in rust-analyzer.
|
||||||
|
|
||||||
Syntax trees are a semi-transient data structure.
|
Syntax trees are a semi-transient data structure.
|
||||||
In general, frontend does not keep syntax trees for all files in memory.
|
In general, frontend does not keep syntax trees for all files in memory.
|
||||||
|
|
Loading…
Reference in a new issue