Constructors
StringLexError LexErr BufPos
Instances2Eq, Show
Eq StringLexErrorDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Parser.StringShow StringLexErrorDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Parser.String
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10
Moduleghc-lib-parser-9.14.1.20251220GHC2021
StringLexError LexErr BufPosEq StringLexErrorDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Parser.StringShow StringLexErrorDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Parser.StringSee 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.