Skip to main content

NodePtr

Type Alias NodePtr 

Source
pub type NodePtr = SyntaxNodePtr<JuliaLanguage>;
Expand description

A node’s identity without the tree: its kind plus its text range, resolvable back to a SyntaxNode against the root it came from. The key a per-file analysis uses to name a node it does not hold (rowan’s cursors are Rc based, so keeping one alive keeps the whole tree alive).

Aliased Type§

pub struct NodePtr { /* private fields */ }