Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- functionCalls :: (Data a, Data (b (Analysis a))) => b (Analysis a) -> String -> [Expression (Analysis a)]
- subroutineCalls :: (Data a, Data (b (Analysis a))) => b (Analysis a) -> String -> [Statement (Analysis a)]
- functionArguments :: Expression a -> [Expression a]
- subroutineArguments :: Statement a -> [Expression a]
Documentation
functionCalls :: (Data a, Data (b (Analysis a))) => b (Analysis a) -> String -> [Expression (Analysis a)] Source #
Utility to get all call expressions of the specified function
subroutineCalls :: (Data a, Data (b (Analysis a))) => b (Analysis a) -> String -> [Statement (Analysis a)] Source #
Utility to get all call statements of the specified subroutine
functionArguments :: Expression a -> [Expression a] Source #
Given a function call Expression
, return the list of argument Expression
subroutineArguments :: Statement a -> [Expression a] Source #
Given a subroutine call Statement
, return the list of argument Expression