Docs.rs
ra_syntax-0.1.0
ra_syntax 0.1.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
Crates.io
Source
Owners
matklad
Dependencies
drop_bomb ^0.1.4
normal
itertools ^0.7.8
normal
parking_lot ^0.6.0
normal
rowan ^0.1.1
normal
text_unit ^0.1.5
normal
unicode-xid ^0.1.0
normal
walkdir ^2.2.0
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
SyntaxNodeRef
Methods
ancestors
descendants
leaf_text
preorder
siblings
In ra_syntax
?
Type Definition
ra_syntax
::
SyntaxNodeRef
source
·
[
−
]
pub type SyntaxNodeRef<'a> =
SyntaxNode
<
RefRoot
<'a>>;
Implementations
source
impl<'a>
SyntaxNodeRef
<'a>
source
pub fn
leaf_text
(self) ->
Option
<&'a
SmolStr
>
source
pub fn
ancestors
(self) -> impl
Iterator
<Item =
SyntaxNodeRef
<'a>>
source
pub fn
descendants
(self) -> impl
Iterator
<Item =
SyntaxNodeRef
<'a>>
source
pub fn
siblings
(
self,
direction:
Direction
) -> impl
Iterator
<Item =
SyntaxNodeRef
<'a>>
source
pub fn
preorder
(self) -> impl
Iterator
<Item =
WalkEvent
<
SyntaxNodeRef
<'a>>>