mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-26 09:56:40 +08:00
In addition to start/end, track sets of nodes belonging to tokens
This commit is contained in:
@@ -202,7 +202,7 @@ stringToDetailedCfgViz scriptString = cfgToGraphVizWith nodeLabel graph
|
||||
idToToken = M.fromList $ execWriter $ doAnalysis (\c -> tell [(getId c, c)]) ast
|
||||
|
||||
idToNode :: M.Map Id (Node, Node)
|
||||
idToNode = cfIdToNode cfgResult
|
||||
idToNode = cfIdToRange cfgResult
|
||||
|
||||
nodeToStartIds :: M.Map Node (S.Set Id)
|
||||
nodeToStartIds =
|
||||
|
Reference in New Issue
Block a user