ghc-lib-parser-9.12.3.20251228: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
LanguageGHC2021

GHC.Parser.String

Synopsis

Documentation

lexMultilineString :: Int -> StringBuffer -> Either StringLexError String Source #

See Note [Multiline string literals]

Assumes string is lexically valid. Skips the steps about splitting and rejoining lines, and instead manually find newline characters, for performance.

Unicode smart quote helpers