language-fortran-0.2.7: Fortran lexer and parser, language support, and extensions.

Safe HaskellNone
LanguageHaskell98

Language.Fortran.Lexer

Synopsis

Documentation

data AlexAcc a user Source

Constructors

AlexAccNone 
AlexAcc a 
AlexAccSkip 
AlexAccPred a (AlexAccPred user) (AlexAcc a user) 
AlexAccSkipPred (AlexAccPred user) (AlexAcc a user) 

type AlexAccPred user = user -> AlexInput -> Int -> AlexInput -> Bool Source

alexAndPred :: (t -> t1 -> t2 -> t3 -> Bool) -> (t -> t1 -> t2 -> t3 -> Bool) -> t -> t1 -> t2 -> t3 -> Bool Source

alexPrevCharIs :: Char -> t -> AlexInput -> t1 -> t2 -> Bool Source

alexPrevCharMatches :: (Char -> t3) -> t -> AlexInput -> t1 -> t2 -> t3 Source

alexPrevCharIsOneOf :: Array Char e -> t -> AlexInput -> t1 -> t2 -> e Source

cutOut :: [Char] -> Maybe [Char] -> [Char] Source

lexer :: (Token -> P a) -> P a Source

data AlexAddr Source

Constructors

AlexA# Addr# 

utf8Encode :: Char -> [Word8] Source

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