Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Functor t => Functor (AList t) Source # | |
Annotated (AList t) Source # | |
(Eq (t a), Eq a) => Eq (AList t a) Source # | |
(Data (t a), Data a, Typeable (* -> *) t) => Data (AList t a) Source # | |
(Show (t a), Show 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 # | |
SecondParameter (AList t a) SrcSpan Source # | |
FirstParameter (AList t a) a Source # | |
type Rep (AList t a) Source # | |
fromReverseList :: Spanned (t ()) => [t ()] -> AList t () Source #
Functor TypeSpec Source # | |
Annotated TypeSpec Source # | |
Eq a => Eq (TypeSpec a) Source # | |
Data a => Data (TypeSpec a) Source # | |
Show a => Show (TypeSpec a) Source # | |
Generic (TypeSpec a) Source # | |
Out a => Out (TypeSpec a) Source # | |
Spanned (TypeSpec a) Source # | |
Pretty (TypeSpec a) Source # | |
SecondParameter (TypeSpec a) SrcSpan Source # | |
FirstParameter (TypeSpec a) a Source # | |
type Rep (TypeSpec a) Source # | |
Selector a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) |
Functor Selector Source # | |
Annotated Selector Source # | |
Eq a => Eq (Selector a) Source # | |
Data a => Data (Selector a) Source # | |
Show a => Show (Selector a) Source # | |
Generic (Selector a) Source # | |
Out a => Out (Selector a) Source # | |
Spanned (Selector a) Source # | |
Pretty (Selector a) Source # | |
SecondParameter (Selector a) SrcSpan Source # | |
FirstParameter (Selector a) a Source # | |
type Rep (Selector a) Source # | |
data ProgramFile a Source #
Functor ProgramFile Source # | |
Eq a => Eq (ProgramFile a) Source # | |
Data a => Data (ProgramFile a) Source # | |
Show a => Show (ProgramFile a) Source # | |
Generic (ProgramFile a) Source # | |
Out a => Out (ProgramFile a) Source # | |
IndentablePretty (ProgramFile a) Source # | |
type Rep (ProgramFile a) Source # | |
pfSetFilename :: String -> ProgramFile a -> ProgramFile a Source #
pfGetFilename :: ProgramFile t -> 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 Bool Name (Maybe (AList Expression a)) [Block a] (Maybe [ProgramUnit a]) | |
PUFunction a SrcSpan (Maybe (TypeSpec a)) Bool 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) |
Functor ProgramUnit Source # | |
Annotated ProgramUnit Source # | |
Eq a => Eq (ProgramUnit a) Source # | |
Data a => Data (ProgramUnit a) Source # | |
Show a => Show (ProgramUnit a) Source # | |
Generic (ProgramUnit a) Source # | |
Out a => Out (ProgramUnit a) Source # | |
Spanned (ProgramUnit a) Source # | |
Named (ProgramUnit a) Source # | |
IndentablePretty [ProgramUnit a] Source # | |
IndentablePretty (ProgramUnit a) Source # | |
SecondParameter (ProgramUnit a) SrcSpan Source # | |
FirstParameter (ProgramUnit a) a Source # | |
type Rep (ProgramUnit a) Source # | |
programUnitBody :: ProgramUnit a -> [Block a] Source #
programUnitSubprograms :: ProgramUnit a -> Maybe [ProgramUnit a] Source #
BlStatement a SrcSpan (Maybe (Expression a)) (Statement 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) (Expression a) [Block a] (Maybe (Expression a)) | |
BlInterface a SrcSpan (Maybe (Expression a)) [ProgramUnit a] [Block a] | |
BlComment a SrcSpan (Comment a) |
Functor Block Source # | |
Conditioned Block Source # | |
Labeled Block Source # | |
Annotated Block Source # | |
Eq a => Eq (Block a) Source # | |
Data a => Data (Block a) Source # | |
Show a => Show (Block a) Source # | |
Generic (Block a) Source # | |
Out a => Out (Block a) Source # | |
Spanned (Block a) Source # | |
IndentablePretty [Block a] Source # | |
IndentablePretty (Block a) Source # | |
SecondParameter (Block a) SrcSpan Source # | |
FirstParameter (Block a) a Source # | |
type Rep (Block a) Source # | |
Functor Statement Source # | |
Conditioned Statement Source # | |
Annotated Statement Source # | |
Eq a => Eq (Statement a) Source # | |
Data a => Data (Statement a) Source # | |
Show a => Show (Statement a) Source # | |
Generic (Statement a) Source # | |
Out a => Out (Statement a) Source # | |
Spanned (Statement a) Source # | |
Pretty (Statement a) Source # | |
SecondParameter (Statement a) SrcSpan Source # | |
FirstParameter (Statement a) a Source # | |
type Rep (Statement a) Source # | |
data ForallHeader a Source #
ForallHeader [(Name, Expression a, Expression a, Maybe (Expression a))] (Maybe (Expression a)) |
Functor ForallHeader Source # | |
Eq a => Eq (ForallHeader a) Source # | |
Data a => Data (ForallHeader a) Source # | |
Show a => Show (ForallHeader a) Source # | |
Generic (ForallHeader a) Source # | |
Out a => Out (ForallHeader a) Source # | |
type Rep (ForallHeader a) Source # | |
UseRename a SrcSpan (Expression a) (Expression a) | |
UseID a SrcSpan (Expression a) |
Functor Use Source # | |
Annotated Use Source # | |
Eq a => Eq (Use a) Source # | |
Data a => Data (Use a) Source # | |
Show a => Show (Use a) Source # | |
Generic (Use a) Source # | |
Out a => Out (Use a) Source # | |
Spanned (Use a) Source # | |
Pretty (Use a) Source # | |
SecondParameter (Use a) SrcSpan Source # | |
FirstParameter (Use a) a Source # | |
type Rep (Use a) Source # | |
Argument a SrcSpan (Maybe String) (Expression a) |
Functor Argument Source # | |
Annotated Argument Source # | |
Eq a => Eq (Argument a) Source # | |
Data a => Data (Argument a) Source # | |
Show a => Show (Argument a) Source # | |
Generic (Argument a) Source # | |
Out a => Out (Argument a) Source # | |
Spanned (Argument a) Source # | |
Pretty (Argument a) Source # | |
SecondParameter (Argument a) SrcSpan Source # | |
FirstParameter (Argument a) a Source # | |
type Rep (Argument a) Source # | |
Functor Attribute Source # | |
Annotated Attribute Source # | |
Eq a => Eq (Attribute a) Source # | |
Data a => Data (Attribute a) Source # | |
Show a => Show (Attribute a) Source # | |
Generic (Attribute a) Source # | |
Out a => Out (Attribute a) Source # | |
Spanned (Attribute a) Source # | |
Pretty (Attribute a) Source # | |
SecondParameter (Attribute a) SrcSpan Source # | |
FirstParameter (Attribute a) a Source # | |
type Rep (Attribute a) Source # | |
data ControlPair a Source #
ControlPair a SrcSpan (Maybe String) (Expression a) |
Functor ControlPair Source # | |
Annotated ControlPair Source # | |
Eq a => Eq (ControlPair a) Source # | |
Data a => Data (ControlPair a) Source # | |
Show a => Show (ControlPair a) Source # | |
Generic (ControlPair a) Source # | |
Out a => Out (ControlPair a) Source # | |
Spanned (ControlPair a) Source # | |
Pretty (ControlPair a) Source # | |
SecondParameter (ControlPair a) SrcSpan Source # | |
FirstParameter (ControlPair a) a Source # | |
type Rep (ControlPair a) Source # | |
ImpList a SrcSpan (TypeSpec a) (AList ImpElement a) |
Functor ImpList Source # | |
Annotated ImpList Source # | |
Eq a => Eq (ImpList a) Source # | |
Data a => Data (ImpList a) Source # | |
Show a => Show (ImpList a) Source # | |
Generic (ImpList a) Source # | |
Out a => Out (ImpList a) Source # | |
Spanned (ImpList a) Source # | |
Pretty (ImpList a) Source # | |
SecondParameter (ImpList a) SrcSpan Source # | |
FirstParameter (ImpList a) a Source # | |
type Rep (ImpList a) Source # | |
data ImpElement a Source #
Functor ImpElement Source # | |
Annotated ImpElement Source # | |
Eq a => Eq (ImpElement a) Source # | |
Data a => Data (ImpElement a) Source # | |
Show a => Show (ImpElement a) Source # | |
Generic (ImpElement a) Source # | |
Out a => Out (ImpElement a) Source # | |
Spanned (ImpElement a) Source # | |
Pretty (ImpElement a) Source # | |
SecondParameter (ImpElement a) SrcSpan Source # | |
FirstParameter (ImpElement a) a Source # | |
type Rep (ImpElement a) Source # | |
data CommonGroup a Source #
CommonGroup a SrcSpan (Maybe (Expression a)) (AList Expression a) |
Functor CommonGroup Source # | |
Annotated CommonGroup Source # | |
Eq a => Eq (CommonGroup a) Source # | |
Data a => Data (CommonGroup a) Source # | |
Show a => Show (CommonGroup a) Source # | |
Generic (CommonGroup a) Source # | |
Out a => Out (CommonGroup a) Source # | |
Spanned (CommonGroup a) Source # | |
Pretty (CommonGroup a) Source # | |
SecondParameter (CommonGroup a) SrcSpan Source # | |
FirstParameter (CommonGroup a) a Source # | |
type Rep (CommonGroup a) Source # | |
Namelist a SrcSpan (Expression a) (AList Expression a) |
Functor Namelist Source # | |
Annotated Namelist Source # | |
Eq a => Eq (Namelist a) Source # | |
Data a => Data (Namelist a) Source # | |
Show a => Show (Namelist a) Source # | |
Generic (Namelist a) Source # | |
Out a => Out (Namelist a) Source # | |
Spanned (Namelist a) Source # | |
Pretty (Namelist a) Source # | |
SecondParameter (Namelist a) SrcSpan Source # | |
FirstParameter (Namelist a) a Source # | |
type Rep (Namelist a) Source # | |
DataGroup a SrcSpan (AList Expression a) (AList Expression a) |
Functor DataGroup Source # | |
Annotated DataGroup Source # | |
Eq a => Eq (DataGroup a) Source # | |
Data a => Data (DataGroup a) Source # | |
Show a => Show (DataGroup a) Source # | |
Generic (DataGroup a) Source # | |
Out a => Out (DataGroup a) Source # | |
Spanned (DataGroup a) Source # | |
Pretty (DataGroup a) Source # | |
SecondParameter (DataGroup a) SrcSpan Source # | |
FirstParameter (DataGroup a) a Source # | |
type Rep (DataGroup a) Source # | |
data FormatItem a Source #
Functor FormatItem Source # | |
Annotated FormatItem Source # | |
Eq a => Eq (FormatItem a) Source # | |
Data a => Data (FormatItem a) Source # | |
Show a => Show (FormatItem a) Source # | |
Generic (FormatItem a) Source # | |
Out a => Out (FormatItem a) Source # | |
Spanned (FormatItem a) Source # | |
Pretty (FormatItem a) Source # | |
SecondParameter (FormatItem a) SrcSpan Source # | |
FirstParameter (FormatItem a) a Source # | |
type Rep (FormatItem a) Source # | |
data DoSpecification a Source #
DoSpecification a SrcSpan (Statement a) (Expression a) (Maybe (Expression a)) |
Functor DoSpecification Source # | |
Annotated DoSpecification Source # | |
Eq a => Eq (DoSpecification a) Source # | |
Data a => Data (DoSpecification a) Source # | |
Show a => Show (DoSpecification a) Source # | |
Generic (DoSpecification a) Source # | |
Out a => Out (DoSpecification a) Source # | |
Spanned (DoSpecification a) Source # | |
Pretty (DoSpecification a) Source # | |
SecondParameter (DoSpecification a) SrcSpan Source # | |
FirstParameter (DoSpecification a) a Source # | |
type Rep (DoSpecification a) Source # | |
data Expression a Source #
ExpValue a SrcSpan (Value a) | |
ExpBinary a SrcSpan BinaryOp (Expression a) (Expression a) | |
ExpUnary a SrcSpan UnaryOp (Expression a) | |
ExpSubscript a SrcSpan (Expression a) (AList Index a) | |
ExpDataRef a SrcSpan (Expression a) (Expression a) | |
ExpFunctionCall a SrcSpan (Expression a) (Maybe (AList Argument a)) | |
ExpImpliedDo a SrcSpan (AList Expression a) (DoSpecification a) | |
ExpInitialisation a SrcSpan (AList Expression a) | |
ExpReturnSpec a SrcSpan (Expression a) |
Functor Expression Source # | |
Annotated Expression Source # | |
Eq a => Eq (Expression a) Source # | |
Data a => Data (Expression a) Source # | |
Show a => Show (Expression a) Source # | |
Generic (Expression a) Source # | |
Out a => Out (Expression a) Source # | |
Spanned (Expression a) Source # | |
Pretty (Expression a) Source # | |
SecondParameter (Expression a) SrcSpan Source # | |
FirstParameter (Expression a) a Source # | |
type Rep (Expression a) Source # | |
IxSingle a SrcSpan (Maybe String) (Expression a) | |
IxRange a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) (Maybe (Expression a)) |
Functor Index Source # | |
Annotated Index Source # | |
Eq a => Eq (Index a) Source # | |
Data a => Data (Index a) Source # | |
Show a => Show (Index a) Source # | |
Generic (Index a) Source # | |
Out a => Out (Index a) Source # | |
Spanned (Index a) Source # | |
Pretty (Index a) Source # | |
SecondParameter (Index a) SrcSpan Source # | |
FirstParameter (Index a) a Source # | |
type Rep (Index a) Source # | |
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)) |
Functor Declarator Source # | |
Annotated Declarator Source # | |
Eq a => Eq (Declarator a) Source # | |
Data a => Data (Declarator a) Source # | |
Show a => Show (Declarator a) Source # | |
Generic (Declarator a) Source # | |
Out a => Out (Declarator a) Source # | |
Spanned (Declarator a) Source # | |
Pretty (Declarator a) Source # | |
SecondParameter (Declarator a) SrcSpan Source # | |
FirstParameter (Declarator a) a Source # | |
type Rep (Declarator a) Source # | |
setInitialisation :: Declarator a -> Expression a -> Declarator a Source #
data DimensionDeclarator a Source #
DimensionDeclarator a SrcSpan (Maybe (Expression a)) (Maybe (Expression a)) |
Functor DimensionDeclarator Source # | |
Annotated DimensionDeclarator Source # | |
Eq a => Eq (DimensionDeclarator a) Source # | |
Data a => Data (DimensionDeclarator a) Source # | |
Show a => Show (DimensionDeclarator a) Source # | |
Generic (DimensionDeclarator a) Source # | |
Out a => Out (DimensionDeclarator a) Source # | |
Spanned (DimensionDeclarator a) Source # | |
Pretty (DimensionDeclarator a) Source # | |
SecondParameter (DimensionDeclarator a) SrcSpan Source # | |
FirstParameter (DimensionDeclarator a) a Source # | |
type Rep (DimensionDeclarator a) Source # | |
class Annotated f where Source #
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 #
class (Spanned a, Spanned b) => SpannedPair a b where Source #
getTransSpan :: a -> b -> SrcSpan Source #
(Spanned a, Spanned b) => SpannedPair a b Source # | |
(Spanned a, Spanned b) => SpannedPair a [[b]] Source # | |
(Spanned a, Spanned b) => SpannedPair a [b] 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 #
class Conditioned f where Source #
getCondition :: f a -> Maybe (Expression a) Source #
data ProgramUnitName Source #
getName :: a -> ProgramUnitName Source #
setName :: ProgramUnitName -> a -> a Source #
Named (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 # | |
Spanned a => Spanned [a] 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 # | |