Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq AlexPosn Source # | |
Ord AlexPosn Source # | |
Defined in Language.Happy.Lexer | |
Show AlexPosn Source # | |
Generic AlexPosn Source # | |
ToJSON AlexPosn Source # | |
FromJSON AlexPosn Source # | |
Defined in Language.Happy.Lexer | |
type Rep AlexPosn Source # | |
Defined in Language.Happy.Lexer type Rep AlexPosn = D1 ('MetaData "AlexPosn" "Language.Happy.Lexer" "happy-arbitrary-0.0.1-inplace" '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)))) |
alexScanTokens :: ByteString -> Either String [Lexeme Text] Source #
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 #