located-0.1.0.0: Source location helpers

Safe HaskellSafe
LanguageHaskell2010

Text.Location.Layout

Documentation

data Layout a Source

Constructors

Layout 

Fields

beginsLayout :: a -> Bool

True when this token begins layout

endsLayout :: a -> Bool

True when this token explicitly ends layout

sep :: a

The separator token

start :: a

Layout block starting token

end :: a

Layout block ending token

layout :: Layout a -> [Located source a] -> [Located source a] Source