Copyright | (c) Daniel Calegari Universidad de la Republica, Uruguay 2013 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | dcalegar@fing.edu.uy |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
- parseCSMOF :: Element -> Metamodel
- checkXMLStructure :: Element -> Bool
- parseElements :: Element -> Metamodel -> Map String String -> [NamedElement]
- createElement :: Metamodel -> Map String String -> Element -> [NamedElement]
- parseElementSuperClass :: Element -> [String]
- createDataType :: Metamodel -> Map String String -> String -> [NamedElement]
- createClass :: Metamodel -> Map String String -> String -> Bool -> [String] -> Element -> [NamedElement]
- createProperty :: Metamodel -> Map String String -> Class -> Element -> Property
- parsePropertyType :: Map String String -> Metamodel -> Element -> Type
- parsePropertyOpposite :: Map String String -> Metamodel -> Element -> Type -> Type -> Maybe Property
- parseModels :: Element -> Metamodel -> Map String String -> [Model]
- createModel :: Metamodel -> Map String String -> Element -> Model
- parseObjects :: Metamodel -> Model -> Map String String -> Element -> [Object]
- createObject :: Metamodel -> Model -> Map String String -> Element -> Object
- parseLinks :: Metamodel -> Model -> Map String String -> Element -> [Link]
- createLink :: Metamodel -> Model -> Map String String -> Element -> Link
- parseStringAttribute :: Element -> QName -> String
- parseIntegerAttribute :: Element -> QName -> Integer
- parseBoolAttribute :: Element -> QName -> Bool
- linkClass :: Map String String -> Metamodel -> String -> Class
- linkObject :: Map String String -> Metamodel -> String -> Object
- linkTypeElem :: Map String String -> Metamodel -> String -> Type
- linkProperty :: Map String String -> Metamodel -> String -> Type -> Type -> Property
- equalClassName :: String -> NamedElement -> Bool
- toClass :: NamedElement -> Class
- equalObjectName :: String -> Object -> Bool
- equalTypeName :: String -> NamedElement -> Bool
- toType :: NamedElement -> Type
- sameProperty :: String -> Type -> Type -> NamedElement -> Bool
- getSuperTypesNames :: Type -> [String]
- equalPropertyName :: String -> NamedElement -> Bool
- toProperty :: NamedElement -> Property
- rightModel :: Map String String -> Metamodel -> String -> Model
- isModel :: Map String String -> String -> Model -> Bool
- getModelKey :: String -> String
- findElementInMap :: String -> Map String String -> String
- generateKeyMap :: Element -> Map String String
- createElementKey :: Element -> (Integer, Map String String) -> (Integer, Map String String)
- createModelKey :: Element -> (Integer, Map String String) -> (Integer, Map String String)
- createChildrenKeys :: Element -> (String, Integer, Map String String) -> (String, Integer, Map String String)
- third :: (String, Integer, Map String String) -> Map String String
- err :: String -> t
Documentation
parseCSMOF :: Element -> Metamodel
checkXMLStructure :: Element -> Bool
parseElements :: Element -> Metamodel -> Map String String -> [NamedElement]
createElement :: Metamodel -> Map String String -> Element -> [NamedElement]
parseElementSuperClass :: Element -> [String]
createDataType :: Metamodel -> Map String String -> String -> [NamedElement]
createClass :: Metamodel -> Map String String -> String -> Bool -> [String] -> Element -> [NamedElement]
parsePropertyOpposite :: Map String String -> Metamodel -> Element -> Type -> Type -> Maybe Property
parseStringAttribute :: Element -> QName -> String
parseIntegerAttribute :: Element -> QName -> Integer
parseBoolAttribute :: Element -> QName -> Bool
equalClassName :: String -> NamedElement -> Bool
toClass :: NamedElement -> Class
equalObjectName :: String -> Object -> Bool
equalTypeName :: String -> NamedElement -> Bool
toType :: NamedElement -> Type
sameProperty :: String -> Type -> Type -> NamedElement -> Bool
getSuperTypesNames :: Type -> [String]
equalPropertyName :: String -> NamedElement -> Bool
toProperty :: NamedElement -> Property
getModelKey :: String -> String
generateKeyMap :: Element -> Map String String