LexCore

ghc-7.0.4: The GHC API

LexCore

# Documentation

isNameChar :: Char -> Bool

isKeywordChar :: Char -> Bool

lexer :: (Token -> P a) -> P a

lexChar :: (Token -> String -> Int -> ParseResult a) -> String -> Int -> ParseResult a

lexString :: String -> (Token -> [Char] -> Int -> ParseResult a) -> String -> Int -> ParseResult a

isHexEscape :: String -> Bool

hexToChar :: Char -> Char -> Char

lexNum :: (Token -> String -> a) -> String -> a

lexName :: (a -> String -> b) -> (String -> a) -> String -> b

lexKeyword :: (Token -> [Char] -> Int -> ParseResult a) -> String -> Int -> ParseResult a