aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/syntax_node.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-21 12:24:42 +0000
committerAleksey Kladov <[email protected]>2019-02-21 12:24:42 +0000
commit412ac63ff517c7eab5e1cfe0bf239616bd2c13a1 (patch)
tree945fd6597aa73ec1b887f0d60b5bc9d7ac59f2cb /crates/ra_syntax/src/syntax_node.rs
parent2fa2805887e734647aabebc1f533ec76c48f538a (diff)
docs
Diffstat (limited to 'crates/ra_syntax/src/syntax_node.rs')
-rw-r--r--crates/ra_syntax/src/syntax_node.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index aa627398d..a1bc0b499 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -1,3 +1,11 @@
1//! This module defines Concrete Syntax Tree (CST), used by rust-analyzer.
2//!
3//! The CST includes comments and whitespace, provides a single node type,
4//! `SyntaxNode`, and a basic traversal API (parent, children, siblings).
5//!
6//! The *real* implementation is in the (language-agnostic) `rowan` crate, this
7//! modules just wraps its API.
8
1use std::{fmt, borrow::Borrow}; 9use std::{fmt, borrow::Borrow};
2 10
3use rowan::{Types, TransparentNewType}; 11use rowan::{Types, TransparentNewType};