Safe Haskell | None |
---|---|
Language | Haskell2010 |
Operations for changing the AST
- removeChild :: SourceInfoTraversal e => e dom SrcTemplateStage -> LocalRefactor dom ()
- removeSeparator :: ([SourceTemplateTextElem], SrcSpan) -> LocalRefactor dom ()
Documentation
removeChild :: SourceInfoTraversal e => e dom SrcTemplateStage -> LocalRefactor dom () 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 dom () Source #
Remove a separator from the AST while keeping the textual parts of it that should not be removed (like preprocessor pragmas).