Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions that convert the expression-related elements of the GHC AST to corresponding elements in the Haskell-tools AST representation
Documentation
trfExpr :: forall n r. TransformName n r => Located (HsExpr n) -> Trf (Ann UExpr (Dom r) RangeStage) Source #
createScopeInfo :: Trf ScopeInfo Source #
trfExpr' :: TransformName n r => HsExpr n -> Trf (UExpr (Dom r) RangeStage) Source #
trfFieldInits :: TransformName n r => HsRecFields n (LHsExpr n) -> Trf (AnnListG UFieldUpdate (Dom r) RangeStage) Source #
trfFieldInit :: TransformName n r => Located (HsRecField n (LHsExpr n)) -> Trf (Ann UFieldUpdate (Dom r) RangeStage) Source #
trfFieldUpdate :: TransformName n r => HsRecField' (AmbiguousFieldOcc n) (LHsExpr n) -> Trf (UFieldUpdate (Dom r) RangeStage) Source #
trfAlt :: TransformName n r => Located (Match n (LHsExpr n)) -> Trf (Ann UAlt (Dom r) RangeStage) Source #
trfAlt' :: TransformName n r => Match n (LHsExpr n) -> Trf (UAlt (Dom r) RangeStage) Source #
gTrfAlt' :: TransformName n r => (Located (ge n) -> Trf (Ann ae (Dom r) RangeStage)) -> Match n (Located (ge n)) -> Trf (UAlt' ae (Dom r) RangeStage) Source #
trfCaseRhss :: TransformName n r => [Located (GRHS n (LHsExpr n))] -> Trf (Ann UCaseRhs (Dom r) RangeStage) Source #
gTrfCaseRhss :: TransformName n r => (Located (ge n) -> Trf (Ann ae (Dom r) RangeStage)) -> [Located (GRHS n (Located (ge n)))] -> Trf (Ann (UCaseRhs' ae) (Dom r) RangeStage) Source #
trfGuardedCaseRhs :: TransformName n r => Located (GRHS n (LHsExpr n)) -> Trf (Ann UGuardedCaseRhs (Dom r) RangeStage) Source #
trfGuardedCaseRhs' :: TransformName n r => GRHS n (LHsExpr n) -> Trf (UGuardedCaseRhs (Dom r) RangeStage) Source #
gTrfGuardedCaseRhs' :: TransformName n r => (Located (ge n) -> Trf (Ann ae (Dom r) RangeStage)) -> GRHS n (Located (ge n)) -> Trf (UGuardedCaseRhs' ae (Dom r) RangeStage) Source #
trfCmdTop :: TransformName n r => Located (HsCmdTop n) -> Trf (Ann UCmd (Dom r) RangeStage) Source #
trfCmd :: TransformName n r => Located (HsCmd n) -> Trf (Ann UCmd (Dom r) RangeStage) Source #
trfCmd' :: TransformName n r => HsCmd n -> Trf (UCmd (Dom r) RangeStage) Source #