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 |
Maude.ATC_Maude
Contents
Description
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
Sign
Morphism
Sentence
Symbol
SymbolKind
MaudeText
Spec
Module
View
Parameter
ModExp
Renaming
ToPartRenaming
Statement
Import
SubsortDecl
Operator
Membership
Equation
Rule
Condition
Attr
StmntAttr
Hook
Term
Type
Sort
Kind
ParamId
ViewId
ModId
LabelId
OpId
Orphan instances
Generic OpId Source # | |
Generic LabelId Source # | |
Generic ModId Source # | |
Generic ViewId Source # | |
Generic ParamId Source # | |
Generic Kind Source # | |
Generic Sort Source # | |
Generic Type Source # | |
Generic Term Source # | |
Generic Hook Source # | |
Generic StmntAttr Source # | |
Generic Attr Source # | |
Generic Condition Source # | |
Generic Rule Source # | |
Generic Equation Source # | |
Generic Membership Source # | |
Associated Types type Rep Membership :: Type -> Type | |
Generic Operator Source # | |
Generic SubsortDecl Source # | |
Associated Types type Rep SubsortDecl :: Type -> Type | |
Generic Import Source # | |
Generic Statement Source # | |
Generic ToPartRenaming Source # | |
Associated Types type Rep ToPartRenaming :: Type -> Type | |
Generic Renaming Source # | |
Generic ModExp Source # | |
Generic Parameter Source # | |
Generic View Source # | |
Generic Module Source # | |
Generic Spec Source # | |
Generic MaudeText Source # | |
Generic SymbolKind Source # | |
Associated Types type Rep SymbolKind :: Type -> Type | |
Generic Symbol Source # | |
Generic Sentence Source # | |
Generic Sign Source # | |
Generic Morphism Source # | |
FromJSON OpId Source # | |
FromJSON LabelId Source # | |
FromJSON ModId Source # | |
FromJSON ViewId Source # | |
FromJSON ParamId Source # | |
FromJSON Kind Source # | |
FromJSON Sort Source # | |
FromJSON Type Source # | |
FromJSON Term Source # | |
FromJSON Hook Source # | |
FromJSON StmntAttr Source # | |
FromJSON Attr Source # | |
FromJSON Condition Source # | |
FromJSON Rule Source # | |
FromJSON Equation Source # | |
FromJSON Membership Source # | |
FromJSON Operator Source # | |
FromJSON SubsortDecl Source # | |
FromJSON Import Source # | |
FromJSON Statement Source # | |
FromJSON ToPartRenaming Source # | |
FromJSON Renaming Source # | |
FromJSON ModExp Source # | |
FromJSON Parameter Source # | |
FromJSON View Source # | |
FromJSON Module Source # | |
FromJSON Spec Source # | |
FromJSON MaudeText Source # | |
FromJSON SymbolKind Source # | |
FromJSON Symbol Source # | |
FromJSON Sentence Source # | |
FromJSON Sign Source # | |
FromJSON Morphism Source # | |
ToJSON OpId Source # | |
Methods toEncoding :: OpId -> Encoding toJSONList :: [OpId] -> Value toEncodingList :: [OpId] -> Encoding | |
ToJSON LabelId Source # | |
Methods toEncoding :: LabelId -> Encoding toJSONList :: [LabelId] -> Value toEncodingList :: [LabelId] -> Encoding | |
ToJSON ModId Source # | |
Methods toEncoding :: ModId -> Encoding toJSONList :: [ModId] -> Value toEncodingList :: [ModId] -> Encoding | |
ToJSON ViewId Source # | |
Methods toEncoding :: ViewId -> Encoding toJSONList :: [ViewId] -> Value toEncodingList :: [ViewId] -> Encoding | |
ToJSON ParamId Source # | |
Methods toEncoding :: ParamId -> Encoding toJSONList :: [ParamId] -> Value toEncodingList :: [ParamId] -> Encoding | |
ToJSON Kind Source # | |
Methods toEncoding :: Kind -> Encoding toJSONList :: [Kind] -> Value toEncodingList :: [Kind] -> Encoding | |
ToJSON Sort Source # | |
Methods toEncoding :: Sort -> Encoding toJSONList :: [Sort] -> Value toEncodingList :: [Sort] -> Encoding | |
ToJSON Type Source # | |
Methods toEncoding :: Type -> Encoding toJSONList :: [Type] -> Value toEncodingList :: [Type] -> Encoding | |
ToJSON Term Source # | |
Methods toEncoding :: Term -> Encoding toJSONList :: [Term] -> Value toEncodingList :: [Term] -> Encoding | |
ToJSON Hook Source # | |
Methods toEncoding :: Hook -> Encoding toJSONList :: [Hook] -> Value toEncodingList :: [Hook] -> Encoding | |
ToJSON StmntAttr Source # | |
Methods toEncoding :: StmntAttr -> Encoding toJSONList :: [StmntAttr] -> Value toEncodingList :: [StmntAttr] -> Encoding | |
ToJSON Attr Source # | |
Methods toEncoding :: Attr -> Encoding toJSONList :: [Attr] -> Value toEncodingList :: [Attr] -> Encoding | |
ToJSON Condition Source # | |
Methods toEncoding :: Condition -> Encoding toJSONList :: [Condition] -> Value toEncodingList :: [Condition] -> Encoding | |
ToJSON Rule Source # | |
Methods toEncoding :: Rule -> Encoding toJSONList :: [Rule] -> Value toEncodingList :: [Rule] -> Encoding | |
ToJSON Equation Source # | |
Methods toEncoding :: Equation -> Encoding toJSONList :: [Equation] -> Value toEncodingList :: [Equation] -> Encoding | |
ToJSON Membership Source # | |
Methods toJSON :: Membership -> Value toEncoding :: Membership -> Encoding toJSONList :: [Membership] -> Value toEncodingList :: [Membership] -> Encoding | |
ToJSON Operator Source # | |
Methods toEncoding :: Operator -> Encoding toJSONList :: [Operator] -> Value toEncodingList :: [Operator] -> Encoding | |
ToJSON SubsortDecl Source # | |
Methods toJSON :: SubsortDecl -> Value toEncoding :: SubsortDecl -> Encoding toJSONList :: [SubsortDecl] -> Value toEncodingList :: [SubsortDecl] -> Encoding | |
ToJSON Import Source # | |
Methods toEncoding :: Import -> Encoding toJSONList :: [Import] -> Value toEncodingList :: [Import] -> Encoding | |
ToJSON Statement Source # | |
Methods toEncoding :: Statement -> Encoding toJSONList :: [Statement] -> Value toEncodingList :: [Statement] -> Encoding | |
ToJSON ToPartRenaming Source # | |
Methods toJSON :: ToPartRenaming -> Value toEncoding :: ToPartRenaming -> Encoding toJSONList :: [ToPartRenaming] -> Value toEncodingList :: [ToPartRenaming] -> Encoding | |
ToJSON Renaming Source # | |
Methods toEncoding :: Renaming -> Encoding toJSONList :: [Renaming] -> Value toEncodingList :: [Renaming] -> Encoding | |
ToJSON ModExp Source # | |
Methods toEncoding :: ModExp -> Encoding toJSONList :: [ModExp] -> Value toEncodingList :: [ModExp] -> Encoding | |
ToJSON Parameter Source # | |
Methods toEncoding :: Parameter -> Encoding toJSONList :: [Parameter] -> Value toEncodingList :: [Parameter] -> Encoding | |
ToJSON View Source # | |
Methods toEncoding :: View -> Encoding toJSONList :: [View] -> Value toEncodingList :: [View] -> Encoding | |
ToJSON Module Source # | |
Methods toEncoding :: Module -> Encoding toJSONList :: [Module] -> Value toEncodingList :: [Module] -> Encoding | |
ToJSON Spec Source # | |
Methods toEncoding :: Spec -> Encoding toJSONList :: [Spec] -> Value toEncodingList :: [Spec] -> Encoding | |
ToJSON MaudeText Source # | |
Methods toEncoding :: MaudeText -> Encoding toJSONList :: [MaudeText] -> Value toEncodingList :: [MaudeText] -> Encoding | |
ToJSON SymbolKind Source # | |
Methods toJSON :: SymbolKind -> Value toEncoding :: SymbolKind -> Encoding toJSONList :: [SymbolKind] -> Value toEncodingList :: [SymbolKind] -> Encoding | |
ToJSON Symbol Source # | |
Methods toEncoding :: Symbol -> Encoding toJSONList :: [Symbol] -> Value toEncodingList :: [Symbol] -> Encoding | |
ToJSON Sentence Source # | |
Methods toEncoding :: Sentence -> Encoding toJSONList :: [Sentence] -> Value toEncodingList :: [Sentence] -> Encoding | |
ToJSON Sign Source # | |
Methods toEncoding :: Sign -> Encoding toJSONList :: [Sign] -> Value toEncodingList :: [Sign] -> Encoding | |
ToJSON Morphism Source # | |
Methods toEncoding :: Morphism -> Encoding toJSONList :: [Morphism] -> Value toEncodingList :: [Morphism] -> Encoding | |
ShATermConvertible OpId Source # | |
Methods toShATermAux :: ATermTable -> OpId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpId]) | |
ShATermConvertible LabelId Source # | |
Methods toShATermAux :: ATermTable -> LabelId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [LabelId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, LabelId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [LabelId]) | |
ShATermConvertible ModId Source # | |
Methods toShATermAux :: ATermTable -> ModId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ModId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ModId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ModId]) | |
ShATermConvertible ViewId Source # | |
Methods toShATermAux :: ATermTable -> ViewId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ViewId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ViewId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ViewId]) | |
ShATermConvertible ParamId Source # | |
Methods toShATermAux :: ATermTable -> ParamId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ParamId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ParamId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ParamId]) | |
ShATermConvertible Kind Source # | |
Methods toShATermAux :: ATermTable -> Kind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Kind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Kind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Kind]) | |
ShATermConvertible Sort Source # | |
Methods toShATermAux :: ATermTable -> Sort -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sort] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sort) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sort]) | |
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 Term Source # | |
Methods toShATermAux :: ATermTable -> Term -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Term] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Term) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Term]) | |
ShATermConvertible Hook Source # | |
Methods toShATermAux :: ATermTable -> Hook -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Hook] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Hook) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Hook]) | |
ShATermConvertible StmntAttr Source # | |
Methods toShATermAux :: ATermTable -> StmntAttr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [StmntAttr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, StmntAttr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [StmntAttr]) | |
ShATermConvertible Attr Source # | |
Methods toShATermAux :: ATermTable -> Attr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Attr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Attr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Attr]) | |
ShATermConvertible Condition Source # | |
Methods toShATermAux :: ATermTable -> Condition -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Condition] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Condition) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Condition]) | |
ShATermConvertible Rule Source # | |
Methods toShATermAux :: ATermTable -> Rule -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Rule] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Rule) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Rule]) | |
ShATermConvertible Equation Source # | |
Methods toShATermAux :: ATermTable -> Equation -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Equation] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Equation) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Equation]) | |
ShATermConvertible Membership Source # | |
Methods toShATermAux :: ATermTable -> Membership -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Membership] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Membership) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Membership]) | |
ShATermConvertible Operator Source # | |
Methods toShATermAux :: ATermTable -> Operator -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Operator] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Operator) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Operator]) | |
ShATermConvertible SubsortDecl Source # | |
Methods toShATermAux :: ATermTable -> SubsortDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SubsortDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SubsortDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SubsortDecl]) | |
ShATermConvertible Import Source # | |
Methods toShATermAux :: ATermTable -> Import -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Import] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Import) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Import]) | |
ShATermConvertible Statement Source # | |
Methods toShATermAux :: ATermTable -> Statement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Statement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Statement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Statement]) | |
ShATermConvertible ToPartRenaming Source # | |
Methods toShATermAux :: ATermTable -> ToPartRenaming -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ToPartRenaming] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ToPartRenaming) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ToPartRenaming]) | |
ShATermConvertible Renaming Source # | |
Methods toShATermAux :: ATermTable -> Renaming -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Renaming] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Renaming) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Renaming]) | |
ShATermConvertible ModExp Source # | |
Methods toShATermAux :: ATermTable -> ModExp -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ModExp] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ModExp) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ModExp]) | |
ShATermConvertible Parameter Source # | |
Methods toShATermAux :: ATermTable -> Parameter -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Parameter] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Parameter) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Parameter]) | |
ShATermConvertible View Source # | |
Methods toShATermAux :: ATermTable -> View -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [View] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, View) fromShATermList' :: Int -> ATermTable -> (ATermTable, [View]) | |
ShATermConvertible Module Source # | |
Methods toShATermAux :: ATermTable -> Module -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Module] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Module) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Module]) | |
ShATermConvertible Spec Source # | |
Methods toShATermAux :: ATermTable -> Spec -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Spec] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Spec) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Spec]) | |
ShATermConvertible MaudeText Source # | |
Methods toShATermAux :: ATermTable -> MaudeText -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MaudeText] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MaudeText) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MaudeText]) | |
ShATermConvertible SymbolKind Source # | |
Methods toShATermAux :: ATermTable -> SymbolKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbolKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbolKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbolKind]) | |
ShATermConvertible Symbol Source # | |
Methods toShATermAux :: ATermTable -> Symbol -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Symbol] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Symbol) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Symbol]) | |
ShATermConvertible Sentence Source # | |
Methods toShATermAux :: ATermTable -> Sentence -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sentence] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sentence) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sentence]) | |
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 Morphism Source # | |
Methods toShATermAux :: ATermTable -> Morphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Morphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Morphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Morphism]) |