GHC.Parser.HaddockLex

ghc-9.10.0.20240413: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Parser.HaddockLex

Synopsis

- lexHsDoc :: P (LocatedN RdrName) -> HsDocString -> HsDoc GhcPs
- lexStringLiteral :: P (LocatedN RdrName) -> Located StringLiteral -> Located (WithHsDocIdentifiers StringLiteral GhcPs)

# Documentation

lexHsDoc Source #

Arguments

:: P (LocatedN RdrName) | A precise identifier parser
-> HsDocString |
-> HsDoc GhcPs |

Lex identifiers from a docstring.

lexStringLiteral Source #

Arguments

:: P (LocatedN RdrName) | A precise identifier parser
-> Located StringLiteral |
-> Located (WithHsDocIdentifiers StringLiteral GhcPs) |

Lex `StringLiteral` for warning messages