Safe Haskell | None |
---|
- initState :: HlState
- alexScanToken :: (AlexState HlState, AlexInput) -> Maybe (Tok Token, (AlexState HlState, AlexInput))
- tokenToStyle :: Token -> StyleName
- tokenToText :: Token -> Maybe String
- type TT = Tok Token
- isComment :: Token -> Bool
- data Token
- = Number
- | VarIdent
- | ConsIdent
- | Reserved !Reserved
- | ReservedOp !ReservedOp
- | CommentLine
- | Skip
- | Unrecognized
- type HlState = Int
- data Reserved
- data ReservedOp
- = Or
- | And
- | BackSlash
- | RightArrow
- | DoubleRightArrow
- | Dot
- | OtherOp