Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ReservedChar Source #
Instances
Eq ReservedChar Source # | |
Defined in Trasa.TH.Lexer (==) :: ReservedChar -> ReservedChar -> Bool # (/=) :: ReservedChar -> ReservedChar -> Bool # | |
Ord ReservedChar Source # | |
Defined in Trasa.TH.Lexer compare :: ReservedChar -> ReservedChar -> Ordering # (<) :: ReservedChar -> ReservedChar -> Bool # (<=) :: ReservedChar -> ReservedChar -> Bool # (>) :: ReservedChar -> ReservedChar -> Bool # (>=) :: ReservedChar -> ReservedChar -> Bool # max :: ReservedChar -> ReservedChar -> ReservedChar # min :: ReservedChar -> ReservedChar -> ReservedChar # | |
Show ReservedChar Source # | |
Defined in Trasa.TH.Lexer showsPrec :: Int -> ReservedChar -> ShowS # show :: ReservedChar -> String # showList :: [ReservedChar] -> ShowS # |
data ReservedSymbol Source #
Instances
Eq ReservedSymbol Source # | |
Defined in Trasa.TH.Lexer (==) :: ReservedSymbol -> ReservedSymbol -> Bool # (/=) :: ReservedSymbol -> ReservedSymbol -> Bool # | |
Ord ReservedSymbol Source # | |
Defined in Trasa.TH.Lexer compare :: ReservedSymbol -> ReservedSymbol -> Ordering # (<) :: ReservedSymbol -> ReservedSymbol -> Bool # (<=) :: ReservedSymbol -> ReservedSymbol -> Bool # (>) :: ReservedSymbol -> ReservedSymbol -> Bool # (>=) :: ReservedSymbol -> ReservedSymbol -> Bool # max :: ReservedSymbol -> ReservedSymbol -> ReservedSymbol # min :: ReservedSymbol -> ReservedSymbol -> ReservedSymbol # | |
Show ReservedSymbol Source # | |
Defined in Trasa.TH.Lexer showsPrec :: Int -> ReservedSymbol -> ShowS # show :: ReservedSymbol -> String # showList :: [ReservedSymbol] -> ShowS # |
Instances
Eq Stream Source # | |
Ord Stream Source # | |
Show Stream Source # | |
Semigroup Stream Source # | |
Monoid Stream Source # | |
Stream Stream Source # | |
Defined in Trasa.TH.Lexer tokenToChunk :: Proxy Stream -> Token Stream -> Tokens Stream # tokensToChunk :: Proxy Stream -> [Token Stream] -> Tokens Stream # chunkToTokens :: Proxy Stream -> Tokens Stream -> [Token Stream] # chunkLength :: Proxy Stream -> Tokens Stream -> Int # chunkEmpty :: Proxy Stream -> Tokens Stream -> Bool # take1_ :: Stream -> Maybe (Token Stream, Stream) # takeN_ :: Int -> Stream -> Maybe (Tokens Stream, Stream) # takeWhile_ :: (Token Stream -> Bool) -> Stream -> (Tokens Stream, Stream) # showTokens :: Proxy Stream -> NonEmpty (Token Stream) -> String # reachOffset :: Int -> PosState Stream -> (SourcePos, String, PosState Stream) # reachOffsetNoLine :: Int -> PosState Stream -> (SourcePos, PosState Stream) # | |
type Tokens Stream Source # | |
Defined in Trasa.TH.Lexer | |
type Token Stream Source # | |
Defined in Trasa.TH.Lexer |
Orphan instances
Ord a => ShowErrorComponent (ErrorFancy a) Source # | |
showErrorComponent :: ErrorFancy a -> String # errorComponentLen :: ErrorFancy a -> Int # |