hoppy-generator-0.9.0: src/Foreign/Hoppy/Generator/Spec/Base.hs-boot
-- This file is part of Hoppy.
--
-- Copyright 2015-2024 Bryan Gardiner <bog@khumba.net>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
module Foreign.Hoppy.Generator.Spec.Base (
ErrorMsg,
Include,
Reqs,
ExtName,
Identifier,
Constness,
HsImportSet,
) where
import qualified Data.Set as S
type ErrorMsg = String
newtype Include = Include { includeToString :: String }
newtype Reqs = Reqs { reqsIncludes :: S.Set Include }
newtype ExtName = ExtName { fromExtName :: String }
newtype Identifier = Identifier
{ identifierParts :: [IdPart]
}
data IdPart
data Constness
data HsImportSet