| 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 |
CSMOF.ATC_CSMOF
Contents
Description
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 # | |
Associated Types type Rep MultiplicityElement :: Type -> Type Methods from :: MultiplicityElement -> Rep MultiplicityElement x to :: Rep MultiplicityElement x -> MultiplicityElement | |
| Generic Property Source # | |
| Generic TypedElement Source # | |
Associated Types type Rep TypedElement :: Type -> Type | |
| Generic Class Source # | |
| Generic Datatype Source # | |
| Generic DataTypeOrClass Source # | |
Associated Types type Rep DataTypeOrClass :: Type -> Type Methods from :: DataTypeOrClass -> Rep DataTypeOrClass x to :: Rep DataTypeOrClass x -> DataTypeOrClass | |
| Generic Type Source # | |
| Generic TypeOrTypedElement Source # | |
Associated Types type Rep TypeOrTypedElement :: Type -> Type Methods from :: TypeOrTypedElement -> Rep TypeOrTypedElement x to :: Rep TypeOrTypedElement x -> TypeOrTypedElement | |
| Generic NamedElement Source # | |
Associated Types type Rep NamedElement :: Type -> Type | |
| Generic Metamodel Source # | |
| Generic Sen Source # | |
| Generic ConstraintType Source # | |
Associated Types type Rep ConstraintType :: Type -> Type | |
| Generic MultConstr Source # | |
Associated Types type Rep MultConstr :: Type -> Type | |
| Generic Sign Source # | |
| Generic LinkT Source # | |
| Generic PropertyT Source # | |
| Generic TypeClass Source # | |
| Generic TypeKind Source # | |
| FromJSON Link Source # | |
| FromJSON Object Source # | |
| FromJSON Model Source # | |
| FromJSON MultiplicityElement Source # | |
Methods parseJSON :: Value -> Parser MultiplicityElement parseJSONList :: Value -> Parser [MultiplicityElement] | |
| FromJSON Property Source # | |
| FromJSON TypedElement Source # | |
| FromJSON Class Source # | |
| FromJSON Datatype Source # | |
| FromJSON DataTypeOrClass Source # | |
Methods parseJSON :: Value -> Parser DataTypeOrClass parseJSONList :: Value -> Parser [DataTypeOrClass] | |
| FromJSON Type Source # | |
| FromJSON TypeOrTypedElement Source # | |
Methods parseJSON :: Value -> Parser TypeOrTypedElement parseJSONList :: Value -> Parser [TypeOrTypedElement] | |
| FromJSON NamedElement Source # | |
| FromJSON Metamodel Source # | |
| FromJSON Sen Source # | |
| FromJSON ConstraintType Source # | |
| FromJSON MultConstr Source # | |
| FromJSON Sign Source # | |
| FromJSON LinkT Source # | |
| FromJSON PropertyT Source # | |
| FromJSON TypeClass Source # | |
| FromJSON TypeKind Source # | |
| ToJSON Link Source # | |
Methods toEncoding :: Link -> Encoding toJSONList :: [Link] -> Value toEncodingList :: [Link] -> Encoding | |
| ToJSON Object Source # | |
Methods toEncoding :: Object -> Encoding toJSONList :: [Object] -> Value toEncodingList :: [Object] -> Encoding | |
| ToJSON Model Source # | |
Methods toEncoding :: Model -> Encoding toJSONList :: [Model] -> Value toEncodingList :: [Model] -> Encoding | |
| ToJSON MultiplicityElement Source # | |
Methods toJSON :: MultiplicityElement -> Value toEncoding :: MultiplicityElement -> Encoding toJSONList :: [MultiplicityElement] -> Value toEncodingList :: [MultiplicityElement] -> Encoding | |
| ToJSON Property Source # | |
Methods toEncoding :: Property -> Encoding toJSONList :: [Property] -> Value toEncodingList :: [Property] -> Encoding | |
| ToJSON TypedElement Source # | |
Methods toJSON :: TypedElement -> Value toEncoding :: TypedElement -> Encoding toJSONList :: [TypedElement] -> Value toEncodingList :: [TypedElement] -> Encoding | |
| ToJSON Class Source # | |
Methods toEncoding :: Class -> Encoding toJSONList :: [Class] -> Value toEncodingList :: [Class] -> Encoding | |
| ToJSON Datatype Source # | |
Methods toEncoding :: Datatype -> Encoding toJSONList :: [Datatype] -> Value toEncodingList :: [Datatype] -> Encoding | |
| ToJSON DataTypeOrClass Source # | |
Methods toJSON :: DataTypeOrClass -> Value toEncoding :: DataTypeOrClass -> Encoding toJSONList :: [DataTypeOrClass] -> Value toEncodingList :: [DataTypeOrClass] -> Encoding | |
| ToJSON Type Source # | |
Methods toEncoding :: Type -> Encoding toJSONList :: [Type] -> Value toEncodingList :: [Type] -> Encoding | |
| ToJSON TypeOrTypedElement Source # | |
Methods toJSON :: TypeOrTypedElement -> Value toEncoding :: TypeOrTypedElement -> Encoding toJSONList :: [TypeOrTypedElement] -> Value toEncodingList :: [TypeOrTypedElement] -> Encoding | |
| ToJSON NamedElement Source # | |
Methods toJSON :: NamedElement -> Value toEncoding :: NamedElement -> Encoding toJSONList :: [NamedElement] -> Value toEncodingList :: [NamedElement] -> Encoding | |
| ToJSON Metamodel Source # | |
Methods toEncoding :: Metamodel -> Encoding toJSONList :: [Metamodel] -> Value toEncodingList :: [Metamodel] -> Encoding | |
| ToJSON Sen Source # | |
| ToJSON ConstraintType Source # | |
Methods toJSON :: ConstraintType -> Value toEncoding :: ConstraintType -> Encoding toJSONList :: [ConstraintType] -> Value toEncodingList :: [ConstraintType] -> Encoding | |
| ToJSON MultConstr Source # | |
Methods toJSON :: MultConstr -> Value toEncoding :: MultConstr -> Encoding toJSONList :: [MultConstr] -> Value toEncodingList :: [MultConstr] -> Encoding | |
| ToJSON Sign Source # | |
Methods toEncoding :: Sign -> Encoding toJSONList :: [Sign] -> Value toEncodingList :: [Sign] -> Encoding | |
| ToJSON LinkT Source # | |
Methods toEncoding :: LinkT -> Encoding toJSONList :: [LinkT] -> Value toEncodingList :: [LinkT] -> Encoding | |
| ToJSON PropertyT Source # | |
Methods toEncoding :: PropertyT -> Encoding toJSONList :: [PropertyT] -> Value toEncodingList :: [PropertyT] -> Encoding | |
| ToJSON TypeClass Source # | |
Methods toEncoding :: TypeClass -> Encoding toJSONList :: [TypeClass] -> Value toEncodingList :: [TypeClass] -> Encoding | |
| ToJSON TypeKind Source # | |
Methods toEncoding :: TypeKind -> Encoding toJSONList :: [TypeKind] -> Value toEncodingList :: [TypeKind] -> Encoding | |
| ShATermConvertible Link Source # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods 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 # | |
Methods toShATermAux :: ATermTable -> TypeKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeKind]) | |