libcspm-1.0.0: A library providing a parser, type checker and evaluator for CSPM.

Safe HaskellNone

CSPM.Parser.Lexer

Synopsis

Documentation

data AlexAcc a user Source

type AlexAccPred user = user -> AlexInput -> Int -> AlexInput -> BoolSource

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

alexPrevCharIs :: Char -> t -> AlexInput -> t1 -> t2 -> BoolSource

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

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

lstrip :: String -> StringSource

Same as strip, but applies only to the left side of the string.

rstrip :: String -> StringSource

Same as strip, but applies only to the right side of the string.

data AlexAddr Source

Constructors

AlexA# Addr#