Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- ptr :: Parser ()
- ptr2 :: Parser ()
- tentypes :: Parser Parsable
- ctypes :: Parser Parsable
- genericParsers :: forall x. [x] -> (x -> Parsable) -> (x -> Text) -> Parser Parsable
- typeParser :: (x -> Text) -> x -> Parser x
- forLibraries :: (LibType -> Parser x) -> Parser x
- parsabletypes :: Parser Parsable
- api :: Parser ()
- semicolon :: Parser ()
- functionArg :: Parser Arg
- functionArgs :: Parser [Arg]
- genericPrefixes :: Parser (LibType, Text)
- function :: Parser (Maybe Function)
- inlineComment :: Parser ()
- comment :: Parser ()
- parser :: Parser [Maybe Function]
- constant :: Parser (Maybe Function)
- skip :: Parser (Maybe Function)
Documentation
genericParsers :: forall x. [x] -> (x -> Parsable) -> (x -> Text) -> Parser Parsable Source #
build a parser that will try to find the double-pointer- or pointer- variant first.
typeParser :: (x -> Text) -> x -> Parser x Source #
forLibraries :: (LibType -> Parser x) -> Parser x Source #
parse a library-dependent parser across all of our supported libraries
functionArg :: Parser Arg Source #
functionArgs :: Parser [Arg] Source #
inlineComment :: Parser () Source #
skip over a _single-line_ of block comment -- something which seems standard in the libTH.
parser :: Parser [Maybe Function] Source #
run a parser to find all possible functions, returning one maybe type per-line.