sourcemap-0.1.6: Implementation of source maps as proposed by Google and Mozilla.

Safe HaskellSafe
LanguageHaskell98

SourceMap.Types

Description

Types for the source maps.

Synopsis

Documentation

data SourceMapping #

The source mapping.

Constructors

SourceMapping 

data Mapping #

A mapping.

Constructors

Mapping 

Instances

data Pos #

A source position.

Constructors

Pos 

Fields

Instances

Eq Pos # 

Methods

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

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

Ord Pos #

Compares the line, then the column.

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 # 

Methods

showsPrec :: Int -> Pos -> ShowS #

show :: Pos -> String #

showList :: [Pos] -> ShowS #