Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Sutori.Lexer.Tokens
Description
- data SutToken
- = SutTkEOF
- | BLOCK_OPEN
- | BLOCK_CLOSE
- | PROGRAM_INI
- | PROGRAM_FIN
- | FUNCTION_INI
- | FUNCTION_DECLARE
- | FUNCTION_DEFINE
- | S_andthatswhere
- | S_therewas
- | S_brokea
- | S_broughta
- | S_comesfrom
- | S_dreamsof
- | S_keepsdreamingof
- | S_madea
- | S_madeof
- | S_therewasa
- | S_toldthatstory
- | S_invented
- | S_itsa
- | S_andnothingelse
- | S_wewillskipthis
- | TYPE_INT
- | TYPE_FLOAT
- | TYPE_CHAR
- | TYPE_VOID
- | TYPE_BOOL
- | TYPE_ARRAY
- | TYPE_STRUCT
- | TYPE_UNION
- | TYPE_STRING
- | TYPE_POINTER
- | OPEN_PAREN
- | OPEN_BRACKETS
- | OPEN_BRACES
- | CLOSE_PAREN
- | CLOSE_BRACKETS
- | CLOSE_BRACES
- | ELLIPSIS
- | PERIOD
- | COMMA
- | COLON
- | SEMICOLON
- | QUESTIONMARK
- | EXCLAMATION
- | ARROW_RIGHT
- | PLUS
- | MINUS
- | EQUAL
- | ASSIGNMENT
- | ASTERISK
- | PERCENT
- | SLASH
- | DIV
- | NOT_EQUAL
- | GREATER_EQUAL
- | LESS_EQUAL
- | GREATER
- | LESS
- | POWER
- | AND
- | OR
- | WITH
- | YOUR
- | OF
- | EITHER
- | TO
- | WHEN
- | OTHERWISE
- | TIMES
- | SutTkBool { }
- | SutTkChar { }
- | SutTkFloat {
- tokenFloat :: Float
- | SutTkInt { }
- | SutTkString { }
- | SutTkError {
- tokenError :: String
- | SutTkID { }
- isValid :: SutToken -> Bool
Documentation
Sutori token classes. Their RegEx' are defined in Alex file
Constructors