harmony-0.1.0.2: A web service specification compiler that generates implementation and tests.

Safe HaskellNone
LanguageHaskell2010

Language.Lex

Synopsis

Documentation

tok :: (Posn -> String -> Token) -> Posn -> String -> Token Source

data Token Source

Constructors

PT Posn Tok 
Err Posn 

Instances

data BTree Source

Constructors

N 
B String Tok BTree BTree 

Instances

data Posn Source

Constructors

Pn !Int !Int !Int 

Instances

utf8Encode :: Char -> [Word8] Source

Encode a Haskell String to a list of Word8 values, in UTF8 format.

data AlexAddr Source

Constructors

AlexA# Addr# 

data AlexAcc a user Source

Constructors

AlexAccNone 
AlexAcc a 
AlexAccSkip