mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 21:41:34 -07:00
In addition to start/end, track sets of nodes belonging to tokens
This commit is contained in:
parent
3ee4419ef4
commit
e7f05d662a
3 changed files with 50 additions and 30 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue