YhcSource codeContentsIndex
Parse.Lexical
Synopsis
lexical :: Bool -> [Char] -> [Char] -> [PosToken]
lexicalCont :: PosToken -> Either String [PosToken]
data Lex
type LexState = [Int]
type PosToken = (Pos, Lex, LexState, [PosTokenPre])
type PosTokenPre = (PackedString, Pos, Int, Lex)
data Pos
Documentation
lexical :: Bool -> [Char] -> [Char] -> [PosToken]
lexicalCont :: PosToken -> Either String [PosToken]
data Lex
show/hide Instances
Eq Lex
Show Lex
type LexState = [Int]
type PosToken = (Pos, Lex, LexState, [PosTokenPre])
type PosTokenPre = (PackedString, Pos, Int, Lex)
data Pos
abstract type for storing the position of a syntactic construct in a file, that is, line and column number of both start and end positions.
show/hide Instances
Eq Pos
Ord Pos
Show Pos
Produced by Haddock version 0.8