uulib-0.9.24: Haskell Utrecht Tools Library

Safe Haskell | Safe
Language | Haskell98

UU.Scanner.Token

# Documentation

type Token = GenToken String EnumValToken String Source #

data EnumValToken Source #

Constructors

TkVarid |
TkConid |
TkString |
TkChar |
TkInteger8 |
TkInteger10 |
TkInteger16 |
TkFraction |
TkTextnm |
TkTextln |
TkOp |
TkConOp |
TkError |

#### Instances

Instances details

Eq EnumValToken Source # |
Instance details Defined in UU.Scanner.Token Methods (==) :: EnumValToken -> EnumValToken -> Bool (/=) :: EnumValToken -> EnumValToken -> Bool
Ord EnumValToken Source # |
Instance details Defined in UU.Scanner.Token Methods compare :: EnumValToken -> EnumValToken -> Ordering (<) :: EnumValToken -> EnumValToken -> Bool (<=) :: EnumValToken -> EnumValToken -> Bool (>) :: EnumValToken -> EnumValToken -> Bool (>=) :: EnumValToken -> EnumValToken -> Bool max :: EnumValToken -> EnumValToken -> EnumValToken min :: EnumValToken -> EnumValToken -> EnumValToken
Show EnumValToken |
Instance details Defined in UU.Scanner.TokenShow Methods showsPrec :: Int -> EnumValToken -> ShowS show :: EnumValToken -> String # showList :: [EnumValToken] -> ShowS
Show Token |
Instance details Defined in UU.Scanner.TokenShow Methods showsPrec :: Int -> Token -> ShowS show :: Token -> String # showList :: [Token] -> ShowS

reserved :: String -> Pos -> Token Source #

valueToken :: EnumValToken -> String -> Pos -> Token Source #

errToken :: String -> Pos -> Token Source #