start structured editing API

This commit is contained in:
Aleksey Kladov
2019-04-21 17:47:55 +03:00
parent ee94edc722
commit 7cc845e88d
7 changed files with 240 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ use crate::{
/// specific node across reparses of the same file.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct SyntaxNodePtr {
range: TextRange,
pub(crate) range: TextRange,
kind: SyntaxKind,
}