tlex-core-0.2.1.0: A lexer generator
Safe HaskellNone
LanguageHaskell2010

Language.Lexer.Tlex.Machine.Pattern

Documentation

data Pattern e Source #

Constructors

Epsilon 
(Pattern e) :^: (Pattern e) 
(Pattern e) :|: (Pattern e) 
Many (Pattern e) 
Range (SymEnumSet e) 

Instances

Instances details
Eq (Pattern e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

(==) :: Pattern e -> Pattern e -> Bool #

(/=) :: Pattern e -> Pattern e -> Bool #

Show (Pattern e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

showsPrec :: Int -> Pattern e -> ShowS #

show :: Pattern e -> String #

showList :: [Pattern e] -> ShowS #

Enum e => Semigroup (Pattern e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

(<>) :: Pattern e -> Pattern e -> Pattern e #

sconcat :: NonEmpty (Pattern e) -> Pattern e #

stimes :: Integral b => b -> Pattern e -> Pattern e #

Enum e => Monoid (Pattern e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

mempty :: Pattern e #

mappend :: Pattern e -> Pattern e -> Pattern e #

mconcat :: [Pattern e] -> Pattern e #

enumsP :: Enum e => [e] -> Pattern e Source #

newtype AcceptPriority Source #

Constructors

AcceptPriority Int 

Instances

Instances details
Enum AcceptPriority Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Eq AcceptPriority Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Ord AcceptPriority Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Show AcceptPriority Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Hashable AcceptPriority Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

data Accept a Source #

Constructors

Accept 

Instances

Instances details
Functor Accept Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

fmap :: (a -> b) -> Accept a -> Accept b #

(<$) :: a -> Accept b -> Accept a #

Eq a => Eq (Accept a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

(==) :: Accept a -> Accept a -> Bool #

(/=) :: Accept a -> Accept a -> Bool #

Show a => Show (Accept a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

showsPrec :: Int -> Accept a -> ShowS #

show :: Accept a -> String #

showList :: [Accept a] -> ShowS #