Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
annotateComments :: forall a ast. (Data a, Linkable a, ASTEmbeddable a ast) => AnnotationParser ast -> ProgramFile a -> Logger (ProgramFile a) Source #
class ASTEmbeddable a ast where Source #
annotateWithAST :: a -> ast -> a Source #
data AnnotationParseError Source #
type AnnotationParser ast = String -> Either AnnotationParseError ast Source #
failWith :: AnnotationParser ast Source #