Copyright | (c) DFKI GmbH 2012 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | non-portable(derive Typeable instances) |
Safe Haskell | None |
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
Metamodel
NamedElement
TypeOrTypedElement
Type
DataTypeOrClass
Datatype
Class
TypedElement
Property
MultiplicityElement
Model
Object
Link
TypeKind
TypeClass
PropertyT
LinkT
Sign
MultConstr
ConstraintType
Sen
Orphan instances
Generic Link Source # | |
Generic Object Source # | |
Generic Model Source # | |
Generic MultiplicityElement Source # | |
type Rep MultiplicityElement :: Type -> Type from :: MultiplicityElement -> Rep MultiplicityElement x to :: Rep MultiplicityElement x -> MultiplicityElement | |
Generic Property Source # | |
Generic TypedElement Source # | |
type Rep TypedElement :: Type -> Type from :: TypedElement -> Rep TypedElement x to :: Rep TypedElement x -> TypedElement | |
Generic Class Source # | |
Generic Datatype Source # | |
Generic DataTypeOrClass Source # | |
type Rep DataTypeOrClass :: Type -> Type from :: DataTypeOrClass -> Rep DataTypeOrClass x to :: Rep DataTypeOrClass x -> DataTypeOrClass | |
Generic Type Source # | |
Generic TypeOrTypedElement Source # | |
type Rep TypeOrTypedElement :: Type -> Type from :: TypeOrTypedElement -> Rep TypeOrTypedElement x to :: Rep TypeOrTypedElement x -> TypeOrTypedElement | |
Generic NamedElement Source # | |
type Rep NamedElement :: Type -> Type from :: NamedElement -> Rep NamedElement x to :: Rep NamedElement x -> NamedElement | |
Generic Metamodel Source # | |
Generic Sen Source # | |
Generic ConstraintType Source # | |
type Rep ConstraintType :: Type -> Type from :: ConstraintType -> Rep ConstraintType x to :: Rep ConstraintType x -> ConstraintType | |
Generic MultConstr Source # | |
type Rep MultConstr :: Type -> Type from :: MultConstr -> Rep MultConstr x to :: Rep MultConstr x -> MultConstr | |
Generic Sign Source # | |
Generic LinkT Source # | |
Generic PropertyT Source # | |
Generic TypeClass Source # | |
Generic TypeKind Source # | |
FromJSON Link Source # | |
parseJSON :: Value -> Parser Link parseJSONList :: Value -> Parser [Link] | |
FromJSON Object Source # | |
parseJSON :: Value -> Parser Object parseJSONList :: Value -> Parser [Object] | |
FromJSON Model Source # | |
parseJSON :: Value -> Parser Model parseJSONList :: Value -> Parser [Model] | |
FromJSON MultiplicityElement Source # | |
parseJSON :: Value -> Parser MultiplicityElement parseJSONList :: Value -> Parser [MultiplicityElement] | |
FromJSON Property Source # | |
parseJSON :: Value -> Parser Property parseJSONList :: Value -> Parser [Property] | |
FromJSON TypedElement Source # | |
parseJSON :: Value -> Parser TypedElement parseJSONList :: Value -> Parser [TypedElement] | |
FromJSON Class Source # | |
parseJSON :: Value -> Parser Class parseJSONList :: Value -> Parser [Class] | |
FromJSON Datatype Source # | |
parseJSON :: Value -> Parser Datatype parseJSONList :: Value -> Parser [Datatype] | |
FromJSON DataTypeOrClass Source # | |
parseJSON :: Value -> Parser DataTypeOrClass parseJSONList :: Value -> Parser [DataTypeOrClass] | |
FromJSON Type Source # | |
parseJSON :: Value -> Parser Type parseJSONList :: Value -> Parser [Type] | |
FromJSON TypeOrTypedElement Source # | |
parseJSON :: Value -> Parser TypeOrTypedElement parseJSONList :: Value -> Parser [TypeOrTypedElement] | |
FromJSON NamedElement Source # | |
parseJSON :: Value -> Parser NamedElement parseJSONList :: Value -> Parser [NamedElement] | |
FromJSON Metamodel Source # | |
parseJSON :: Value -> Parser Metamodel parseJSONList :: Value -> Parser [Metamodel] | |
FromJSON Sen Source # | |
parseJSON :: Value -> Parser Sen parseJSONList :: Value -> Parser [Sen] | |
FromJSON ConstraintType Source # | |
parseJSON :: Value -> Parser ConstraintType parseJSONList :: Value -> Parser [ConstraintType] | |
FromJSON MultConstr Source # | |
parseJSON :: Value -> Parser MultConstr parseJSONList :: Value -> Parser [MultConstr] | |
FromJSON Sign Source # | |
parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
FromJSON LinkT Source # | |
parseJSON :: Value -> Parser LinkT parseJSONList :: Value -> Parser [LinkT] | |
FromJSON PropertyT Source # | |
parseJSON :: Value -> Parser PropertyT parseJSONList :: Value -> Parser [PropertyT] | |
FromJSON TypeClass Source # | |
parseJSON :: Value -> Parser TypeClass parseJSONList :: Value -> Parser [TypeClass] | |
FromJSON TypeKind Source # | |
parseJSON :: Value -> Parser TypeKind parseJSONList :: Value -> Parser [TypeKind] | |
ToJSON Link Source # | |
ToJSON Object Source # | |
toEncoding :: Object -> Encoding toJSONList :: [Object] -> Value toEncodingList :: [Object] -> Encoding | |
ToJSON Model Source # | |
ToJSON MultiplicityElement Source # | |
toJSON :: MultiplicityElement -> Value toEncoding :: MultiplicityElement -> Encoding toJSONList :: [MultiplicityElement] -> Value toEncodingList :: [MultiplicityElement] -> Encoding | |
ToJSON Property Source # | |
toEncoding :: Property -> Encoding toJSONList :: [Property] -> Value toEncodingList :: [Property] -> Encoding | |
ToJSON TypedElement Source # | |
toJSON :: TypedElement -> Value toEncoding :: TypedElement -> Encoding toJSONList :: [TypedElement] -> Value toEncodingList :: [TypedElement] -> Encoding | |
ToJSON Class Source # | |
ToJSON Datatype Source # | |
toEncoding :: Datatype -> Encoding toJSONList :: [Datatype] -> Value toEncodingList :: [Datatype] -> Encoding | |
ToJSON DataTypeOrClass Source # | |
toJSON :: DataTypeOrClass -> Value toEncoding :: DataTypeOrClass -> Encoding toJSONList :: [DataTypeOrClass] -> Value toEncodingList :: [DataTypeOrClass] -> Encoding | |
ToJSON Type Source # | |
ToJSON TypeOrTypedElement Source # | |
toJSON :: TypeOrTypedElement -> Value toEncoding :: TypeOrTypedElement -> Encoding toJSONList :: [TypeOrTypedElement] -> Value toEncodingList :: [TypeOrTypedElement] -> Encoding | |
ToJSON NamedElement Source # | |
toJSON :: NamedElement -> Value toEncoding :: NamedElement -> Encoding toJSONList :: [NamedElement] -> Value toEncodingList :: [NamedElement] -> Encoding | |
ToJSON Metamodel Source # | |
toEncoding :: Metamodel -> Encoding toJSONList :: [Metamodel] -> Value toEncodingList :: [Metamodel] -> Encoding | |
ToJSON Sen Source # | |
ToJSON ConstraintType Source # | |
toJSON :: ConstraintType -> Value toEncoding :: ConstraintType -> Encoding toJSONList :: [ConstraintType] -> Value toEncodingList :: [ConstraintType] -> Encoding | |
ToJSON MultConstr Source # | |
toJSON :: MultConstr -> Value toEncoding :: MultConstr -> Encoding toJSONList :: [MultConstr] -> Value toEncodingList :: [MultConstr] -> Encoding | |
ToJSON Sign Source # | |
ToJSON LinkT Source # | |
ToJSON PropertyT Source # | |
toEncoding :: PropertyT -> Encoding toJSONList :: [PropertyT] -> Value toEncodingList :: [PropertyT] -> Encoding | |
ToJSON TypeClass Source # | |
toEncoding :: TypeClass -> Encoding toJSONList :: [TypeClass] -> Value toEncodingList :: [TypeClass] -> Encoding | |
ToJSON TypeKind Source # | |
toEncoding :: TypeKind -> Encoding toJSONList :: [TypeKind] -> Value toEncodingList :: [TypeKind] -> Encoding | |
ShATermConvertible Link Source # | |
toShATermAux :: ATermTable -> Link -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Link] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Link) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Link]) | |
ShATermConvertible Object Source # | |
toShATermAux :: ATermTable -> Object -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Object] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Object) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Object]) | |
ShATermConvertible Model Source # | |
toShATermAux :: ATermTable -> Model -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Model] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Model) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Model]) | |
ShATermConvertible MultiplicityElement Source # | |
toShATermAux :: ATermTable -> MultiplicityElement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MultiplicityElement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MultiplicityElement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MultiplicityElement]) | |
ShATermConvertible Property Source # | |
toShATermAux :: ATermTable -> Property -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Property] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Property) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Property]) | |
ShATermConvertible TypedElement Source # | |
toShATermAux :: ATermTable -> TypedElement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypedElement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypedElement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypedElement]) | |
ShATermConvertible Class Source # | |
toShATermAux :: ATermTable -> Class -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Class] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Class) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Class]) | |
ShATermConvertible Datatype Source # | |
toShATermAux :: ATermTable -> Datatype -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Datatype] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Datatype) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Datatype]) | |
ShATermConvertible DataTypeOrClass Source # | |
toShATermAux :: ATermTable -> DataTypeOrClass -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [DataTypeOrClass] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, DataTypeOrClass) fromShATermList' :: Int -> ATermTable -> (ATermTable, [DataTypeOrClass]) | |
ShATermConvertible Type Source # | |
toShATermAux :: ATermTable -> Type -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Type] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Type) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Type]) | |
ShATermConvertible TypeOrTypedElement Source # | |
toShATermAux :: ATermTable -> TypeOrTypedElement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeOrTypedElement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeOrTypedElement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeOrTypedElement]) | |
ShATermConvertible NamedElement Source # | |
toShATermAux :: ATermTable -> NamedElement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [NamedElement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, NamedElement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [NamedElement]) | |
ShATermConvertible Metamodel Source # | |
toShATermAux :: ATermTable -> Metamodel -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Metamodel] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Metamodel) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Metamodel]) | |
ShATermConvertible Sen Source # | |
toShATermAux :: ATermTable -> Sen -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sen] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sen) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sen]) | |
ShATermConvertible ConstraintType Source # | |
toShATermAux :: ATermTable -> ConstraintType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstraintType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstraintType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstraintType]) | |
ShATermConvertible MultConstr Source # | |
toShATermAux :: ATermTable -> MultConstr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MultConstr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MultConstr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MultConstr]) | |
ShATermConvertible Sign Source # | |
toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign]) | |
ShATermConvertible LinkT Source # | |
toShATermAux :: ATermTable -> LinkT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [LinkT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, LinkT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [LinkT]) | |
ShATermConvertible PropertyT Source # | |
toShATermAux :: ATermTable -> PropertyT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PropertyT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PropertyT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PropertyT]) | |
ShATermConvertible TypeClass Source # | |
toShATermAux :: ATermTable -> TypeClass -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeClass] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeClass) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeClass]) | |
ShATermConvertible TypeKind Source # | |
toShATermAux :: ATermTable -> TypeKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeKind]) |