haskell-tools-ast-trf-0.2.0.0: Conversions on Haskell-Tools AST to prepare for refactorings

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.AnnTrf.RangeTemplate

Contents

Description

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.

Synopsis

Documentation

data RangeTemplateElem Source #

An element of a range template for a singleton AST node.

Constructors

RangeElem RealSrcSpan

A range for the source code of the element

RangeChildElem

The place for a child element

Instances

Data RangeTemplateElem Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RangeTemplateElem -> c RangeTemplateElem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RangeTemplateElem #

toConstr :: RangeTemplateElem -> Constr #

dataTypeOf :: RangeTemplateElem -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RangeTemplateElem) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RangeTemplateElem) #

gmapT :: (forall b. Data b => b -> b) -> RangeTemplateElem -> RangeTemplateElem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RangeTemplateElem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RangeTemplateElem -> r #

gmapQ :: (forall d. Data d => d -> u) -> RangeTemplateElem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RangeTemplateElem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RangeTemplateElem -> m RangeTemplateElem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RangeTemplateElem -> m RangeTemplateElem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RangeTemplateElem -> m RangeTemplateElem #

Show RangeTemplateElem Source # 

Orphan instances

SourceInfo RngTemplateStage Source # 
Data (OptionalInfo RngTemplateStage) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OptionalInfo RngTemplateStage -> c (OptionalInfo RngTemplateStage) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (OptionalInfo RngTemplateStage) #

toConstr :: OptionalInfo RngTemplateStage -> Constr #

dataTypeOf :: OptionalInfo RngTemplateStage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (OptionalInfo RngTemplateStage)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (OptionalInfo RngTemplateStage)) #

gmapT :: (forall b. Data b => b -> b) -> OptionalInfo RngTemplateStage -> OptionalInfo RngTemplateStage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OptionalInfo RngTemplateStage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OptionalInfo RngTemplateStage -> r #

gmapQ :: (forall d. Data d => d -> u) -> OptionalInfo RngTemplateStage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OptionalInfo RngTemplateStage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OptionalInfo RngTemplateStage -> m (OptionalInfo RngTemplateStage) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OptionalInfo RngTemplateStage -> m (OptionalInfo RngTemplateStage) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OptionalInfo RngTemplateStage -> m (OptionalInfo RngTemplateStage) #

Data (ListInfo RngTemplateStage) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListInfo RngTemplateStage -> c (ListInfo RngTemplateStage) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (ListInfo RngTemplateStage) #

toConstr :: ListInfo RngTemplateStage -> Constr #

dataTypeOf :: ListInfo RngTemplateStage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (ListInfo RngTemplateStage)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (ListInfo RngTemplateStage)) #

gmapT :: (forall b. Data b => b -> b) -> ListInfo RngTemplateStage -> ListInfo RngTemplateStage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListInfo RngTemplateStage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListInfo RngTemplateStage -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListInfo RngTemplateStage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListInfo RngTemplateStage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListInfo RngTemplateStage -> m (ListInfo RngTemplateStage) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInfo RngTemplateStage -> m (ListInfo RngTemplateStage) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInfo RngTemplateStage -> m (ListInfo RngTemplateStage) #

Data (SpanInfo RngTemplateStage) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpanInfo RngTemplateStage -> c (SpanInfo RngTemplateStage) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SpanInfo RngTemplateStage) #

toConstr :: SpanInfo RngTemplateStage -> Constr #

dataTypeOf :: SpanInfo RngTemplateStage -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (SpanInfo RngTemplateStage)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SpanInfo RngTemplateStage)) #

gmapT :: (forall b. Data b => b -> b) -> SpanInfo RngTemplateStage -> SpanInfo RngTemplateStage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpanInfo RngTemplateStage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpanInfo RngTemplateStage -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpanInfo RngTemplateStage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpanInfo RngTemplateStage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpanInfo RngTemplateStage -> m (SpanInfo RngTemplateStage) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpanInfo RngTemplateStage -> m (SpanInfo RngTemplateStage) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpanInfo RngTemplateStage -> m (SpanInfo RngTemplateStage) #

Show (OptionalInfo RngTemplateStage) Source # 
Show (ListInfo RngTemplateStage) Source # 
Show (SpanInfo RngTemplateStage) Source # 
HasRange (OptionalInfo RngTemplateStage) Source # 
HasRange (ListInfo RngTemplateStage) Source # 
HasRange (SpanInfo RngTemplateStage) Source #