GHC.Parser.Errors.Basic

ghc-9.10.0.20240328: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Parser.Errors.Basic

Synopsis

- data OperatorWhitespaceSymbol
  - = OperatorWhitespaceSymbol_PrefixPercent
  - | OperatorWhitespaceSymbol_PrefixDollar
  - | OperatorWhitespaceSymbol_PrefixDollarDollar
- pprOperatorWhitespaceSymbol :: OperatorWhitespaceSymbol -> SDoc
- data OperatorWhitespaceOccurrence
  - = OperatorWhitespaceOccurrence_Prefix
  - | OperatorWhitespaceOccurrence_Suffix
  - | OperatorWhitespaceOccurrence_TightInfix

# Documentation

data OperatorWhitespaceSymbol Source #

The operator symbol in the `PsOperatorWhitespaceExtConflictMessage` diagnostic.

Constructors

OperatorWhitespaceSymbol_PrefixPercent |
OperatorWhitespaceSymbol_PrefixDollar |
OperatorWhitespaceSymbol_PrefixDollarDollar |

pprOperatorWhitespaceSymbol :: OperatorWhitespaceSymbol -> SDoc Source #

data OperatorWhitespaceOccurrence Source #

The operator occurrence type in the `PsOperatorWhitespaceMessage` diagnostic.

Constructors

OperatorWhitespaceOccurrence_Prefix |
OperatorWhitespaceOccurrence_Suffix |
OperatorWhitespaceOccurrence_TightInfix |