clafer-0.3.7: clafer compiles Clafer models to other formats, such as Alloy, XML, HTML, Dot.

Safe HaskellNone

Language.Clafer.Intermediate.StringAnalyzer

Synopsis

Documentation

astrModule :: IModule -> (IModule, Map Int String)Source

Convert all strings into ints for analysis | Return an inverse map from ints back to strings

astrClafer :: MonadState (Map String Int) m => IClafer -> m IClaferSource

astrElement :: MonadState (Map String Int) m => IElement -> m IElementSource

astrPExp :: MonadState (Map String Int) m => PExp -> m PExpSource

astrIExp :: MonadState (Map String Int) m => IExp -> m IExpSource