-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hydrogen Syntax -- -- Hydrogen Syntax @package hydrogen-syntax @version 0.10 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 Typeable TokenType instance Typeable BlockType instance Typeable POP instance Typeable Token instance Eq TokenType instance Ord TokenType instance Show TokenType instance Generic TokenType instance Eq BlockType instance Ord BlockType instance Show BlockType instance Generic BlockType instance Eq POP instance Ord POP instance Show POP instance Generic POP instance Eq Token instance Ord Token instance Show Token instance Generic Token instance Datatype D1TokenType instance Constructor C1_0TokenType instance Constructor C1_1TokenType instance Constructor C1_2TokenType instance Constructor C1_3TokenType instance Datatype D1BlockType instance Constructor C1_0BlockType instance Constructor C1_1BlockType instance Constructor C1_2BlockType instance Datatype D1POP instance Constructor C1_0POP instance Constructor C1_1POP instance Datatype D1Token instance Constructor C1_0Token instance Constructor C1_1Token instance Constructor C1_2Token instance Constructor C1_3Token instance Constructor C1_4Token instance Constructor C1_5Token instance Constructor C1_6Token instance Constructor C1_7Token instance Serialize Token instance Serialize BlockType instance Serialize TokenType instance Serialize POP module Hydrogen.Syntax.Parser tokenize :: String -> Parser String (Tokens Token) layout :: Parser (Tokens Token) POPs parse :: String -> Parser String POPs