Hets - the Heterogeneous Tool Set

Copyright(c) Stef Joosten, Christian Maeder DFKI GmbH 2010
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred

Adl.Parse

Description

 

Synopsis

Documentation

lineComment :: CharParser st String

a line comment starts with --. In haskell this may be part of an operator.

skip :: CharParser st ()

pKey :: String -> CharParser st ()

pSym :: String -> CharParser st ()

pParens :: CharParser st a -> CharParser st a

pVarid :: Bool -> CharParser st String

with true argument exclude CASL keywords

pArchitecture :: CharParser st Context

parse contexts but do not require CONTEXT blocks

pContextElement :: Bool -> CharParser st [PatElem]

parse a context element but do not require the PATTERN block

choiceP :: (a -> CharParser st ()) -> [a] -> CharParser st a

choiceS :: Show a => (String -> CharParser st ()) -> [a] -> CharParser st a