| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Morpheus.CodeGen.Internal.AST
Documentation
data CodeGenConstructor Source #
Constructors
| CodeGenConstructor | |
Fields | |
Instances
| Show CodeGenConstructor Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> CodeGenConstructor -> ShowS # show :: CodeGenConstructor -> String # showList :: [CodeGenConstructor] -> ShowS # | |
| Printer CodeGenConstructor Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods print :: CodeGenConstructor -> HSDoc ann Source # | |
data CodeGenField Source #
Constructors
| CodeGenField | |
Fields
| |
Instances
| Show CodeGenField Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> CodeGenField -> ShowS # show :: CodeGenField -> String # showList :: [CodeGenField] -> ShowS # | |
| Printer CodeGenField Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods print :: CodeGenField -> HSDoc ann Source # | |
data CodeGenType Source #
Constructors
| CodeGenType | |
Fields | |
Instances
| Show CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> CodeGenType -> ShowS # show :: CodeGenType -> String # showList :: [CodeGenType] -> ShowS # | |
| PrintDec CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.TH | |
| Pretty CodeGenType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
data CodeGenTypeName Source #
Constructors
| CodeGenTypeName | |
Instances
| Show CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> CodeGenTypeName -> ShowS # show :: CodeGenTypeName -> String # showList :: [CodeGenTypeName] -> ShowS # | |
| Printer CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods print :: CodeGenTypeName -> HSDoc ann Source # | |
| PrintType CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.TH Methods printType :: CodeGenTypeName -> TypeQ Source # | |
| ToName CodeGenTypeName Source # | |
Defined in Data.Morpheus.CodeGen.TH Methods toName :: CodeGenTypeName -> Name Source # | |
data DerivingClass Source #
Instances
| Show DerivingClass Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> DerivingClass -> ShowS # show :: DerivingClass -> String # showList :: [DerivingClass] -> ShowS # | |
| Pretty DerivingClass Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
data FIELD_TYPE_WRAPPER Source #
Constructors
| MONAD | |
| SUBSCRIPTION Name | |
| PARAMETRIZED | |
| ARG TypeName | |
| TAGGED_ARG Name FieldName TypeRef | |
| GQL_WRAPPER TypeWrapper |
Instances
| Show FIELD_TYPE_WRAPPER Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> FIELD_TYPE_WRAPPER -> ShowS # show :: FIELD_TYPE_WRAPPER -> String # showList :: [FIELD_TYPE_WRAPPER] -> ShowS # | |
Constructors
data ModuleDefinition dec Source #
Constructors
| ModuleDefinition | |
Fields
| |
Instances
| Pretty dec => Pretty (ModuleDefinition dec) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
data TypeClassInstance body Source #
Constructors
| TypeClassInstance | |
Fields
| |
Instances
| Show body => Show (TypeClassInstance body) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> TypeClassInstance body -> ShowS # show :: TypeClassInstance body -> String # showList :: [TypeClassInstance body] -> ShowS # | |
| PrintExp body => PrintDec (TypeClassInstance body) Source # | |
Defined in Data.Morpheus.CodeGen.TH | |
| Pretty a => Pretty (TypeClassInstance a) Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
data AssociatedType Source #
Constructors
| AssociatedTypeName Name | |
| AssociatedLocations [DirectiveLocation] |
Instances
| Show AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> AssociatedType -> ShowS # show :: AssociatedType -> String # showList :: [AssociatedType] -> ShowS # | |
| PrintType AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.TH Methods printType :: AssociatedType -> TypeQ Source # | |
| Pretty AssociatedType Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
data MethodArgument Source #
Constructors
| NoArgument | |
| ProxyArgument | |
| DestructArgument Name [Name] |
Instances
| Show MethodArgument Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> MethodArgument -> ShowS # show :: MethodArgument -> String # showList :: [MethodArgument] -> ShowS # | |
| Pretty MethodArgument Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |
printTHName :: Name -> Doc ann Source #
data PrintableValue where Source #
Constructors
| PrintableValue :: forall a. (Show a, Lift a) => a -> PrintableValue |
Instances
| Show PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST Methods showsPrec :: Int -> PrintableValue -> ShowS # show :: PrintableValue -> String # showList :: [PrintableValue] -> ShowS # | |
| PrintExp PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.TH Methods printExp :: PrintableValue -> ExpQ Source # | |
| Pretty PrintableValue Source # | |
Defined in Data.Morpheus.CodeGen.Internal.AST | |