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

Data.SARIF.Location

Description

Provides types used to refer to different sorts of locations, such as files, as well as parts of files.

Synopsis

Documentation

newtype Location Source #

Represents locations.

Constructors

MkLocation 

Fields

Instances

Instances details
FromJSON Location Source # 
Instance details

Defined in Data.SARIF.Location

ToJSON Location Source # 
Instance details

Defined in Data.SARIF.Location

Show Location Source # 
Instance details

Defined in Data.SARIF.Location

Eq Location Source # 
Instance details

Defined in Data.SARIF.Location

data Region Source #

Represents regions of code with a start and an end.

Constructors

MkRegion 

Fields

Instances

Instances details
FromJSON Region Source # 
Instance details

Defined in Data.SARIF.Location

ToJSON Region Source # 
Instance details

Defined in Data.SARIF.Location

Show Region Source # 
Instance details

Defined in Data.SARIF.Location

Eq Region Source # 
Instance details

Defined in Data.SARIF.Location

Methods

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

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