yi-core-0.16.0: Yi editor core library

Safe HaskellNone
LanguageHaskell2010

Yi.Syntax.Layout

Synopsis

Documentation

layoutHandler :: forall t lexState. (Show t, Eq t) => (t -> Bool) -> [(t, t)] -> (Tok t -> Bool) -> (t, t, t) -> (Tok t -> Bool) -> Scanner (AlexState lexState) (Tok t) -> Scanner (State t lexState) (Tok t) Source #

Transform a scanner into a scanner that also adds opening, closing and "next" tokens to indicate layout.

type State t lexState = (IState t, AlexState lexState) Source #