helpa-0.4.5.3: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages

Safe Haskell | None
Language | Haskell2010

HelVM.HelPA.Assemblers.Backend.WSA.Token

# Documentation

showTLByType :: TokenType -> TokenList -> Text #

showTL :: TokenList -> Text #

showTLAsWTL :: TokenList -> Text #

toWTL :: TokenList -> WhiteTokenList #

showTLAsBTL :: TokenList -> Text #

toBTL :: TokenList -> BothTokenList #

type TokenList = [Token] #

data Token #

Constructors

S |
T |
N |
E |
R |

#### Instances

Instances details

Bounded Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

minBound :: Token #

maxBound :: Token #

Enum Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

succ :: Token -> Token #

pred :: Token -> Token #

toEnum :: Int -> Token #

fromEnum :: Token -> Int #

enumFrom :: Token -> [Token] #

enumFromThen :: Token -> Token -> [Token] #

enumFromTo :: Token -> Token -> [Token] #

enumFromThenTo :: Token -> Token -> Token -> [Token] #

Eq Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

(==) :: Token -> Token -> Bool #

(/=) :: Token -> Token -> Bool #

Show Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #

Digitable Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

fromDigit :: (MonadSafe m, Show a, Integral a) => a -> m Token

ToDigit Token # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

toDigit :: (MonadSafe m, Integral a) => Token -> m a

type WhiteTokenList = [WhiteToken] #

newtype WhiteToken #

Constructors

WhiteToken |
Fields

- unWhiteToken :: Token

#### Instances

Instances details

Bounded WhiteToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

minBound :: WhiteToken #

maxBound :: WhiteToken #

Eq WhiteToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

(==) :: WhiteToken -> WhiteToken -> Bool #

(/=) :: WhiteToken -> WhiteToken -> Bool #

Read WhiteToken # | Scanner
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

readsPrec :: Int -> ReadS WhiteToken #

readList :: ReadS [WhiteToken] #

readPrec :: ReadPrec WhiteToken #

readListPrec :: ReadPrec [WhiteToken] #

Show WhiteToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

showsPrec :: Int -> WhiteToken -> ShowS #

show :: WhiteToken -> String #

showList :: [WhiteToken] -> ShowS #

type BothTokenList = [BothToken] #

newtype BothToken #

Constructors

BothToken |
Fields

- unBothToken :: Token

#### Instances

Instances details

Bounded BothToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

minBound :: BothToken #

maxBound :: BothToken #

Eq BothToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

(==) :: BothToken -> BothToken -> Bool #

(/=) :: BothToken -> BothToken -> Bool #

Show BothToken # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Token

Methods

showsPrec :: Int -> BothToken -> ShowS #

show :: BothToken -> String #

showList :: [BothToken] -> ShowS #