Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data LexerState Source #
Instances
Eq LexerState Source # | |
Defined in Sugar.Lexer (==) :: LexerState -> LexerState -> Bool # (/=) :: LexerState -> LexerState -> Bool # | |
Show LexerState Source # | |
Defined in Sugar.Lexer showsPrec :: Int -> LexerState -> ShowS # show :: LexerState -> String # showList :: [LexerState] -> ShowS # |
type LexemeStep = (SourceLocation, Lexeme) Source #
data SourceLocation Source #
Instances
Eq SourceLocation Source # | |
Defined in Sugar.Lexer (==) :: SourceLocation -> SourceLocation -> Bool # (/=) :: SourceLocation -> SourceLocation -> Bool # | |
Show SourceLocation Source # | |
Defined in Sugar.Lexer showsPrec :: Int -> SourceLocation -> ShowS # show :: SourceLocation -> String # showList :: [SourceLocation] -> ShowS # |
sugarLexerState :: String -> LexerState Source #