mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-24 12:03:31 +00:00
add kind to LocalSyntaxPtr
This commit is contained in:
parent
f673529a33
commit
80a91e6735
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ impl LocalSyntaxPtr {
|
|||
pub fn range(self) -> TextRange {
|
||||
self.range
|
||||
}
|
||||
|
||||
pub fn kind(self) -> SyntaxKind {
|
||||
self.kind
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue