Jikka-5.0.11.1: A transpiler from Python to C++ for competitive programming
Copyright(c) Kimiyuki Onaka 2020
LicenseApache License 2.0
Maintainerkimiyuki95@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Jikka.Python.Parse.Token

Description

 
Synopsis

Documentation

data CmpOp Source #

Instances

Instances details
Eq CmpOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

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

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

Ord CmpOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

compare :: CmpOp -> CmpOp -> Ordering #

(<) :: CmpOp -> CmpOp -> Bool #

(<=) :: CmpOp -> CmpOp -> Bool #

(>) :: CmpOp -> CmpOp -> Bool #

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

max :: CmpOp -> CmpOp -> CmpOp #

min :: CmpOp -> CmpOp -> CmpOp #

Read CmpOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Show CmpOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

showsPrec :: Int -> CmpOp -> ShowS #

show :: CmpOp -> String #

showList :: [CmpOp] -> ShowS #

data AugOp Source #

Instances

Instances details
Eq AugOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

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

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

Ord AugOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

compare :: AugOp -> AugOp -> Ordering #

(<) :: AugOp -> AugOp -> Bool #

(<=) :: AugOp -> AugOp -> Bool #

(>) :: AugOp -> AugOp -> Bool #

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

max :: AugOp -> AugOp -> AugOp #

min :: AugOp -> AugOp -> AugOp #

Read AugOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Show AugOp Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

showsPrec :: Int -> AugOp -> ShowS #

show :: AugOp -> String #

showList :: [AugOp] -> ShowS #

data Token Source #

We don't have to classify tokens in detail, but it's convenient for testing and debugging.

Instances

Instances details
Eq Token Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

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

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

Ord Token Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

compare :: Token -> Token -> Ordering #

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

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

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

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

max :: Token -> Token -> Token #

min :: Token -> Token -> Token #

Read Token Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Show Token Source # 
Instance details

Defined in Jikka.Python.Parse.Token

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #