add kind to LocalSyntaxPtr

This commit is contained in:
Aleksey Kladov 2019-01-02 22:18:17 +03:00
parent f673529a33
commit 80a91e6735

View file

@ -31,6 +31,10 @@ impl LocalSyntaxPtr {
pub fn range(self) -> TextRange {
self.range
}
pub fn kind(self) -> SyntaxKind {
self.kind
}
}
#[test]