purescript-0.13.0: 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 # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Ord SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Show SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Generic SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Associated Types

type Rep SourcePos :: Type -> Type #

NFData SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Methods

rnf :: SourcePos -> () #

ToJSON SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

FromJSON SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

type Rep SourcePos Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

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

data SourceSpan Source #

Constructors

SourceSpan 

Fields

Instances
Eq SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Ord SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Show SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Generic SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Associated Types

type Rep SourceSpan :: Type -> Type #

NFData SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

Methods

rnf :: SourceSpan -> () #

ToJSON SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

FromJSON SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

FromJSON (Kind SourceAnn) Source # 
Instance details

Defined in Language.PureScript.Kinds

FromJSON (Constraint SourceAnn) Source # 
Instance details

Defined in Language.PureScript.Types

FromJSON (Type SourceAnn) Source # 
Instance details

Defined in Language.PureScript.Types

type Rep SourceSpan Source # 
Instance details

Defined in Language.PureScript.AST.SourcePos

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