sarif-0.1: SARIF implementation for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SARIF.Level

Description

Provides the Level type, which enumerates SARIF result levels. See https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html#_Ref493511208

Synopsis

Documentation

data Level Source #

A Level value represents the severity of a result.

Constructors

None

The concept of “severity” does not apply.

Note

A minor problem or an opportunity to improve the code was found.

Warning

A problem was found.

Error

A serious problem was found.

Instances

Instances details
FromJSON Level Source # 
Instance details

Defined in Data.SARIF.Level

ToJSON Level Source # 
Instance details

Defined in Data.SARIF.Level

Show Level Source # 
Instance details

Defined in Data.SARIF.Level

Methods

showsPrec :: Int -> Level -> ShowS #

show :: Level -> String #

showList :: [Level] -> ShowS #

Eq Level Source # 
Instance details

Defined in Data.SARIF.Level

Methods

(==) :: Level -> Level -> Bool #

(/=) :: Level -> Level -> Bool #