uulib-0.9.8: Haskell Utrecht Tools Library

UU.Scanner.Position

Documentation

class Position p whereSource

Methods

line :: p -> LineSource

column :: p -> ColumnSource

file :: p -> FilenameSource

Instances

updPos' :: Char -> Pos -> (Pos -> a) -> aSource

advc' :: Int -> Pos -> (Pos -> a) -> aSource

tab' :: Pos -> (Pos -> a) -> aSource

newl' :: Pos -> (Pos -> a) -> aSource