Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq AlexPosn Source # | |
Show AlexPosn Source # | |
Generic AlexPosn Source # | |
ToJSON AlexPosn Source # | |
Defined in Tokstyle.Cimple.Lexer | |
FromJSON AlexPosn Source # | |
type Rep AlexPosn Source # | |
Defined in Tokstyle.Cimple.Lexer type Rep AlexPosn = D1 (MetaData "AlexPosn" "Tokstyle.Cimple.Lexer" "tokstyle-0.0.5-3t4QCZhHJCmBeRl7IcprH4" False) (C1 (MetaCons "AlexPn" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) |
L AlexPosn LexemeClass text |
Instances
lexemeClass :: Lexeme text -> LexemeClass Source #
lexemePosn :: Lexeme text -> AlexPosn Source #
lexemeText :: Lexeme text -> text Source #
lexemeLine :: Lexeme text -> Int Source #
mkL :: Applicative m => LexemeClass -> AlexInput -> Int -> m (Lexeme String) Source #