uulib-0.9.15: Haskell Utrecht Tools Library

Safe Haskell | Safe-Inferred

UU.Scanner.Scanner

# Documentation

scanFile :: [String] -> [String] -> String -> String -> FilePath -> IO [Token]Source

scan :: [String] -> [String] -> String -> String -> Pos -> String -> [Token]Source

lexNest :: (Pos -> String -> [Token]) -> Pos -> String -> [Token]Source

scanString :: String -> (String, Int, String)Source

scanChar :: [Char] -> (Maybe Char, Int, [Char])Source

getchar :: [Char] -> (Maybe Char, Int, [Char])Source

getEscChar :: [Char] -> (Maybe Char, Int, [Char])Source

readn :: Int -> [Char] -> Int Source

getNumber :: [Char] -> (EnumValToken, [Char], Int, [Char])Source

isHexaDigit :: Char -> Bool Source

isOctalDigit :: Char -> Bool Source

value :: Char -> Int Source