ddc-base-0.4.1.3: Disciplined Disciple Compiler common utilities.

Safe HaskellNone

DDC.Data.SourcePos

Synopsis

Documentation

data SourcePos Source

A position in a source file.

If there is no file path then we assume that the input has been read from an interactive session and display ''<interactive>'' when pretty printing.

Constructors

SourcePos 

Fields

sourcePosSource :: String
 
sourcePosLine :: Int
 
sourcePosColumn :: Int
 

Instances