Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Diagnostics describe parse errors
Synopsis
- data DiagnosticKind
- data Diagnostic = Diagnostic {}
- diagnosticDisplay :: Diagnostic -> String
Documentation
data DiagnosticKind Source #
What kind of problem does a diagnostic describe?
Instances
data Diagnostic Source #
A Diagnostic
described a problem during parsing of LLVM IR
Diagnostic | |
|
Instances
Eq Diagnostic Source # | |
Defined in LLVM.Diagnostic (==) :: Diagnostic -> Diagnostic -> Bool # (/=) :: Diagnostic -> Diagnostic -> Bool # | |
Ord Diagnostic Source # | |
Defined in LLVM.Diagnostic compare :: Diagnostic -> Diagnostic -> Ordering # (<) :: Diagnostic -> Diagnostic -> Bool # (<=) :: Diagnostic -> Diagnostic -> Bool # (>) :: Diagnostic -> Diagnostic -> Bool # (>=) :: Diagnostic -> Diagnostic -> Bool # max :: Diagnostic -> Diagnostic -> Diagnostic # min :: Diagnostic -> Diagnostic -> Diagnostic # | |
Read Diagnostic Source # | |
Defined in LLVM.Diagnostic readsPrec :: Int -> ReadS Diagnostic # readList :: ReadS [Diagnostic] # readPrec :: ReadPrec Diagnostic # readListPrec :: ReadPrec [Diagnostic] # | |
Show Diagnostic Source # | |
Defined in LLVM.Diagnostic showsPrec :: Int -> Diagnostic -> ShowS # show :: Diagnostic -> String # showList :: [Diagnostic] -> ShowS # |
diagnosticDisplay :: Diagnostic -> String Source #
Convert a Diagnostic
to a printable form.