Module oq3_syntax::syntax_node
source · 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§
- Internal node in the immutable tree. It has other nodes and tokens as children.