camfort-1.1.0: CamFort - Cambridge Fortran infrastructure
Safe HaskellNone
LanguageHaskell2010

Camfort.Specification.Hoare.Annotation

Description

Fortran AST annotations used for Hoare logic checking.

Synopsis

Documentation

type HA = Analysis (HoareAnnotation A) Source #

Annotations meant to appear on the main annotated program's AST.

type InnerHA = Analysis A Source #

Annotations meant to appear on the AST inside those Fortran expressions that have been parsed from inside logical expression annotations.

data HoareAnnotation a Source #

Constructors

HoareAnnotation 

Fields

Instances

Instances details
Linkable HA Source # 
Instance details

Defined in Camfort.Specification.Hoare.Annotation

Methods

link :: HA -> Block HA -> HA Source #

linkPU :: HA -> ProgramUnit HA -> HA Source #

ASTEmbeddable HA (SpecOrDecl InnerHA) Source # 
Instance details

Defined in Camfort.Specification.Hoare.Annotation

Eq a => Eq (HoareAnnotation a) Source # 
Instance details

Defined in Camfort.Specification.Hoare.Annotation

Data a => Data (HoareAnnotation a) Source # 
Instance details

Defined in Camfort.Specification.Hoare.Annotation

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HoareAnnotation a -> c (HoareAnnotation a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (HoareAnnotation a) #

toConstr :: HoareAnnotation a -> Constr #

dataTypeOf :: HoareAnnotation a -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (HoareAnnotation a)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (HoareAnnotation a)) #

gmapT :: (forall b. Data b => b -> b) -> HoareAnnotation a -> HoareAnnotation a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HoareAnnotation a -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HoareAnnotation a -> r #

gmapQ :: (forall d. Data d => d -> u) -> HoareAnnotation a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HoareAnnotation a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HoareAnnotation a -> m (HoareAnnotation a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HoareAnnotation a -> m (HoareAnnotation a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HoareAnnotation a -> m (HoareAnnotation a) #

Show a => Show (HoareAnnotation a) Source # 
Instance details

Defined in Camfort.Specification.Hoare.Annotation

hoarePUName :: forall a. Lens' (HoareAnnotation a) (Maybe ProgramUnitName) Source #