tlex-core-0.4.0.0: A lexer generator
Safe HaskellSafe-Inferred
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
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 #

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, Show e) => 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 #

Eq (Pattern e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Machine.Pattern

Methods

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

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

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

Show 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

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 #

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 #

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 #