This module defines the Token needed to scan an embedded
SQL Statement. In Addition it defines a ToString
-method
for all token.
The supported datatypes, functions, operator etc. are based on
the CDBI-Interface.
tokentoString
:: Token -> String
|
Constructors:
Constant
:: ConstVal -> Token
Ident
:: String -> Token
EmbedExp
:: String -> Token
KW_Select
:: Token
KW_From
:: Token
KW_Where
:: Token
KW_Order
:: Token
KW_Group
:: Token
KW_By
:: Token
KW_Having
:: Token
KW_Insert
:: Token
KW_Into
:: Token
KW_Values
:: Token
KW_Update
:: Token
KW_Set
:: Token
KW_Delete
:: Token
KW_Transaction
:: Token
KW_Inner
:: Token
KW_Cross
:: Token
KW_Join
:: Token
KW_On
:: Token
KW_Satisfies
:: Token
KW_As
:: Token
KW_Distinct
:: Token
KW_All
:: Token
KW_Case
:: Token
KW_When
:: Token
KW_Then
:: Token
KW_Else
:: Token
KW_End
:: Token
KW_Asc
:: Token
KW_Desc
:: Token
KW_Limit
:: Token
KW_Exists
:: Token
KW_Not
:: Token
KW_Commit
:: Token
KW_Rollback
:: Token
KW_Begin
:: Token
KW_Table
:: Token
Fun
:: Func -> Token
BinOp
:: BinOperator -> Token
LogOp
:: LogOperator -> Token
SetOp
:: SetOperator -> Token
Is
:: Token
Between
:: Token
In
:: Token
LParen
:: Token
RParen
:: Token
Comma
:: Token
Semi
:: Token
Stop
:: Token
Asterix
:: Token
Unexpected
:: Char -> Token
Constructors:
NumInt
:: Int -> ConstVal
NumFloat
:: Float -> ConstVal
Boolean
:: Bool -> ConstVal
Date
:: CalendarTime -> ConstVal
VarStr
:: String -> ConstVal
VarChar
:: Char -> ConstVal
Null
:: ConstVal
Constructors:
Sum
:: Func
Avg
:: Func
Min
:: Func
Max
:: Func
Count
:: Func
Constructors:
Lth
:: BinOperator
Gth
:: BinOperator
Lte
:: BinOperator
Gte
:: BinOperator
Equal
:: BinOperator
Uneq
:: BinOperator
Like
:: BinOperator
Constructors:
And
:: LogOperator
Or
:: LogOperator
Constructors:
Union
:: SetOperator
Intersect
:: SetOperator
Except
:: SetOperator
|