uulib-0.9.23: Haskell Utrecht Tools Library

Safe HaskellSafe
LanguageHaskell98

UU.Scanner.Position

Documentation

type Line = Int Source #

class Position p where Source #

Minimal complete definition

line, column, file

Methods

line :: p -> Line Source #

column :: p -> Column Source #

file :: p -> Filename Source #

advl :: Line -> Pos -> Pos Source #

adv :: Pos -> Char -> Pos Source #

updPos' :: Char -> Pos -> (Pos -> a) -> a Source #

advc' :: Int -> Pos -> (Pos -> a) -> a Source #

tab' :: Pos -> (Pos -> a) -> a Source #

newl' :: Pos -> (Pos -> a) -> a Source #