shimmer-0.1.3.3: The Reflective Lambda Machine

Safe HaskellSafe
LanguageHaskell98

SMR.Source.Lexer

Synopsis

Documentation

lexTokens :: Location -> [Char] -> ([Located Token], Location, [Char]) Source #

Lex a sequence of tokens.

data Located a Source #

A thing located at the given range in a source file.

Constructors

LL Location Location a 
Instances
Show a => Show (Located a) Source # 
Instance details

Defined in SMR.Data.Located

Methods

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

show :: Located a -> String #

showList :: [Located a] -> ShowS #

data Location Source #

Location in a source file.

Constructors

L Int Int 
Instances
Show Location Source # 
Instance details

Defined in SMR.Data.Located