uulib-0.9.2: ContentsIndex
UU.Scanner.Position
Documentation
type Line = Int
type Column = Int
type Filename = String
class Position p where
Methods
line :: p -> Line
column :: p -> Column
file :: p -> Filename
show/hide Instances
data Pos
Constructors
Pos !Line !Column Filename
show/hide Instances
initPos :: FilePath -> Pos
noPos :: Pos
advl :: Line -> Pos -> Pos
advc :: Column -> Pos -> Pos
adv :: Pos -> Char -> Pos
updPos :: Char -> Pos -> Pos
tab :: Pos -> Pos
newl :: Pos -> Pos
tabWidth :: Column -> Int
updPos' :: Char -> Pos -> (Pos -> a) -> a
advc' :: Int -> Pos -> (Pos -> a) -> a
tab' :: Pos -> (Pos -> a) -> a
newl' :: Pos -> (Pos -> a) -> a
Produced by Haddock version 0.8