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