We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57735f2 + d7991f5 commit 6409d7eCopy full SHA for 6409d7e
crates/syntax/src/ptr.rs
@@ -12,6 +12,8 @@ use crate::{AstNode, SyntaxKind, SyntaxNode, TextRange};
12
/// specific node across reparses of the same file.
13
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
14
pub struct SyntaxNodePtr {
15
+ // Don't expose this field further. At some point, we might want to replace
16
+ // range with node id.
17
pub(crate) range: TextRange,
18
kind: SyntaxKind,
19
}
0 commit comments