fortran-src-0.4.0: Parser and anlyses for Fortran standards 66, 77, 90 and 95.

Safe HaskellSafe
LanguageHaskell2010

Language.Fortran.Util.FirstParameter

Documentation

class FirstParameter a e | a -> e where Source #

Minimal complete definition

Nothing

Methods

getFirstParameter :: a -> e Source #

setFirstParameter :: e -> a -> a Source #

getFirstParameter :: (Generic a, GFirstParameter (Rep a) e) => a -> e Source #

setFirstParameter :: (Generic a, GFirstParameter (Rep a) e) => e -> a -> a Source #

Instances
FirstParameter Token SrcSpan Source # 
Instance details

Defined in Language.Fortran.Lexer.FreeForm

FirstParameter Token SrcSpan Source # 
Instance details

Defined in Language.Fortran.Lexer.FixedForm

FirstParameter (DimensionDeclarator a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Declarator a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Value a) String Source # 
Instance details

Defined in Language.Fortran.PrettyPrint

FirstParameter (Index a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Expression a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (DoSpecification a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (FlushSpec a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (FormatItem a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (UnionMap a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (StructureItem a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (DataGroup a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Namelist a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (CommonGroup a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (ImpElement a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (ImpList a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (AllocOpt a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (ControlPair a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Attribute a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Argument a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Use a) a Source # 
Instance details

Defined in Language.Fortran.AST

Methods

getFirstParameter :: Use a -> a Source #

setFirstParameter :: a -> Use a -> Use a Source #

FirstParameter (ProcInterface a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (ProcDecl a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Statement a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Block a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Suffix a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Prefix a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (ProgramUnit a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (Selector a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (TypeSpec a) a Source # 
Instance details

Defined in Language.Fortran.AST

FirstParameter (LValue a) a Source # 
Instance details

Defined in Language.Fortran.LValue

FirstParameter (AList t a) a Source # 
Instance details

Defined in Language.Fortran.AST

Methods

getFirstParameter :: AList t a -> a Source #

setFirstParameter :: a -> AList t a -> AList t a Source #

class GFirstParameter f e where Source #

Methods

getFirstParameter' :: f a -> e Source #

setFirstParameter' :: e -> f a -> f a Source #

Instances
GFirstParameter (U1 :: Type -> Type) String Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

GFirstParameter (K1 i a :: Type -> Type) e Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

Methods

getFirstParameter' :: K1 i a a0 -> e Source #

setFirstParameter' :: e -> K1 i a a0 -> K1 i a a0 Source #

GFirstParameter (K1 i e :: Type -> Type) e Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

Methods

getFirstParameter' :: K1 i e a -> e Source #

setFirstParameter' :: e -> K1 i e a -> K1 i e a Source #

(GFirstParameter a e, GFirstParameter b e) => GFirstParameter (a :+: b) e Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

Methods

getFirstParameter' :: (a :+: b) a0 -> e Source #

setFirstParameter' :: e -> (a :+: b) a0 -> (a :+: b) a0 Source #

(GFirstParameter a e, GFirstParameter b e) => GFirstParameter (a :*: b) e Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

Methods

getFirstParameter' :: (a :*: b) a0 -> e Source #

setFirstParameter' :: e -> (a :*: b) a0 -> (a :*: b) a0 Source #

GFirstParameter a e => GFirstParameter (M1 i c a) e Source # 
Instance details

Defined in Language.Fortran.Util.FirstParameter

Methods

getFirstParameter' :: M1 i c a a0 -> e Source #

setFirstParameter' :: e -> M1 i c a a0 -> M1 i c a a0 Source #