sourcemap-0.1.7: Implementation of source maps as proposed by Google and Mozilla.
Safe HaskellSafe-Inferred
LanguageHaskell2010

SourceMap.Types

Description

Types for the source maps.

Synopsis

Documentation

data SourceMapping Source #

The source mapping.

Constructors

SourceMapping 

Instances

Instances details
Show SourceMapping Source # 
Instance details

Defined in SourceMap.Types

data Mapping Source #

A mapping.

Constructors

Mapping 

Instances

Instances details
Show Mapping Source # 
Instance details

Defined in SourceMap.Types

data Pos Source #

A source position.

Constructors

Pos 

Fields

Instances

Instances details
Eq Pos Source # 
Instance details

Defined in SourceMap.Types

Methods

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

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

Ord Pos Source #

Compares the line, then the column.

Instance details

Defined in SourceMap.Types

Methods

compare :: Pos -> Pos -> Ordering #

(<) :: Pos -> Pos -> Bool #

(<=) :: Pos -> Pos -> Bool #

(>) :: Pos -> Pos -> Bool #

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

max :: Pos -> Pos -> Pos #

min :: Pos -> Pos -> Pos #

Show Pos Source # 
Instance details

Defined in SourceMap.Types

Methods

showsPrec :: Int -> Pos -> ShowS #

show :: Pos -> String #

showList :: [Pos] -> ShowS #