Safe Haskell | None |
---|---|
Language | Haskell2010 |
Operations for changing the AST
Synopsis
- removeChild :: SourceInfoTraversal e => e dom SrcTemplateStage -> LocalRefactor ()
- removeSeparator :: ([SourceTemplateTextElem], SrcSpan) -> LocalRefactor ()
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).