Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions that convert the statement-related elements of the GHC AST to corresponding elements in the Haskell-tools AST representation
Documentation
trfDoStmt :: TransformName n r => Located (Stmt n (LHsExpr n)) -> Trf (Ann UStmt (Dom r) RangeStage) Source #
trfDoStmt' :: TransformName n r => Stmt n (Located (HsExpr n)) -> Trf (UStmt' UExpr (Dom r) RangeStage) Source #
gTrfDoStmt' :: (TransformName n r, Data (ge n), Outputable (ge n)) => (Located (ge n) -> Trf (Ann ae (Dom r) RangeStage)) -> Stmt n (Located (ge n)) -> Trf (UStmt' ae (Dom r) RangeStage) Source #
trfListCompStmts :: TransformName n r => [Located (Stmt n (LHsExpr n))] -> Trf (AnnListG UListCompBody (Dom r) RangeStage) Source #
trfListCompStmt :: TransformName n r => Located (Stmt n (LHsExpr n)) -> Trf [Ann UCompStmt (Dom r) RangeStage] Source #
extractActualStmt :: TransformName n r => Stmt n (LHsExpr n) -> Trf (Ann UCompStmt (Dom r) RangeStage) Source #