Module Curry.SpanInfo

Summary of exported operations:

fromSpanInfoList :: [SpanInfo] -> SpanInfo   
fromSrcSpan :: Span -> SpanInfo   
fromSrcSpanBoth :: Span -> SpanInfo   
getSrcSpan :: HasSpanInfo a => a -> Span   
setSrcSpan :: HasSpanInfo a => Span -> a -> a   
fromSrcInfoPoints :: [Span] -> SpanInfo   
getSrcInfoPoints :: HasSpanInfo a => a -> [Span]   
setSrcInfoPoints :: HasSpanInfo a => [Span] -> a -> a   
getStartPosition :: HasSpanInfo a => a -> Position   
getEndPosition :: HasSpanInfo a => a -> Position   
getSrcSpanEnd :: HasSpanInfo a => a -> Position   
setStartPosition :: HasSpanInfo a => Position -> a -> a   
setEndPosition :: HasSpanInfo a => Position -> a -> a   
spanInfo2Pos :: HasSpanInfo a => a -> Position   

Exported datatypes:


SpanInfo

Constructors:

  • SpanInfo :: Span -> [Span] -> SpanInfo
  • NoSpanInfo :: SpanInfo

Exported operations:

fromSrcSpan :: Span -> SpanInfo   

Further infos:
  • solution complete, i.e., able to compute all solutions

fromSrcSpanBoth :: Span -> SpanInfo   

Further infos:
  • solution complete, i.e., able to compute all solutions

getSrcSpan :: HasSpanInfo a => a -> Span   

setSrcSpan :: HasSpanInfo a => Span -> a -> a   

fromSrcInfoPoints :: [Span] -> SpanInfo   

Further infos:
  • solution complete, i.e., able to compute all solutions

getSrcInfoPoints :: HasSpanInfo a => a -> [Span]   

setSrcInfoPoints :: HasSpanInfo a => [Span] -> a -> a   

getEndPosition :: HasSpanInfo a => a -> Position   

getSrcSpanEnd :: HasSpanInfo a => a -> Position   

setStartPosition :: HasSpanInfo a => Position -> a -> a   

setEndPosition :: HasSpanInfo a => Position -> a -> a   

spanInfo2Pos :: HasSpanInfo a => a -> Position