Expand description
This module defines Concrete Syntax Tree (CST), used by rust-analyzer.
The CST includes comments and whitespace, provides a single node type,
SyntaxNode, and a basic traversal API (parent, children, siblings).
The real implementation is in the (language-agnostic) rowan crate, this
module just wraps its API.
Structsยง
- Green
Node ๐ - Internal node in the immutable tree. It has other nodes and tokens as children.
- Green
Token ๐ - Leaf node in the immutable tree.
- Syntax
Tree Builder
Enumsยง
- Node
OrToken ๐ - Rust
Language