diff options
author | Aleksey Kladov <[email protected]> | 2018-08-11 14:20:37 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-11 14:20:37 +0100 |
commit | 56aa6e20e0279c69e0130905573b1607056cfaf9 (patch) | |
tree | 814d6201390b46f64ea0f9571c6b2fcff52fa016 /crates/libeditor/src/symbols.rs | |
parent | fe1fe866f3fd0a7bb542debaae782470f107b7c1 (diff) |
More symbols
Diffstat (limited to 'crates/libeditor/src/symbols.rs')
-rw-r--r-- | crates/libeditor/src/symbols.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs index 3faf96868..5cd781c80 100644 --- a/crates/libeditor/src/symbols.rs +++ b/crates/libeditor/src/symbols.rs | |||
@@ -63,5 +63,8 @@ fn to_symbol(node: SyntaxNodeRef) -> Option<FileSymbol> { | |||
63 | .visit(decl::<ast::Enum<_>>) | 63 | .visit(decl::<ast::Enum<_>>) |
64 | .visit(decl::<ast::Trait<_>>) | 64 | .visit(decl::<ast::Trait<_>>) |
65 | .visit(decl::<ast::Module<_>>) | 65 | .visit(decl::<ast::Module<_>>) |
66 | .visit(decl::<ast::TypeItem<_>>) | ||
67 | .visit(decl::<ast::ConstItem<_>>) | ||
68 | .visit(decl::<ast::StaticItem<_>>) | ||
66 | .accept(node)? | 69 | .accept(node)? |
67 | } | 70 | } |