Language.Parser.Ptera.Machine.PEG
type T = PEG Source #
data PEG start varDoc altDoc a Source #
Constructors
Fields
Defined in Language.Parser.Ptera.Machine.PEG
Methods
fmap :: (a -> b) -> PEG start varDoc altDoc a -> PEG start varDoc altDoc b #
(<$) :: a -> PEG start varDoc altDoc b -> PEG start varDoc altDoc a #
(==) :: PEG start varDoc altDoc a -> PEG start varDoc altDoc a -> Bool #
(/=) :: PEG start varDoc altDoc a -> PEG start varDoc altDoc a -> Bool #
showsPrec :: Int -> PEG start varDoc altDoc a -> ShowS #
show :: PEG start varDoc altDoc a -> String #
showList :: [PEG start varDoc altDoc a] -> ShowS #
newtype VarNum Source #
(==) :: VarNum -> VarNum -> Bool #
(/=) :: VarNum -> VarNum -> Bool #
showsPrec :: Int -> VarNum -> ShowS #
show :: VarNum -> String #
showList :: [VarNum] -> ShowS #
hashWithSalt :: Int -> VarNum -> Int #
hash :: VarNum -> Int #
newtype AltNum Source #
(==) :: AltNum -> AltNum -> Bool #
(/=) :: AltNum -> AltNum -> Bool #
showsPrec :: Int -> AltNum -> ShowS #
show :: AltNum -> String #
showList :: [AltNum] -> ShowS #
hashWithSalt :: Int -> AltNum -> Int #
hash :: AltNum -> Int #
newtype Rule Source #
(==) :: Rule -> Rule -> Bool #
(/=) :: Rule -> Rule -> Bool #
showsPrec :: Int -> Rule -> ShowS #
show :: Rule -> String #
showList :: [Rule] -> ShowS #
newtype Var varDoc Source #
fmap :: (a -> b) -> Var a -> Var b #
(<$) :: a -> Var b -> Var a #
(==) :: Var varDoc -> Var varDoc -> Bool #
(/=) :: Var varDoc -> Var varDoc -> Bool #
showsPrec :: Int -> Var varDoc -> ShowS #
show :: Var varDoc -> String #
showList :: [Var varDoc] -> ShowS #
data Alt altDoc a Source #
fmap :: (a -> b) -> Alt altDoc a -> Alt altDoc b #
(<$) :: a -> Alt altDoc b -> Alt altDoc a #
(==) :: Alt altDoc a -> Alt altDoc a -> Bool #
(/=) :: Alt altDoc a -> Alt altDoc a -> Bool #
showsPrec :: Int -> Alt altDoc a -> ShowS #
show :: Alt altDoc a -> String #
showList :: [Alt altDoc a] -> ShowS #
data AltKind Source #
(==) :: AltKind -> AltKind -> Bool #
(/=) :: AltKind -> AltKind -> Bool #
showsPrec :: Int -> AltKind -> ShowS #
show :: AltKind -> String #
showList :: [AltKind] -> ShowS #
data Unit Source #
(==) :: Unit -> Unit -> Bool #
(/=) :: Unit -> Unit -> Bool #
showsPrec :: Int -> Unit -> ShowS #
show :: Unit -> String #
showList :: [Unit] -> ShowS #
type Terminal = Int Source #