yesod-dsl-0.2.1: DSL for generating Yesod subsite to manage an RDBMS;
YesodDsl.Lexer
lexer :: String -> [Token] Source #
tokenType :: Token -> TokenType Source #
tokenLineNum :: Token -> Int Source #
tokenColNum :: Token -> Int Source #
data Token Source #
Constructors
Instances
Methods
showsPrec :: Int -> Token -> ShowS #
show :: Token -> String #
showList :: [Token] -> ShowS #
data TokenType Source #
showsPrec :: Int -> TokenType -> ShowS #
show :: TokenType -> String #
showList :: [TokenType] -> ShowS #
tkString :: Token -> String Source #
tkInt :: Token -> Int Source #