| 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 |
QVTR.ATC_QVTR
Contents
Description
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
Transformation
Key
PropKey
Relation
RelVar
PrimitiveDomain
Domain
ObjectTemplate
PropertyTemplate
WhenWhere
RelInvok
OCL
STRING
RuleDef
Sign
Sen
RelationSen
Pattern
Orphan instances
| Generic STRING Source # | |
| Generic OCL Source # | |
| Generic RelInvok Source # | |
| Generic WhenWhere Source # | |
| Generic PropertyTemplate Source # | |
Associated Types type Rep PropertyTemplate :: Type -> Type Methods from :: PropertyTemplate -> Rep PropertyTemplate x to :: Rep PropertyTemplate x -> PropertyTemplate | |
| Generic ObjectTemplate Source # | |
Associated Types type Rep ObjectTemplate :: Type -> Type | |
| Generic Domain Source # | |
| Generic PrimitiveDomain Source # | |
Associated Types type Rep PrimitiveDomain :: Type -> Type Methods from :: PrimitiveDomain -> Rep PrimitiveDomain x to :: Rep PrimitiveDomain x -> PrimitiveDomain | |
| Generic RelVar Source # | |
| Generic Relation Source # | |
| Generic PropKey Source # | |
| Generic Key Source # | |
| Generic Transformation Source # | |
Associated Types type Rep Transformation :: Type -> Type | |
| Generic Pattern Source # | |
| Generic RelationSen Source # | |
Associated Types type Rep RelationSen :: Type -> Type | |
| Generic Sen Source # | |
| Generic Sign Source # | |
| Generic RuleDef Source # | |
| FromJSON STRING Source # | |
| FromJSON OCL Source # | |
| FromJSON RelInvok Source # | |
| FromJSON WhenWhere Source # | |
| FromJSON PropertyTemplate Source # | |
Methods parseJSON :: Value -> Parser PropertyTemplate parseJSONList :: Value -> Parser [PropertyTemplate] | |
| FromJSON ObjectTemplate Source # | |
| FromJSON Domain Source # | |
| FromJSON PrimitiveDomain Source # | |
Methods parseJSON :: Value -> Parser PrimitiveDomain parseJSONList :: Value -> Parser [PrimitiveDomain] | |
| FromJSON RelVar Source # | |
| FromJSON Relation Source # | |
| FromJSON PropKey Source # | |
| FromJSON Key Source # | |
| FromJSON Transformation Source # | |
| FromJSON Pattern Source # | |
| FromJSON RelationSen Source # | |
| FromJSON Sen Source # | |
| FromJSON Sign Source # | |
| FromJSON RuleDef Source # | |
| ToJSON STRING Source # | |
Methods toEncoding :: STRING -> Encoding toJSONList :: [STRING] -> Value toEncodingList :: [STRING] -> Encoding | |
| ToJSON OCL Source # | |
| ToJSON RelInvok Source # | |
Methods toEncoding :: RelInvok -> Encoding toJSONList :: [RelInvok] -> Value toEncodingList :: [RelInvok] -> Encoding | |
| ToJSON WhenWhere Source # | |
Methods toEncoding :: WhenWhere -> Encoding toJSONList :: [WhenWhere] -> Value toEncodingList :: [WhenWhere] -> Encoding | |
| ToJSON PropertyTemplate Source # | |
Methods toJSON :: PropertyTemplate -> Value toEncoding :: PropertyTemplate -> Encoding toJSONList :: [PropertyTemplate] -> Value toEncodingList :: [PropertyTemplate] -> Encoding | |
| ToJSON ObjectTemplate Source # | |
Methods toJSON :: ObjectTemplate -> Value toEncoding :: ObjectTemplate -> Encoding toJSONList :: [ObjectTemplate] -> Value toEncodingList :: [ObjectTemplate] -> Encoding | |
| ToJSON Domain Source # | |
Methods toEncoding :: Domain -> Encoding toJSONList :: [Domain] -> Value toEncodingList :: [Domain] -> Encoding | |
| ToJSON PrimitiveDomain Source # | |
Methods toJSON :: PrimitiveDomain -> Value toEncoding :: PrimitiveDomain -> Encoding toJSONList :: [PrimitiveDomain] -> Value toEncodingList :: [PrimitiveDomain] -> Encoding | |
| ToJSON RelVar Source # | |
Methods toEncoding :: RelVar -> Encoding toJSONList :: [RelVar] -> Value toEncodingList :: [RelVar] -> Encoding | |
| ToJSON Relation Source # | |
Methods toEncoding :: Relation -> Encoding toJSONList :: [Relation] -> Value toEncodingList :: [Relation] -> Encoding | |
| ToJSON PropKey Source # | |
Methods toEncoding :: PropKey -> Encoding toJSONList :: [PropKey] -> Value toEncodingList :: [PropKey] -> Encoding | |
| ToJSON Key Source # | |
| ToJSON Transformation Source # | |
Methods toJSON :: Transformation -> Value toEncoding :: Transformation -> Encoding toJSONList :: [Transformation] -> Value toEncodingList :: [Transformation] -> Encoding | |
| ToJSON Pattern Source # | |
Methods toEncoding :: Pattern -> Encoding toJSONList :: [Pattern] -> Value toEncodingList :: [Pattern] -> Encoding | |
| ToJSON RelationSen Source # | |
Methods toJSON :: RelationSen -> Value toEncoding :: RelationSen -> Encoding toJSONList :: [RelationSen] -> Value toEncodingList :: [RelationSen] -> Encoding | |
| ToJSON Sen Source # | |
| ToJSON Sign Source # | |
Methods toEncoding :: Sign -> Encoding toJSONList :: [Sign] -> Value toEncodingList :: [Sign] -> Encoding | |
| ToJSON RuleDef Source # | |
Methods toEncoding :: RuleDef -> Encoding toJSONList :: [RuleDef] -> Value toEncodingList :: [RuleDef] -> Encoding | |
| ShATermConvertible STRING Source # | |
Methods toShATermAux :: ATermTable -> STRING -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [STRING] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, STRING) fromShATermList' :: Int -> ATermTable -> (ATermTable, [STRING]) | |
| ShATermConvertible OCL Source # | |
Methods toShATermAux :: ATermTable -> OCL -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OCL] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OCL) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OCL]) | |
| ShATermConvertible RelInvok Source # | |
Methods toShATermAux :: ATermTable -> RelInvok -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RelInvok] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RelInvok) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RelInvok]) | |
| ShATermConvertible WhenWhere Source # | |
Methods toShATermAux :: ATermTable -> WhenWhere -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [WhenWhere] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, WhenWhere) fromShATermList' :: Int -> ATermTable -> (ATermTable, [WhenWhere]) | |
| ShATermConvertible PropertyTemplate Source # | |
Methods toShATermAux :: ATermTable -> PropertyTemplate -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PropertyTemplate] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PropertyTemplate) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PropertyTemplate]) | |
| ShATermConvertible ObjectTemplate Source # | |
Methods toShATermAux :: ATermTable -> ObjectTemplate -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ObjectTemplate] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ObjectTemplate) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ObjectTemplate]) | |
| ShATermConvertible Domain Source # | |
Methods toShATermAux :: ATermTable -> Domain -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Domain] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Domain) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Domain]) | |
| ShATermConvertible PrimitiveDomain Source # | |
Methods toShATermAux :: ATermTable -> PrimitiveDomain -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PrimitiveDomain] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PrimitiveDomain) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PrimitiveDomain]) | |
| ShATermConvertible RelVar Source # | |
Methods toShATermAux :: ATermTable -> RelVar -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RelVar] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RelVar) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RelVar]) | |
| ShATermConvertible Relation Source # | |
Methods toShATermAux :: ATermTable -> Relation -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Relation] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Relation) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Relation]) | |
| ShATermConvertible PropKey Source # | |
Methods toShATermAux :: ATermTable -> PropKey -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PropKey] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PropKey) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PropKey]) | |
| ShATermConvertible Key Source # | |
Methods toShATermAux :: ATermTable -> Key -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Key] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Key) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Key]) | |
| ShATermConvertible Transformation Source # | |
Methods toShATermAux :: ATermTable -> Transformation -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Transformation] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Transformation) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Transformation]) | |
| ShATermConvertible Pattern Source # | |
Methods toShATermAux :: ATermTable -> Pattern -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Pattern] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Pattern) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Pattern]) | |
| ShATermConvertible RelationSen Source # | |
Methods toShATermAux :: ATermTable -> RelationSen -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RelationSen] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RelationSen) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RelationSen]) | |
| 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 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 RuleDef Source # | |
Methods toShATermAux :: ATermTable -> RuleDef -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RuleDef] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RuleDef) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RuleDef]) | |