{-# LANGUAGE OverloadedStrings #-}
module Htcc.CRules.LexicalElements (
charOps,
strOps2,
strOps3
) where
import qualified Data.Text as T
{-# INLINE charOps #-}
charOps :: String
charOps :: String
charOps = "+-*/()<>=;{},&|^%!~[].?:"
{-# INLINE strOps2 #-}
strOps2 :: [T.Text]
strOps2 :: [Text]
strOps2 = [
"<=",
">=",
"==",
"!=",
"<<",
">>",
"->",
"++",
"--",
"+=",
"-=",
"*=",
"/=",
"&&",
"||",
"&=",
"|=",
"^="
]
{-# INLINE strOps3 #-}
strOps3 :: [T.Text]
strOps3 :: [Text]
strOps3 = [
"<<=",
">>="
]