Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ast
Documentation
Constructors
Program Expression |
data Expression Source #
Constructors
ExFormation [Binding] | |
ExThis | |
ExGlobal | |
ExTermination | |
ExMeta String | |
ExApplication Expression Binding | |
ExDispatch Expression Attribute | |
ExMetaTail Expression String |
Instances
Constructors
BiTau Attribute Expression | |
BiMeta String | |
BiDelta Bytes | |
BiVoid Attribute | |
BiLambda String | |
BiMetaLambda String |
Instances
FromJSON Binding Source # | |||||
Generic Binding Source # | |||||
Defined in Ast Associated Types
| |||||
Show Binding Source # | |||||
Eq Binding Source # | |||||
type Rep Binding Source # | |||||
Defined in Ast type Rep Binding = D1 ('MetaData "Binding" "Ast" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) ((C1 ('MetaCons "BiTau" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expression)) :+: (C1 ('MetaCons "BiMeta" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "BiDelta" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bytes)))) :+: (C1 ('MetaCons "BiVoid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attribute)) :+: (C1 ('MetaCons "BiLambda" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "BiMetaLambda" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))) |
Instances
FromJSON Bytes Source # | |||||
Generic Bytes Source # | |||||
Defined in Ast Associated Types
| |||||
Show Bytes Source # | |||||
Eq Bytes Source # | |||||
Pretty Bytes Source # | |||||
type Rep Bytes Source # | |||||
Defined in Ast type Rep Bytes = D1 ('MetaData "Bytes" "Ast" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) ((C1 ('MetaCons "BtEmpty" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BtOne" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons "BtMany" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])) :+: C1 ('MetaCons "BtMeta" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) |
Instances
FromJSON Attribute Source # | |||||
Generic Attribute Source # | |||||
Defined in Ast Associated Types
| |||||
Show Attribute Source # | |||||
Eq Attribute Source # | |||||
Pretty Attribute Source # | |||||
type Rep Attribute Source # | |||||
Defined in Ast type Rep Attribute = D1 ('MetaData "Attribute" "Ast" "phino-0.0.0.19-5vwcxGi3nbd7CGknzsU6Lx" 'False) ((C1 ('MetaCons "AtLabel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons "AtAlpha" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :+: C1 ('MetaCons "AtPhi" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "AtRho" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AtLambda" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AtDelta" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AtMeta" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))) |
countNodes :: Program -> Integer Source #