haskell-language-server-2.7.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Plugin.Conversion

Synopsis

Documentation

alternateFormat :: Literal -> [AlternateFormat] Source #

Generate alternate formats for a single Literal based on FormatType's given.

hexRegex :: Text Source #

Regex to match a Haskell Hex Literal

hexFloatRegex :: Text Source #

Regex to match a Haskell Hex Float Literal

binaryRegex :: Text Source #

Regex to match a Haskell Binary Literal

octalRegex :: Text Source #

Regex to match a Haskell Octal Literal

decimalRegex :: Text Source #

Regex to match a Haskell Decimal Literal (no decimal points)

numDecimalRegex :: Text Source #

Regex to match a Haskell Literal with an explicit exponent

matchLineRegex :: Text -> Text Source #

Wraps a Regex with a beginning ("^") and end ("$") token