Safe Haskell | None |
---|---|
Language | Haskell2010 |
- tok :: (Posn -> String -> Token) -> Posn -> String -> Token
- share :: String -> String
- data Tok
- = TS !String !Int
- | TL !String
- | TI !String
- | TV !String
- | TD !String
- | TC !String
- | T_PosInteger !String
- | T_PosDouble !String
- | T_PosReal !String
- | T_PosString !String
- | T_PosIdent !String
- | T_PosLineComment !String
- | T_PosBlockComment !String
- | T_PosAlloy !String
- | T_PosChoco !String
- data Token
- tokenPos :: [Token] -> String
- tokenPosn :: Token -> Posn
- tokenLineCol :: Token -> (Int, Int)
- posLineCol :: Posn -> (Int, Int)
- mkPosToken :: Token -> ((Int, Int), String)
- prToken :: Token -> String
- data BTree
- eitherResIdent :: (String -> Tok) -> String -> Tok
- resWords :: BTree
- unescapeInitTail :: String -> String
- data Posn = Pn !Int !Int !Int
- alexStartPos :: Posn
- alexMove :: Posn -> Char -> Posn
- type Byte = Word8
- type AlexInput = (Posn, Char, [Byte], String)
- tokens :: String -> [Token]
- alexGetByte :: AlexInput -> Maybe (Byte, AlexInput)
- alexInputPrevChar :: AlexInput -> Char
- utf8Encode :: Char -> [Word8]
- alex_action_1 :: Posn -> String -> Token
- alex_action_2 :: Posn -> String -> Token
- alex_action_3 :: Posn -> String -> Token
- alex_action_4 :: Posn -> String -> Token
- alex_action_5 :: Posn -> String -> Token
- alex_action_6 :: Posn -> String -> Token
- alex_action_7 :: Posn -> String -> Token
- alex_action_8 :: Posn -> String -> Token
- alex_action_9 :: Posn -> String -> Token
- alex_action_10 :: Posn -> String -> Token
- alex_action_11 :: Posn -> String -> Token
- alex_tab_size :: Int
- alex_base :: AlexAddr
- alex_table :: AlexAddr
- alex_check :: AlexAddr
- alex_deflt :: AlexAddr
- alex_accept :: Array Int (AlexAcc (Posn -> String -> Token) user)
- alexIndexInt32OffAddr :: AlexAddr -> Int# -> Int#
- quickIndex :: Array Int (AlexAcc (Posn -> String -> Token) (Any *)) -> Int -> AlexAcc (Posn -> String -> Token) (Any *)
- data AlexReturn a
- alexScan :: (Posn, Char, [Byte], String) -> Int -> AlexReturn (Posn -> String -> Token)
- alexScanUser :: t -> (Posn, Char, [Byte], String) -> Int -> AlexReturn (Posn -> String -> Token)
- alex_scan_tkn :: t -> t1 -> Int# -> AlexInput -> Int# -> AlexLastAcc (Posn -> String -> Token) -> (AlexLastAcc (Posn -> String -> Token), (Posn, Char, [Byte], String))
- data AlexAddr = AlexA# Addr#
- alexIndexInt16OffAddr :: AlexAddr -> Int# -> Int#
- data AlexLastAcc a
- = AlexNone
- | AlexLastAcc a !AlexInput !Int
- | AlexLastSkip !AlexInput !Int
- data AlexAcc a user
- = AlexAccNone
- | AlexAcc a
- | AlexAccSkip
Documentation
unescapeInitTail :: String -> String Source #
alexStartPos :: Posn Source #
alexInputPrevChar :: AlexInput -> Char Source #
utf8Encode :: Char -> [Word8] Source #
Encode a Haskell String to a list of Word8 values, in UTF8 format.
alex_tab_size :: Int Source #
quickIndex :: Array Int (AlexAcc (Posn -> String -> Token) (Any *)) -> Int -> AlexAcc (Posn -> String -> Token) (Any *) Source #
data AlexReturn a Source #
alexScanUser :: t -> (Posn, Char, [Byte], String) -> Int -> AlexReturn (Posn -> String -> Token) Source #
alex_scan_tkn :: t -> t1 -> Int# -> AlexInput -> Int# -> AlexLastAcc (Posn -> String -> Token) -> (AlexLastAcc (Posn -> String -> Token), (Posn, Char, [Byte], String)) Source #
data AlexLastAcc a Source #