|
Language.Preprocessor.Cpphs.Position | Portability | All | Stability | experimental | Maintainer | Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> |
|
|
|
Description |
Simple file position information, with recursive inclusion points.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Source positions contain a filename, line, column, and an
inclusion point, which is itself another source position,
recursively.
| Constructors | | Instances | |
|
|
|
Constructor. Argument is filename.
|
|
|
Increment column number by given quantity.
|
|
|
Increment row number, reset column to 1.
|
|
|
Increment column number, tab stops are every 8 chars.
|
|
|
Increment row number by given quantity.
|
|
|
Update position with a new row, and possible filename.
|
|
|
cpp-style printing of file position
|
|
|
haskell-style printing of file position
|
|
|
Conversion from a cpp-style to haskell-style pragma.
|
|
|
Project the filename.
|
|
|
Project the line number.
|
|
|
Project the directory of the filename.
|
|
Produced by Haddock version 2.4.2 |