Language.Parser.Ptera.Machine.LAPEG
type T = LAPEG Source #
data LAPEG start varDoc altDoc a Source #
Constructors
Fields
Defined in Language.Parser.Ptera.Machine.LAPEG
Methods
fmap :: (a -> b) -> LAPEG start varDoc altDoc a -> LAPEG start varDoc altDoc b Source #
(<$) :: a -> LAPEG start varDoc altDoc b -> LAPEG start varDoc altDoc a Source #
showsPrec :: Int -> LAPEG start varDoc altDoc a -> ShowS Source #
show :: LAPEG start varDoc altDoc a -> String Source #
showList :: [LAPEG start varDoc altDoc a] -> ShowS Source #
(==) :: LAPEG start varDoc altDoc a -> LAPEG start varDoc altDoc a -> Bool Source #
(/=) :: LAPEG start varDoc altDoc a -> LAPEG 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 #
data Rule Source #
showsPrec :: Int -> Rule -> ShowS Source #
show :: Rule -> String Source #
showList :: [Rule] -> ShowS Source #
(==) :: Rule -> Rule -> Bool Source #
(/=) :: Rule -> Rule -> 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 #
newtype Position Source #
showsPrec :: Int -> Position -> ShowS Source #
show :: Position -> String Source #
showList :: [Position] -> ShowS Source #
(==) :: Position -> Position -> Bool Source #
(/=) :: Position -> Position -> Bool Source #
hashWithSalt :: Int -> Position -> Int Source #
hash :: Position -> Int Source #
data HeadRange Source #
mempty :: HeadRange Source #
mappend :: HeadRange -> HeadRange -> HeadRange Source #
mconcat :: [HeadRange] -> HeadRange Source #
(<>) :: HeadRange -> HeadRange -> HeadRange Source #
sconcat :: NonEmpty HeadRange -> HeadRange Source #
stimes :: Integral b => b -> HeadRange -> HeadRange Source #
showsPrec :: Int -> HeadRange -> ShowS Source #
show :: HeadRange -> String Source #
showList :: [HeadRange] -> ShowS Source #
(==) :: HeadRange -> HeadRange -> Bool Source #
(/=) :: HeadRange -> HeadRange -> 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 #