BNFC-2.8.2: A compiler front-end generator.
Parsing.TestProgram
type Verbosity = Int Source #
putStrV :: Verbosity -> String -> IO () Source #
mainTest :: forall category token. (RingP [(category, Any)], Eq category) => ((category, Any) -> String) -> (Bool -> token -> Pair [(category, Any)]) -> (String -> [token]) -> (token -> (Int, Int)) -> (category -> String) -> (category -> [category]) -> IO () Source #
pairs :: [a] -> [(a, a)] Source #
resSz :: Num a => (a, b, a) -> a Source #