Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Parser a = Parsec Tokens () a
- type Tokens = [Token]
- newtype Separatable = SepSlider Slider
- data Solid
- runBarParser :: Tokens -> Either ParseError (Bar Marshalled)
- bar :: Parser (Bar Marshalled)
- topLevel :: Parser (Bar Marshalled)
- separated :: Parser (Bar Marshalled)
- wrapped :: Parser (Bar Marshalled)
- automaton :: Parser (Bar Marshalled)
- stateTransitionTable :: Parser (Text, StateTransitionTable)
- stateMapKey :: Parser Text
- separatable :: Parser Separatable
- separator :: Parser ()
- solid :: Parser Solid
- closing :: Parser ()
- markup :: Parser Text
- text :: Parser Text
- source :: Parser Source
- variable :: Parser Variable
- shape :: Parser Shape
- withPreview :: Stream s m t => Show t => (t -> Maybe a) -> ParsecT s u m a
Documentation
newtype Separatable Source #
Used to tag bar elements that require a list of children.
These lists of children are parsed using sepBy
with TokSeparator
as a delimiter.
Used to tag bar elements that require a single child.
runBarParser :: Tokens -> Either ParseError (Bar Marshalled) Source #
stateMapKey :: Parser Text Source #