ghc-9.10.1: The GHC API
Safe HaskellNone
LanguageGHC2021

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