purescript-0.11.6: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.AST.SourcePos

Description

Source position information

Synopsis

Documentation

type SourceAnn = (SourceSpan, [Comment]) #

Source annotation - position information and comments.

data SourcePos #

Source position information

Constructors

SourcePos 

Fields

data SourceSpan #

Constructors

SourceSpan 

Fields

Instances

Eq SourceSpan # 
Ord SourceSpan # 
Show SourceSpan # 
Generic SourceSpan # 

Associated Types

type Rep SourceSpan :: * -> * #

ToJSON SourceSpan # 
FromJSON SourceSpan # 
NFData SourceSpan # 

Methods

rnf :: SourceSpan -> () #

type Rep SourceSpan # 
type Rep SourceSpan = D1 (MetaData "SourceSpan" "Language.PureScript.AST.SourcePos" "purescript-0.11.6-BwTJ6oky0xB1SykWbOQpC1" False) (C1 (MetaCons "SourceSpan" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "spanName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) ((:*:) (S1 (MetaSel (Just Symbol "spanStart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SourcePos)) (S1 (MetaSel (Just Symbol "spanEnd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SourcePos)))))