summaryrefslogtreecommitdiff
path: root/src/resolver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolver.rs')
-rw-r--r--src/resolver.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resolver.rs b/src/resolver.rs
index 5fc4690..c12279c 100644
--- a/src/resolver.rs
+++ b/src/resolver.rs
@@ -131,6 +131,11 @@ impl Resolver {
}
}
+ /// Return a type that can print all symbol definitions and references.
+ pub fn symbols(&self) -> SourceSymbols {
+ SourceSymbols { resolver: self }
+ }
+
/// Return a type that can print the structure of the source tree.
pub fn hierarchy(&self) -> SourceHierarchy {
SourceHierarchy { resolver: self }