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):
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 # | |
type Rep PropertyTemplate :: Type -> Type from :: PropertyTemplate -> Rep PropertyTemplate x to :: Rep PropertyTemplate x -> PropertyTemplate | |
Generic ObjectTemplate Source # | |
type Rep ObjectTemplate :: Type -> Type from :: ObjectTemplate -> Rep ObjectTemplate x to :: Rep ObjectTemplate x -> ObjectTemplate | |
Generic Domain Source # | |
Generic PrimitiveDomain Source # | |
type Rep PrimitiveDomain :: Type -> Type 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 # | |
type Rep Transformation :: Type -> Type from :: Transformation -> Rep Transformation x to :: Rep Transformation x -> Transformation | |
Generic Pattern Source # | |
Generic RelationSen Source # | |
type Rep RelationSen :: Type -> Type from :: RelationSen -> Rep RelationSen x to :: Rep RelationSen x -> RelationSen | |
Generic Sen Source # | |
Generic Sign Source # | |
Generic RuleDef Source # | |
FromJSON STRING Source # | |
parseJSON :: Value -> Parser STRING parseJSONList :: Value -> Parser [STRING] | |
FromJSON OCL Source # | |
parseJSON :: Value -> Parser OCL parseJSONList :: Value -> Parser [OCL] | |
FromJSON RelInvok Source # | |
parseJSON :: Value -> Parser RelInvok parseJSONList :: Value -> Parser [RelInvok] | |
FromJSON WhenWhere Source # | |
parseJSON :: Value -> Parser WhenWhere parseJSONList :: Value -> Parser [WhenWhere] | |
FromJSON PropertyTemplate Source # | |
parseJSON :: Value -> Parser PropertyTemplate parseJSONList :: Value -> Parser [PropertyTemplate] | |
FromJSON ObjectTemplate Source # | |
parseJSON :: Value -> Parser ObjectTemplate parseJSONList :: Value -> Parser [ObjectTemplate] | |
FromJSON Domain Source # | |
parseJSON :: Value -> Parser Domain parseJSONList :: Value -> Parser [Domain] | |
FromJSON PrimitiveDomain Source # | |
parseJSON :: Value -> Parser PrimitiveDomain parseJSONList :: Value -> Parser [PrimitiveDomain] | |
FromJSON RelVar Source # | |
parseJSON :: Value -> Parser RelVar parseJSONList :: Value -> Parser [RelVar] | |
FromJSON Relation Source # | |
parseJSON :: Value -> Parser Relation parseJSONList :: Value -> Parser [Relation] | |
FromJSON PropKey Source # | |
parseJSON :: Value -> Parser PropKey parseJSONList :: Value -> Parser [PropKey] | |
FromJSON Key Source # | |
parseJSON :: Value -> Parser Key parseJSONList :: Value -> Parser [Key] | |
FromJSON Transformation Source # | |
parseJSON :: Value -> Parser Transformation parseJSONList :: Value -> Parser [Transformation] | |
FromJSON Pattern Source # | |
parseJSON :: Value -> Parser Pattern parseJSONList :: Value -> Parser [Pattern] | |
FromJSON RelationSen Source # | |
parseJSON :: Value -> Parser RelationSen parseJSONList :: Value -> Parser [RelationSen] | |
FromJSON Sen Source # | |
parseJSON :: Value -> Parser Sen parseJSONList :: Value -> Parser [Sen] | |
FromJSON Sign Source # | |
parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
FromJSON RuleDef Source # | |
parseJSON :: Value -> Parser RuleDef parseJSONList :: Value -> Parser [RuleDef] | |
ToJSON STRING Source # | |
toEncoding :: STRING -> Encoding toJSONList :: [STRING] -> Value toEncodingList :: [STRING] -> Encoding | |
ToJSON OCL Source # | |
ToJSON RelInvok Source # | |
toEncoding :: RelInvok -> Encoding toJSONList :: [RelInvok] -> Value toEncodingList :: [RelInvok] -> Encoding | |
ToJSON WhenWhere Source # | |
toEncoding :: WhenWhere -> Encoding toJSONList :: [WhenWhere] -> Value toEncodingList :: [WhenWhere] -> Encoding | |
ToJSON PropertyTemplate Source # | |
toJSON :: PropertyTemplate -> Value toEncoding :: PropertyTemplate -> Encoding toJSONList :: [PropertyTemplate] -> Value toEncodingList :: [PropertyTemplate] -> Encoding | |
ToJSON ObjectTemplate Source # | |
toJSON :: ObjectTemplate -> Value toEncoding :: ObjectTemplate -> Encoding toJSONList :: [ObjectTemplate] -> Value toEncodingList :: [ObjectTemplate] -> Encoding | |
ToJSON Domain Source # | |
toEncoding :: Domain -> Encoding toJSONList :: [Domain] -> Value toEncodingList :: [Domain] -> Encoding | |
ToJSON PrimitiveDomain Source # | |
toJSON :: PrimitiveDomain -> Value toEncoding :: PrimitiveDomain -> Encoding toJSONList :: [PrimitiveDomain] -> Value toEncodingList :: [PrimitiveDomain] -> Encoding | |
ToJSON RelVar Source # | |
toEncoding :: RelVar -> Encoding toJSONList :: [RelVar] -> Value toEncodingList :: [RelVar] -> Encoding | |
ToJSON Relation Source # | |
toEncoding :: Relation -> Encoding toJSONList :: [Relation] -> Value toEncodingList :: [Relation] -> Encoding | |
ToJSON PropKey Source # | |
toEncoding :: PropKey -> Encoding toJSONList :: [PropKey] -> Value toEncodingList :: [PropKey] -> Encoding | |
ToJSON Key Source # | |
ToJSON Transformation Source # | |
toJSON :: Transformation -> Value toEncoding :: Transformation -> Encoding toJSONList :: [Transformation] -> Value toEncodingList :: [Transformation] -> Encoding | |
ToJSON Pattern Source # | |
toEncoding :: Pattern -> Encoding toJSONList :: [Pattern] -> Value toEncodingList :: [Pattern] -> Encoding | |
ToJSON RelationSen Source # | |
toJSON :: RelationSen -> Value toEncoding :: RelationSen -> Encoding toJSONList :: [RelationSen] -> Value toEncodingList :: [RelationSen] -> Encoding | |
ToJSON Sen Source # | |
ToJSON Sign Source # | |
ToJSON RuleDef Source # | |
toEncoding :: RuleDef -> Encoding toJSONList :: [RuleDef] -> Value toEncodingList :: [RuleDef] -> Encoding | |
ShATermConvertible STRING Source # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
toShATermAux :: ATermTable -> RuleDef -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RuleDef] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RuleDef) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RuleDef]) |