Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- alex_tab_size :: Int
- alex_base :: AlexAddr
- alex_table :: AlexAddr
- alex_check :: AlexAddr
- alex_deflt :: AlexAddr
- alex_accept :: Array Int (AlexAcc user)
- alex_actions :: Array Int (Posn -> String -> Token)
- alexIndexInt32OffAddr :: AlexAddr -> Int# -> Int#
- quickIndex :: Array Int (AlexAcc (Any :: Type)) -> Int -> AlexAcc (Any :: Type)
- data AlexReturn a
- alexScan :: AlexInput -> Int -> AlexReturn (Posn -> String -> Token)
- alexScanUser :: t -> AlexInput -> Int -> AlexReturn (Posn -> String -> Token)
- alex_scan_tkn :: t1 -> t2 -> Int# -> AlexInput -> Int# -> AlexLastAcc -> (AlexLastAcc, AlexInput)
- data AlexLastAcc
- = AlexNone
- | AlexLastAcc !Int !AlexInput !Int
- | AlexLastSkip !AlexInput !Int
- data AlexAcc user
- tok :: (Posn -> String -> Token) -> Posn -> String -> Token
- data Tok
- data Token
- printPosn :: Posn -> String
- tokenPos :: [Token] -> String
- tokenPosn :: Token -> Posn
- tokenLineCol :: Token -> (Int, Int)
- posLineCol :: Posn -> (Int, Int)
- mkPosToken :: Token -> ((Int, Int), String)
- tokenText :: Token -> 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_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
- data AlexAddr = AlexA# Addr#
- alexIndexInt16OffAddr :: AlexAddr -> Int# -> Int#
Documentation
alex_tab_size :: Int Source #
data AlexReturn a Source #
alexScanUser :: t -> AlexInput -> Int -> AlexReturn (Posn -> String -> Token) Source #
alex_scan_tkn :: t1 -> t2 -> Int# -> AlexInput -> Int# -> AlexLastAcc -> (AlexLastAcc, AlexInput) Source #
data AlexLastAcc Source #
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.