purescript-0.11.7: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.AST.SourcePos

Description

Source position information

Synopsis

Documentation

type SourceAnn = (SourceSpan, [Comment]) Source #

Source annotation - position information and comments.

data SourcePos Source #

Source position information

Constructors

SourcePos 

Fields

Instances

Eq SourcePos Source # 
Ord SourcePos Source # 
Show SourcePos Source # 
Generic SourcePos Source # 

Associated Types

type Rep SourcePos :: * -> * #

FromJSON SourcePos Source # 
ToJSON SourcePos Source # 
NFData SourcePos Source # 

Methods

rnf :: SourcePos -> () #

type Rep SourcePos Source # 
type Rep SourcePos = D1 (MetaData "SourcePos" "Language.PureScript.AST.SourcePos" "purescript-0.11.7-LYkkdaNPe76o3Ss2KvZX" False) (C1 (MetaCons "SourcePos" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "sourcePosLine") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "sourcePosColumn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))

data SourceSpan Source #

Constructors

SourceSpan 

Fields

Instances

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

Associated Types

type Rep SourceSpan :: * -> * #

FromJSON SourceSpan Source # 
ToJSON SourceSpan Source # 
NFData SourceSpan Source # 

Methods

rnf :: SourceSpan -> () #

type Rep SourceSpan Source # 
type Rep SourceSpan = D1 (MetaData "SourceSpan" "Language.PureScript.AST.SourcePos" "purescript-0.11.7-LYkkdaNPe76o3Ss2KvZX" 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)))))