Limit exports of Parser

This commit is contained in:
Kirill Andreev 2020-05-08 22:14:09 +04:00
parent 020b3ba334
commit e1a3903e18
No known key found for this signature in database
GPG Key ID: CF7DA79DE4785A47
2 changed files with 22 additions and 2 deletions

View File

@ -513,7 +513,7 @@ method_call :: Parser (Expr ASTInfo)
method_call = do
subtree "projection_call" do
ctor apply'
<*> field "f" projection
<*> inside "f" projection
<*> optional do inside "arguments" arguments
where
apply' r f (Just xs) = Apply r (Ident r f) xs

View File

@ -37,7 +37,27 @@
<*> inside "b" b
-}
module Parser (module Parser, gets, pfGrove) where
module Parser
( Parser
, runParser
, debugParser
, subtree
, anything
, token
, ASTInfo
, ctor
, inside
, many
, some
, (<|>)
, optional
, select
, dump
, stubbed
, Stubbed (stub)
, Error
, HasComments (getComments)
) where
import Control.Monad.State
import Control.Monad.Writer