| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
LLVM.Diagnostic
Description
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?
Constructors
| ErrorKind | |
| WarningKind | |
| NoteKind |
Instances
data Diagnostic Source #
A Diagnostic described a problem during parsing of LLVM IR
Constructors
| Diagnostic | |
Fields
| |
Instances
| Read Diagnostic Source # | |
Defined in LLVM.Diagnostic Methods readsPrec :: Int -> ReadS Diagnostic # readList :: ReadS [Diagnostic] # readPrec :: ReadPrec Diagnostic # readListPrec :: ReadPrec [Diagnostic] # | |
| Show Diagnostic Source # | |
Defined in LLVM.Diagnostic Methods showsPrec :: Int -> Diagnostic -> ShowS # show :: Diagnostic -> String # showList :: [Diagnostic] -> ShowS # | |
| Eq Diagnostic Source # | |
Defined in LLVM.Diagnostic | |
| Ord Diagnostic Source # | |
Defined in LLVM.Diagnostic Methods compare :: Diagnostic -> Diagnostic -> Ordering # (<) :: Diagnostic -> Diagnostic -> Bool # (<=) :: Diagnostic -> Diagnostic -> Bool # (>) :: Diagnostic -> Diagnostic -> Bool # (>=) :: Diagnostic -> Diagnostic -> Bool # max :: Diagnostic -> Diagnostic -> Diagnostic # min :: Diagnostic -> Diagnostic -> Diagnostic # | |
diagnosticDisplay :: Diagnostic -> String Source #
Convert a Diagnostic to a printable form.