uulib-0.9.15: Haskell Utrecht Tools Library

Safe HaskellSafe-Inferred

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