ghc-9.4.6: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Parser.HaddockLex

Synopsis

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