fortran-vars-0.4.0: Fortran memory model and other static analysis tools.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Fortran.Vars.Call

Synopsis

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