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 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11
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.