Safe Haskell | None |
---|---|
Language | Haskell2010 |
The range template is an intermediate annotation level, where the children nodes of the tree had been cut from the parent nodes, but the annotations still contain ranges instead of text.
- rngTemplateNodeRange :: Simple Lens (SpanInfo RngTemplateStage) RealSrcSpan
- rngTemplateNodeElems :: Simple Lens (SpanInfo RngTemplateStage) [RangeTemplateElem]
- rngTemplateListRange :: Simple Lens (ListInfo RngTemplateStage) RealSrcSpan
- rngTmpListBefore :: Simple Lens (ListInfo RngTemplateStage) String
- rngTmpListAfter :: Simple Lens (ListInfo RngTemplateStage) String
- rngTmpDefaultSeparator :: Simple Lens (ListInfo RngTemplateStage) String
- rngTmpIndented :: Simple Lens (ListInfo RngTemplateStage) Bool
- rngTmpSeparators :: Simple Lens (ListInfo RngTemplateStage) [RealSrcSpan]
- rngTemplateOptRange :: Simple Lens (OptionalInfo RngTemplateStage) RealSrcSpan
- rngTmpOptBefore :: Simple Lens (OptionalInfo RngTemplateStage) String
- rngTmpOptAfter :: Simple Lens (OptionalInfo RngTemplateStage) String
- data RangeTemplateElem
- getRangeElemSpan :: RangeTemplateElem -> Maybe RealSrcSpan
Documentation
data RangeTemplateElem Source #
An element of a range template for a singleton AST node.
RangeElem RealSrcSpan | A range for the source code of the element |
RangeChildElem | The place for a child element |