diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:27:26 +0100 |
commit | c1a7b72fb7c9b69779e490e1d692ddfccec8b57a (patch) | |
tree | 362f9ac863989fbea465b9cb3bdb9bc40497f8f4 /crates/server/src | |
parent | 9149fd2c0ca3d23719082852a2cddd8ba5804ce6 (diff) |
renames
Diffstat (limited to 'crates/server/src')
-rw-r--r-- | crates/server/src/conv.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/server/src/conv.rs b/crates/server/src/conv.rs index 1c31d32fe..3aa255e6a 100644 --- a/crates/server/src/conv.rs +++ b/crates/server/src/conv.rs | |||
@@ -28,14 +28,14 @@ impl Conv for SyntaxKind { | |||
28 | 28 | ||
29 | fn conv(self) -> <Self as Conv>::Output { | 29 | fn conv(self) -> <Self as Conv>::Output { |
30 | match self { | 30 | match self { |
31 | SyntaxKind::FUNCTION => SymbolKind::Function, | 31 | SyntaxKind::FN_DEF => SymbolKind::Function, |
32 | SyntaxKind::STRUCT => SymbolKind::Struct, | 32 | SyntaxKind::STRUCT_DEF => SymbolKind::Struct, |
33 | SyntaxKind::ENUM => SymbolKind::Enum, | 33 | SyntaxKind::ENUM_DEF => SymbolKind::Enum, |
34 | SyntaxKind::TRAIT => SymbolKind::Interface, | 34 | SyntaxKind::TRAIT_DEF => SymbolKind::Interface, |
35 | SyntaxKind::MODULE => SymbolKind::Module, | 35 | SyntaxKind::MODULE => SymbolKind::Module, |
36 | SyntaxKind::TYPE_ITEM => SymbolKind::TypeParameter, | 36 | SyntaxKind::TYPE_DEF => SymbolKind::TypeParameter, |
37 | SyntaxKind::STATIC_ITEM => SymbolKind::Constant, | 37 | SyntaxKind::STATIC_DEF => SymbolKind::Constant, |
38 | SyntaxKind::CONST_ITEM => SymbolKind::Constant, | 38 | SyntaxKind::CONST_DEF => SymbolKind::Constant, |
39 | _ => SymbolKind::Variable, | 39 | _ => SymbolKind::Variable, |
40 | } | 40 | } |
41 | } | 41 | } |