llvm-hs-6.2.0: General purpose LLVM bindings

Safe HaskellSafe
LanguageHaskell2010

LLVM.Diagnostic

Description

Diagnostics describe parse errors

Synopsis

Documentation

data DiagnosticKind Source #

What kind of problem does a diagnostic describe?

Instances
Eq DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Data DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DiagnosticKind -> c DiagnosticKind #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DiagnosticKind #

toConstr :: DiagnosticKind -> Constr #

dataTypeOf :: DiagnosticKind -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DiagnosticKind) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DiagnosticKind) #

gmapT :: (forall b. Data b => b -> b) -> DiagnosticKind -> DiagnosticKind #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DiagnosticKind -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DiagnosticKind -> r #

gmapQ :: (forall d. Data d => d -> u) -> DiagnosticKind -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DiagnosticKind -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DiagnosticKind -> m DiagnosticKind #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DiagnosticKind -> m DiagnosticKind #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DiagnosticKind -> m DiagnosticKind #

Ord DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Read DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Show DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Generic DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

Associated Types

type Rep DiagnosticKind :: * -> * #

Monad m => DecodeM m DiagnosticKind DiagnosticKind Source # 
Instance details

Defined in LLVM.Internal.Diagnostic

Monad m => EncodeM m DiagnosticKind DiagnosticKind Source # 
Instance details

Defined in LLVM.Internal.Diagnostic

type Rep DiagnosticKind Source # 
Instance details

Defined in LLVM.Diagnostic

type Rep DiagnosticKind = D1 (MetaData "DiagnosticKind" "LLVM.Diagnostic" "llvm-hs-6.2.0-5nzXx6EeZOxK4tiIOeKBGx" False) (C1 (MetaCons "ErrorKind" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "WarningKind" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "NoteKind" PrefixI False) (U1 :: * -> *)))

diagnosticDisplay :: Diagnostic -> String Source #

Convert a Diagnostic to a printable form.