syntax

Type Alias SyntaxNodePtr

source
pub type SyntaxNodePtr = SyntaxNodePtr<RustLanguage>;
Expand description

A “pointer” to a SyntaxNode, via location in the source code.

Aliased Type§

struct SyntaxNodePtr { /* private fields */ }

Trait Implementations§

source§

impl<N: AstNode> From<AstPtr<N>> for SyntaxNodePtr

source§

fn from(ptr: AstPtr<N>) -> SyntaxNodePtr

Converts to this type from the input type.