mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Draw edges between modules and symbol references.
This commit is contained in:
parent
c90791c188
commit
a16f1f7a1d
@ -52,6 +52,7 @@ instance ( Effectful m
|
||||
analyzeTerm eval term@(In _ syntax) = do
|
||||
case prj syntax of
|
||||
Just (Syntax.Identifier name) -> do
|
||||
insertVertexName name
|
||||
o <- lookupEnv name
|
||||
case o >>= withSomeOrigin originModule . origin . unAddress of
|
||||
Just ModuleInfo{..} -> modifyImportGraph (vertex name >< vertex moduleName <>)
|
||||
|
Loading…
Reference in New Issue
Block a user