Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Morpheus.Client.CodeGen.AST
Documentation
data ClientDeclaration Source #
Constructors
InstanceDeclaration DERIVING_MODE (TypeClassInstance ClientMethod) | |
ClientTypeDeclaration CodeGenType |
Instances
data ClientMethod Source #
Constructors
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 Methods printExp :: ClientMethod -> ExpQ # | |
Pretty ClientMethod Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST |
data ClientPreDeclaration Source #
data DERIVING_MODE Source #
Constructors
SCALAR_MODE | |
ENUM_MODE | |
TYPE_MODE |
data RequestTypeDefinition Source #
Constructors
RequestTypeDefinition | |
Fields |
Instances
Show RequestTypeDefinition Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST Methods showsPrec :: Int -> RequestTypeDefinition -> ShowS # show :: RequestTypeDefinition -> String # showList :: [RequestTypeDefinition] -> ShowS # |
data ClientTypeDefinition Source #
Constructors
ClientTypeDefinition | |
Fields |
Instances
Show ClientTypeDefinition Source # | |
Defined in Data.Morpheus.Client.CodeGen.AST Methods showsPrec :: Int -> ClientTypeDefinition -> ShowS # show :: ClientTypeDefinition -> String # showList :: [ClientTypeDefinition] -> ShowS # |