uulib-0.9.24: Haskell Utrecht Tools Library

Safe HaskellSafe
LanguageHaskell98

UU.Scanner.Position

Documentation

type Line = Int Source #

class Position p where Source #

Methods

line :: p -> Line Source #

column :: p -> Column Source #

file :: p -> Filename Source #

Instances
Position Pos Source # 
Instance details

Defined in UU.Scanner.Position

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 #