Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type ModuleName = Text
- type Function = Text
- data QualFunction = QualFunction ModuleName Function
- type FunctionCall = (QualFunction, QualFunction)
- type CallGraph = ([FunctionCall], Map QualFunction Text)
- mainFunction :: QualFunction
- emptyCallGraph :: CallGraph
Documentation
type ModuleName = Text Source #
data QualFunction Source #
A qualified function
Instances
Eq QualFunction Source # | |
Defined in Haxl.Core.CallGraph (==) :: QualFunction -> QualFunction -> Bool # (/=) :: QualFunction -> QualFunction -> Bool # | |
Ord QualFunction Source # | |
Defined in Haxl.Core.CallGraph compare :: QualFunction -> QualFunction -> Ordering # (<) :: QualFunction -> QualFunction -> Bool # (<=) :: QualFunction -> QualFunction -> Bool # (>) :: QualFunction -> QualFunction -> Bool # (>=) :: QualFunction -> QualFunction -> Bool # max :: QualFunction -> QualFunction -> QualFunction # min :: QualFunction -> QualFunction -> QualFunction # | |
Show QualFunction Source # | |
Defined in Haxl.Core.CallGraph showsPrec :: Int -> QualFunction -> ShowS # show :: QualFunction -> String # showList :: [QualFunction] -> ShowS # |
type FunctionCall = (QualFunction, QualFunction) Source #
Represents an edge between a parent function which calls a child function in the call graph
type CallGraph = ([FunctionCall], Map QualFunction Text) Source #
An edge list which represents the dependencies between function calls
mainFunction :: QualFunction Source #
Used as the root of all function calls