Moduleghc-9.10.3GHC2021
GHC.Rename.Expr
- 2 types
- 3 values
- Packageghc-9.10.3
- Exports5
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceExpr.hs
value
rnStmts :: AnnoBody body=> HsStmtContextRn-> (body GhcPs -> RnM (body GhcRn, FreeVars))How to rename the body of each statement (e.g. rnLExpr)
-> [LStmt GhcPs (LocatedA (body GhcPs))]Statements
-> ([Name] -> RnM (thing, FreeVars))if these statements scope over something, this renames it and returns the result.
-> RnM (([LStmt GhcRn (LocatedA (body GhcRn))], thing), FreeVars)
Rename some Stmts
An existential wrapper around StmtLR GhcPs GhcPs body.
Constructors
UnexpectedStatement :: Outputable (StmtLR GhcPs GhcPs body) => StmtLR GhcPs GhcPs body -> UnexpectedStatement