staticanalysis-0.0.0.2: Reusable static analysis interfaces and modules.

Safe HaskellSafe-Inferred

StaticAnalysis.Annotate

Description

StaticAnalysis

StaticAnalysis/Annotate.hs

Interface for abstract syntax data structures in which every node can be annotated with a data structure that represents static analysis results.

Synopsis

Documentation

class Annotate d whereSource

Interface for abstract syntax data structures that can be annotated.

Methods

annotate :: Analysis a => a -> d a -> d aSource

annotation :: Analysis a => d a -> aSource