haskell-tools-refactor-1.0.0.4: Refactoring Tool for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.Utils.AST

Description

Operations for changing the AST

Synopsis

Documentation

removeChild :: SourceInfoTraversal e => e dom SrcTemplateStage -> LocalRefactor () Source #

Remove an element from the AST while keeping the textual parts of it that should not be removed (like preprocessor pragmas).

removeSeparator :: ([SourceTemplateTextElem], SrcSpan) -> LocalRefactor () Source #

Remove a separator from the AST while keeping the textual parts of it that should not be removed (like preprocessor pragmas).