Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Functor t => Functor (AList t) Source # | |
Annotated (AList t) Source # | |
Defined in Language.Fortran.AST getAnnotation :: AList t a -> a Source # setAnnotation :: a -> AList t a -> AList t a Source # modifyAnnotation :: (a -> a) -> AList t a -> AList t a Source # | |
(Eq a, Eq (t a)) => Eq (AList t a) Source # | |
(Typeable t, Data a, Data (t a)) => Data (AList t a) Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AList t a -> c (AList t a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (AList t a) # toConstr :: AList t a -> Constr # dataTypeOf :: AList t a -> DataType # dataCast1 :: Typeable t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (AList t a)) # dataCast2 :: Typeable t0 => (forall d e. (Data d, Data e) => c (t0 d e)) -> Maybe (c (AList t a)) # gmapT :: (forall b. Data b => b -> b) -> AList t a -> AList t a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AList t a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AList t a -> r # gmapQ :: (forall d. Data d => d -> u) -> AList t a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AList t a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AList t a -> m (AList t a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AList t a -> m (AList t a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AList t a -> m (AList t a) # | |
(Show a, Show (t a)) => Show (AList t a) Source # | |
Generic (AList t a) Source # | |
(Out a, Out (t a)) => Out (AList t a) Source # | |
Spanned (AList t a) Source # | |
Pretty (e a) => Pretty (AList e a) Source # | |
Defined in Language.Fortran.PrettyPrint | |
FirstParameter (AList t a) a Source # | |
Defined in Language.Fortran.AST getFirstParameter :: AList t a -> a Source # setFirstParameter :: a -> AList t a -> AList t a Source # | |
SecondParameter (AList t a) SrcSpan Source # | |
Defined in Language.Fortran.AST | |
type Rep (AList t a) Source # | |
Defined in Language.Fortran.AST type Rep (AList t a) = D1 (MetaData "AList" "Language.Fortran.AST" "fortran-src-0.3.0-HYtHVMLWYXtCtJd9jdxIfb" False) (C1 (MetaCons "AList" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SrcSpan) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [t a])))) |
fromReverseList :: Spanned (t ()) => [t ()] -> AList t () Source #
TypeInteger | |
TypeReal | |
TypeDoublePrecision | |
TypeComplex | |
TypeDoubleComplex | |
TypeLogical | |
TypeCharacter (Maybe CharacterLen) (Maybe String) | len and kind, if specified |
TypeCustom String | |
ClassStar | |
ClassCustom String | |
TypeByte |
Instances
data CharacterLen Source #
CharLenStar | specified with a * |
CharLenColon | specified with a : (Fortran2003) FIXME, possibly, with a more robust const-exp: |
CharLenExp | specified with a non-trivial expression |
CharLenInt Int | specified with a constant integer |
Instances
charLenSelector :: Maybe (Selector a) -> (Maybe CharacterLen, Maybe String) Source #
Instances
Selector a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) |
Instances
Instances
Eq MetaInfo Source # | |
Data MetaInfo Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetaInfo -> c MetaInfo # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetaInfo # toConstr :: MetaInfo -> Constr # dataTypeOf :: MetaInfo -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetaInfo) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetaInfo) # gmapT :: (forall b. Data b => b -> b) -> MetaInfo -> MetaInfo # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetaInfo -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetaInfo -> r # gmapQ :: (forall d. Data d => d -> u) -> MetaInfo -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MetaInfo -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetaInfo -> m MetaInfo # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaInfo -> m MetaInfo # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaInfo -> m MetaInfo # | |
Show MetaInfo Source # | |
Generic MetaInfo Source # | |
Out MetaInfo Source # | |
type Rep MetaInfo Source # | |
Defined in Language.Fortran.AST type Rep MetaInfo = D1 (MetaData "MetaInfo" "Language.Fortran.AST" "fortran-src-0.3.0-HYtHVMLWYXtCtJd9jdxIfb" False) (C1 (MetaCons "MetaInfo" PrefixI True) (S1 (MetaSel (Just "miVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FortranVersion) :*: S1 (MetaSel (Just "miFilename") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |
data ProgramFile a Source #
Instances
pfSetFilename :: String -> ProgramFile a -> ProgramFile a Source #
pfGetFilename :: ProgramFile a -> String Source #
data ProgramUnit a Source #
PUMain a SrcSpan (Maybe Name) [Block a] (Maybe [ProgramUnit a]) | |
PUModule a SrcSpan Name [Block a] (Maybe [ProgramUnit a]) | |
PUSubroutine a SrcSpan (PrefixSuffix a) Name (Maybe (AList Expression a)) [Block a] (Maybe [ProgramUnit a]) | |
PUFunction a SrcSpan (Maybe (TypeSpec a)) (PrefixSuffix a) Name (Maybe (AList Expression a)) (Maybe (Expression a)) [Block a] (Maybe [ProgramUnit a]) | |
PUBlockData a SrcSpan (Maybe Name) [Block a] | |
PUComment a SrcSpan (Comment a) |
Instances
type PrefixSuffix a = (Prefixes a, Suffixes a) Source #
emptyPrefixes :: Prefixes a Source #
emptySuffixes :: Suffixes a Source #
Instances
validPrefixSuffix :: PrefixSuffix a -> Bool Source #
SfxBind a SrcSpan (Maybe (Expression a)) |
Instances
Functor Suffix Source # | |
Eq a => Eq (Suffix a) Source # | |
Data a => Data (Suffix a) Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Suffix a -> c (Suffix a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Suffix a) # toConstr :: Suffix a -> Constr # dataTypeOf :: Suffix a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Suffix a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Suffix a)) # gmapT :: (forall b. Data b => b -> b) -> Suffix a -> Suffix a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Suffix a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Suffix a -> r # gmapQ :: (forall d. Data d => d -> u) -> Suffix a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Suffix a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Suffix a -> m (Suffix a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Suffix a -> m (Suffix a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Suffix a -> m (Suffix a) # | |
Show a => Show (Suffix a) Source # | |
Generic (Suffix a) Source # | |
Out a => Out (Suffix a) Source # | |
Spanned (Suffix a) Source # | |
Pretty (Suffix a) Source # | |
Defined in Language.Fortran.PrettyPrint | |
FirstParameter (Suffix a) a Source # | |
Defined in Language.Fortran.AST getFirstParameter :: Suffix a -> a Source # setFirstParameter :: a -> Suffix a -> Suffix a Source # | |
SecondParameter (Suffix a) SrcSpan Source # | |
Defined in Language.Fortran.AST | |
type Rep (Suffix a) Source # | |
Defined in Language.Fortran.AST type Rep (Suffix a) = D1 (MetaData "Suffix" "Language.Fortran.AST" "fortran-src-0.3.0-HYtHVMLWYXtCtJd9jdxIfb" False) (C1 (MetaCons "SfxBind" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SrcSpan) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Expression a)))))) |
programUnitBody :: ProgramUnit a -> [Block a] Source #
updateProgramUnitBody :: ProgramUnit a -> [Block a] -> ProgramUnit a Source #
programUnitSubprograms :: ProgramUnit a -> Maybe [ProgramUnit a] Source #
Instances
Functor Comment Source # | |
Eq (Comment a) Source # | |
Data a => Data (Comment a) Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Comment a -> c (Comment a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Comment a) # toConstr :: Comment a -> Constr # dataTypeOf :: Comment a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Comment a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Comment a)) # gmapT :: (forall b. Data b => b -> b) -> Comment a -> Comment a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Comment a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Comment a -> r # gmapQ :: (forall d. Data d => d -> u) -> Comment a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Comment a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Comment a -> m (Comment a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Comment a -> m (Comment a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Comment a -> m (Comment a) # | |
Show (Comment a) Source # | |
Generic (Comment a) Source # | |
Out a => Out (Comment a) Source # | |
type Rep (Comment a) Source # | |
Defined in Language.Fortran.AST |
BlStatement a SrcSpan (Maybe (Expression a)) (Statement a) | |
BlForall a SrcSpan (Maybe (Expression a)) (Maybe String) (ForallHeader a) [Block a] (Maybe (Expression a)) | |
BlIf a SrcSpan (Maybe (Expression a)) (Maybe String) [Maybe (Expression a)] [[Block a]] (Maybe (Expression a)) | |
BlCase a SrcSpan (Maybe (Expression a)) (Maybe String) (Expression a) [Maybe (AList Index a)] [[Block a]] (Maybe (Expression a)) | |
BlDo a SrcSpan (Maybe (Expression a)) (Maybe String) (Maybe (Expression a)) (Maybe (DoSpecification a)) [Block a] (Maybe (Expression a)) | |
BlDoWhile a SrcSpan (Maybe (Expression a)) (Maybe String) (Maybe (Expression a)) (Expression a) [Block a] (Maybe (Expression a)) | |
BlInterface a SrcSpan (Maybe (Expression a)) Bool [ProgramUnit a] [Block a] | |
BlComment a SrcSpan (Comment a) |
Instances
Instances
ProcDecl a SrcSpan (Expression a) (Maybe (Expression a)) |
Instances
data ProcInterface a Source #
ProcInterfaceName a SrcSpan (Expression a) | |
ProcInterfaceType a SrcSpan (TypeSpec a) |
Instances
data ForallHeader a Source #
ForallHeader [(Name, Expression a, Expression a, Maybe (Expression a))] (Maybe (Expression a)) |
Instances
Instances
Eq Only Source # | |
Data Only Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Only -> c Only # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Only # dataTypeOf :: Only -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Only) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Only) # gmapT :: (forall b. Data b => b -> b) -> Only -> Only # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Only -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Only -> r # gmapQ :: (forall d. Data d => d -> u) -> Only -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Only -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Only -> m Only # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Only -> m Only # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Only -> m Only # | |
Show Only Source # | |
Generic Only Source # | |
Out Only Source # | |
Pretty Only Source # | |
Defined in Language.Fortran.PrettyPrint | |
type Rep Only Source # | |
data ModuleNature Source #
Instances
UseRename a SrcSpan (Expression a) (Expression a) | |
UseID a SrcSpan (Expression a) |
Instances
Argument a SrcSpan (Maybe String) (Expression a) |
Instances
Instances
Instances
Eq Intent Source # | |
Data Intent Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Intent -> c Intent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Intent # toConstr :: Intent -> Constr # dataTypeOf :: Intent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Intent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Intent) # gmapT :: (forall b. Data b => b -> b) -> Intent -> Intent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Intent -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Intent -> r # gmapQ :: (forall d. Data d => d -> u) -> Intent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Intent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Intent -> m Intent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Intent -> m Intent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Intent -> m Intent # | |
Show Intent Source # | |
Generic Intent Source # | |
Out Intent Source # | |
Pretty Intent Source # | |
Defined in Language.Fortran.PrettyPrint | |
type Rep Intent Source # | |
Defined in Language.Fortran.AST |
data ControlPair a Source #
ControlPair a SrcSpan (Maybe String) (Expression a) |
Instances
AOStat a SrcSpan (Expression a) | |
AOErrMsg a SrcSpan (Expression a) | |
AOSource a SrcSpan (Expression a) |
Instances
ImpList a SrcSpan (TypeSpec a) (AList ImpElement a) |
Instances
data ImpElement a Source #
Instances
data CommonGroup a Source #
CommonGroup a SrcSpan (Maybe (Expression a)) (AList Expression a) |
Instances
Namelist a SrcSpan (Expression a) (AList Expression a) |
Instances
DataGroup a SrcSpan (AList Expression a) (AList Expression a) |
Instances
data StructureItem a Source #
StructFields a SrcSpan (TypeSpec a) (Maybe (AList Attribute a)) (AList Declarator a) | |
StructUnion a SrcSpan (AList UnionMap a) | |
StructStructure a SrcSpan (Maybe String) (AList StructureItem a) |
Instances
UnionMap a SrcSpan (AList StructureItem a) |
Instances
data FormatItem a Source #
Instances
FSUnit a SrcSpan (Expression a) | |
FSIOStat a SrcSpan (Expression a) | |
FSIOMsg a SrcSpan (Expression a) | |
FSErr a SrcSpan (Expression a) |
Instances
data DoSpecification a Source #
DoSpecification a SrcSpan (Statement a) (Expression a) (Maybe (Expression a)) |
Instances
data Expression a Source #
ExpValue a SrcSpan (Value a) | Use a value as an expression. |
ExpBinary a SrcSpan BinaryOp (Expression a) (Expression a) | A binary operator applied to two expressions. |
ExpUnary a SrcSpan UnaryOp (Expression a) | A unary operator applied to two expressions. |
ExpSubscript a SrcSpan (Expression a) (AList Index a) | Array indexing |
ExpDataRef a SrcSpan (Expression a) (Expression a) |
|
ExpFunctionCall a SrcSpan (Expression a) (Maybe (AList Argument a)) | A function expression applied to a list of arguments. |
ExpImpliedDo a SrcSpan (AList Expression a) (DoSpecification a) | Implied do (i.e. one-liner do loops) |
ExpInitialisation a SrcSpan (AList Expression a) | Array initialisation |
ExpReturnSpec a SrcSpan (Expression a) | Function return value specification |
Instances
IxSingle a SrcSpan (Maybe String) (Expression a) | |
IxRange a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) (Maybe (Expression a)) |
Instances
ValInteger String | The string representation of an integer literal |
ValReal String | The string representation of a real literal |
ValComplex (Expression a) (Expression a) | The real and imaginary parts of a complex value |
ValString String | A string literal |
ValHollerith String | A Hollerith literal |
ValVariable Name | The name of a variable |
ValIntrinsic Name | The name of a built-in function |
ValLogical String | A boolean value |
ValOperator String | User-defined operators in interfaces |
ValAssignment | Overloaded assignment in interfaces |
ValType String | |
ValStar | |
ValColon |
Instances
data Declarator a Source #
DeclVariable a SrcSpan (Expression a) (Maybe (Expression a)) (Maybe (Expression a)) | |
DeclArray a SrcSpan (Expression a) (AList DimensionDeclarator a) (Maybe (Expression a)) (Maybe (Expression a)) |
Instances
setInitialisation :: Declarator a -> Expression a -> Declarator a Source #
data DimensionDeclarator a Source #
DimensionDeclarator a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) |
Instances
Instances
Eq UnaryOp Source # | |
Data UnaryOp Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnaryOp -> c UnaryOp # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnaryOp # toConstr :: UnaryOp -> Constr # dataTypeOf :: UnaryOp -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnaryOp) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnaryOp) # gmapT :: (forall b. Data b => b -> b) -> UnaryOp -> UnaryOp # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnaryOp -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnaryOp -> r # gmapQ :: (forall d. Data d => d -> u) -> UnaryOp -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UnaryOp -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnaryOp -> m UnaryOp # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnaryOp -> m UnaryOp # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnaryOp -> m UnaryOp # | |
Ord UnaryOp Source # | |
Show UnaryOp Source # | |
Generic UnaryOp Source # | |
Out UnaryOp Source # | |
Binary UnaryOp Source # | |
Pretty UnaryOp Source # | |
Defined in Language.Fortran.PrettyPrint | |
type Rep UnaryOp Source # | |
Defined in Language.Fortran.AST type Rep UnaryOp = D1 (MetaData "UnaryOp" "Language.Fortran.AST" "fortran-src-0.3.0-HYtHVMLWYXtCtJd9jdxIfb" False) ((C1 (MetaCons "Plus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Minus" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Not" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnCustom" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) |
Addition | |
Subtraction | |
Multiplication | |
Division | |
Exponentiation | |
Concatenation | |
GT | |
GTE | |
LT | |
LTE | |
EQ | |
NE | |
Or | |
XOr | |
And | |
Equivalent | |
NotEquivalent | |
BinCustom String |
Instances
Eq BinaryOp Source # | |
Data BinaryOp Source # | |
Defined in Language.Fortran.AST gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BinaryOp -> c BinaryOp # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BinaryOp # toConstr :: BinaryOp -> Constr # dataTypeOf :: BinaryOp -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BinaryOp) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BinaryOp) # gmapT :: (forall b. Data b => b -> b) -> BinaryOp -> BinaryOp # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BinaryOp -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BinaryOp -> r # gmapQ :: (forall d. Data d => d -> u) -> BinaryOp -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BinaryOp -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BinaryOp -> m BinaryOp # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BinaryOp -> m BinaryOp # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BinaryOp -> m BinaryOp # | |
Ord BinaryOp Source # | |
Defined in Language.Fortran.AST | |
Show BinaryOp Source # | |
Generic BinaryOp Source # | |
Out BinaryOp Source # | |
Binary BinaryOp Source # | |
Pretty BinaryOp Source # | |
Defined in Language.Fortran.PrettyPrint | |
type Rep BinaryOp Source # | |
Defined in Language.Fortran.AST type Rep BinaryOp = D1 (MetaData "BinaryOp" "Language.Fortran.AST" "fortran-src-0.3.0-HYtHVMLWYXtCtJd9jdxIfb" False) ((((C1 (MetaCons "Addition" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Subtraction" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Multiplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Division" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Exponentiation" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Concatenation" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "GT" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GTE" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LT" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "LTE" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EQ" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NE" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Or" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "XOr" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "And" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Equivalent" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NotEquivalent" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BinCustom" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))))) |
class Annotated f where Source #
Nothing
getAnnotation :: f a -> a Source #
setAnnotation :: a -> f a -> f a Source #
modifyAnnotation :: (a -> a) -> f a -> f a Source #
getAnnotation :: FirstParameter (f a) a => f a -> a Source #
setAnnotation :: FirstParameter (f a) a => a -> f a -> f a Source #
Instances
class (Spanned a, Spanned b) => SpannedPair a b where Source #
getTransSpan :: a -> b -> SrcSpan Source #
Instances
(Spanned a, Spanned b) => SpannedPair a b Source # | |
Defined in Language.Fortran.AST getTransSpan :: a -> b -> SrcSpan Source # | |
(Spanned a, Spanned b) => SpannedPair a [[b]] Source # | |
Defined in Language.Fortran.AST getTransSpan :: a -> [[b]] -> SrcSpan Source # | |
(Spanned a, Spanned b) => SpannedPair a [b] Source # | |
Defined in Language.Fortran.AST getTransSpan :: a -> [b] -> SrcSpan Source # |
class Labeled f where Source #
getLabel :: f a -> Maybe (Expression a) Source #
getLastLabel :: f a -> Maybe (Expression a) Source #
setLabel :: f a -> Expression a -> f a Source #
Instances
Labeled Block Source # | |
Defined in Language.Fortran.AST getLabel :: Block a -> Maybe (Expression a) Source # getLastLabel :: Block a -> Maybe (Expression a) Source # |
class Conditioned f where Source #
getCondition :: f a -> Maybe (Expression a) Source #
Instances
Conditioned Statement Source # | |
Defined in Language.Fortran.AST getCondition :: Statement a -> Maybe (Expression a) Source # | |
Conditioned Block Source # | |
Defined in Language.Fortran.AST getCondition :: Block a -> Maybe (Expression a) Source # |
data ProgramUnitName Source #
Instances
getName :: a -> ProgramUnitName Source #
setName :: ProgramUnitName -> a -> a Source #
Instances
Named (ProgramUnit a) Source # | |
Defined in Language.Fortran.AST getName :: ProgramUnit a -> ProgramUnitName Source # setName :: ProgramUnitName -> ProgramUnit a -> ProgramUnit a Source # |
nonExecutableStatement :: FortranVersion -> Statement a -> Bool Source #
executableStatement :: FortranVersion -> Statement a -> Bool Source #
executableStatementBlock :: FortranVersion -> Block a -> Bool Source #
nonExecutableStatementBlock :: FortranVersion -> Block a -> Bool Source #
Orphan instances
Out FortranVersion Source # | |
docPrec :: Int -> FortranVersion -> Doc # doc :: FortranVersion -> Doc # docList :: [FortranVersion] -> Doc # | |
Spanned a => Spanned [a] Source # | |
(Spanned a, Spanned b) => Spanned (Either a b) Source # | |
(Spanned a, Spanned b) => Spanned (Maybe a, b) Source # | |
(Spanned a, Spanned b) => Spanned (a, b) Source # | |
(Spanned a, Spanned b) => Spanned (a, Maybe b) Source # | |
(Spanned a, Spanned b, Spanned c) => Spanned (Maybe a, b, c) Source # | |
(Spanned a, Spanned b, Spanned c) => Spanned (Maybe a, Maybe b, Maybe c) Source # | |
(Spanned a, Spanned b, Spanned c) => Spanned (a, b, c) Source # | |
(Spanned a, Spanned b, Spanned c) => Spanned (a, Maybe b, Maybe c) Source # | |