Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Fortran.Vars.Assignments
Synopsis
- allAssignStmts :: forall a. Data a => ProgramUnit (Analysis a) -> [Either TypeError (Type, Expression (Analysis a))]
Documentation
allAssignStmts :: forall a. Data a => ProgramUnit (Analysis a) -> [Either TypeError (Type, Expression (Analysis a))] Source #
Method to retrieve the type of the lhs and expression on the rhs of all assign like statements: expression assign, parameter, data and declarations It returns the type of the lhs due to the expansion of array types to scalar types in datagroups and declarations and returns TypeError's for the expressions it can't calculate.