-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hydrogen Syntax -- @package hydrogen-syntax @version 0.5 module Hydrogen.Syntax.Types type POPs = [(SourcePos, POP)] data POP Token :: TokenType -> [Char] -> [Char] -> POP Block :: BlockType -> [Char] -> POPs -> POP data TokenType AposString :: TokenType QuotString :: TokenType TickString :: TokenType SomethingT :: TokenType data BlockType Grouping :: BlockType Brackets :: BlockType Mustache :: BlockType data Token TComma :: Token TSemicolon :: Token TBraceOpen :: [Char] -> Char -> Token TBraceClose :: Char -> Token TSomething :: [Char] -> Token TIndent :: Int -> Token TSpaces :: Token TString :: [Char] -> Char -> [Char] -> Token instance Eq TokenType instance Show TokenType instance Eq BlockType instance Show BlockType instance Show POP instance Show Token module Hydrogen.Syntax.Parser tokenize :: String -> Parser String (Tokens Token) layout :: Parser (Tokens Token) POPs parse :: String -> Parser String POPs