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 Source #
(<$) :: a -> PEG start varDoc altDoc b -> PEG start varDoc altDoc a Source #
showsPrec :: Int -> PEG start varDoc altDoc a -> ShowS Source #
show :: PEG start varDoc altDoc a -> String Source #
showList :: [PEG start varDoc altDoc a] -> ShowS Source #
(==) :: PEG start varDoc altDoc a -> PEG start varDoc altDoc a -> Bool Source #
(/=) :: PEG start varDoc altDoc a -> PEG start varDoc altDoc a -> Bool Source #
newtype VarNum Source #
showsPrec :: Int -> VarNum -> ShowS Source #
show :: VarNum -> String Source #
showList :: [VarNum] -> ShowS Source #
(==) :: VarNum -> VarNum -> Bool Source #
(/=) :: VarNum -> VarNum -> Bool Source #
hashWithSalt :: Int -> VarNum -> Int Source #
hash :: VarNum -> Int Source #
newtype AltNum Source #
showsPrec :: Int -> AltNum -> ShowS Source #
show :: AltNum -> String Source #
showList :: [AltNum] -> ShowS Source #
(==) :: AltNum -> AltNum -> Bool Source #
(/=) :: AltNum -> AltNum -> Bool Source #
hashWithSalt :: Int -> AltNum -> Int Source #
hash :: AltNum -> Int Source #
newtype Rule Source #
showsPrec :: Int -> Rule -> ShowS Source #
show :: Rule -> String Source #
showList :: [Rule] -> ShowS Source #
(==) :: Rule -> Rule -> Bool Source #
(/=) :: Rule -> Rule -> Bool Source #
newtype Var varDoc Source #
fmap :: (a -> b) -> Var a -> Var b Source #
(<$) :: a -> Var b -> Var a Source #
showsPrec :: Int -> Var varDoc -> ShowS Source #
show :: Var varDoc -> String Source #
showList :: [Var varDoc] -> ShowS Source #
(==) :: Var varDoc -> Var varDoc -> Bool Source #
(/=) :: Var varDoc -> Var varDoc -> Bool Source #
data Alt altDoc a Source #
fmap :: (a -> b) -> Alt altDoc a -> Alt altDoc b Source #
(<$) :: a -> Alt altDoc b -> Alt altDoc a Source #
showsPrec :: Int -> Alt altDoc a -> ShowS Source #
show :: Alt altDoc a -> String Source #
showList :: [Alt altDoc a] -> ShowS Source #
(==) :: Alt altDoc a -> Alt altDoc a -> Bool Source #
(/=) :: Alt altDoc a -> Alt altDoc a -> Bool Source #
data AltKind Source #
showsPrec :: Int -> AltKind -> ShowS Source #
show :: AltKind -> String Source #
showList :: [AltKind] -> ShowS Source #
(==) :: AltKind -> AltKind -> Bool Source #
(/=) :: AltKind -> AltKind -> Bool Source #
data Unit Source #
showsPrec :: Int -> Unit -> ShowS Source #
show :: Unit -> String Source #
showList :: [Unit] -> ShowS Source #
(==) :: Unit -> Unit -> Bool Source #
(/=) :: Unit -> Unit -> Bool Source #
type Terminal = Int Source #