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 #
(<$) :: a -> LAPEG start varDoc altDoc b -> LAPEG start varDoc altDoc a #
(==) :: LAPEG start varDoc altDoc a -> LAPEG start varDoc altDoc a -> Bool #
(/=) :: LAPEG start varDoc altDoc a -> LAPEG start varDoc altDoc a -> Bool #
showsPrec :: Int -> LAPEG start varDoc altDoc a -> ShowS #
show :: LAPEG start varDoc altDoc a -> String #
showList :: [LAPEG 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 #
data Rule Source #
(==) :: Rule -> Rule -> Bool #
(/=) :: Rule -> Rule -> Bool #
showsPrec :: Int -> Rule -> ShowS #
show :: Rule -> String #
showList :: [Rule] -> 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 #
newtype Position Source #
(==) :: Position -> Position -> Bool #
(/=) :: Position -> Position -> Bool #
showsPrec :: Int -> Position -> ShowS #
show :: Position -> String #
showList :: [Position] -> ShowS #
hashWithSalt :: Int -> Position -> Int #
hash :: Position -> Int #
data HeadRange Source #
(==) :: HeadRange -> HeadRange -> Bool #
(/=) :: HeadRange -> HeadRange -> Bool #
showsPrec :: Int -> HeadRange -> ShowS #
show :: HeadRange -> String #
showList :: [HeadRange] -> ShowS #
(<>) :: HeadRange -> HeadRange -> HeadRange #
sconcat :: NonEmpty HeadRange -> HeadRange #
stimes :: Integral b => b -> HeadRange -> HeadRange #
mempty :: HeadRange #
mappend :: HeadRange -> HeadRange -> HeadRange #
mconcat :: [HeadRange] -> HeadRange #
data Unit Source #
(==) :: Unit -> Unit -> Bool #
(/=) :: Unit -> Unit -> Bool #
showsPrec :: Int -> Unit -> ShowS #
show :: Unit -> String #
showList :: [Unit] -> ShowS #
type Terminal = Int Source #