Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ClientDeclaration Source #
InstanceDeclaration DERIVING_MODE (TypeClassInstance ClientMethod) | |
ClientTypeDeclaration CodeGenType |
Instances
Pretty ClientDeclaration Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST pretty :: ClientDeclaration -> Doc ann # prettyList :: [ClientDeclaration] -> Doc ann # |
data ClientMethod Source #
PrintableMethod PrintableValue | |
FunctionNameMethod Name | |
MatchMethod ValueMatch | |
ToJSONObjectMethod Name [(FieldName, Name, Name)] | |
FromJSONObjectMethod TypeName [AesonField] | |
FromJSONUnionMethod [([UnionPat], (Name, Maybe Name))] |
Instances
PrintExp ClientMethod Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST printExp :: ClientMethod -> ExpQ # | |
Pretty ClientMethod Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST pretty :: ClientMethod -> Doc ann # prettyList :: [ClientMethod] -> Doc ann # |
data ClientPreDeclaration Source #
data RequestTypeDefinition Source #
Instances
Show RequestTypeDefinition Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST showsPrec :: Int -> RequestTypeDefinition -> ShowS # show :: RequestTypeDefinition -> String # showList :: [RequestTypeDefinition] -> ShowS # |
data ClientTypeDefinition Source #
Instances
Show ClientTypeDefinition Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST showsPrec :: Int -> ClientTypeDefinition -> ShowS # show :: ClientTypeDefinition -> String # showList :: [ClientTypeDefinition] -> ShowS # |