Hets - the Heterogeneous Tool Set

Copyright(c) Daniel Calegari Universidad de la Republica Uruguay 2013
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerdcalegar@fing.edu.uy
Stabilityprovisional
Portabilityportable
Safe HaskellSafe

CSMOF.Parser

Description

 

Synopsis

Documentation

checkXMLStructure :: Element -> Bool Source #

parseElements :: Element -> Metamodel -> Map String String -> [NamedElement] Source #

createElement :: Metamodel -> Map String String -> Element -> [NamedElement] Source #

parseElementSuperClass :: Element -> [String] Source #

createDataType :: Metamodel -> Map String String -> String -> [NamedElement] Source #

createClass :: Metamodel -> Map String String -> String -> Bool -> [String] -> Element -> [NamedElement] Source #

createProperty :: Metamodel -> Map String String -> Class -> Element -> Property Source #

parsePropertyType :: Map String String -> Metamodel -> Element -> Type Source #

parsePropertyOpposite :: Map String String -> Metamodel -> Element -> Type -> Type -> Maybe Property Source #

parseModels :: Element -> Metamodel -> Map String String -> [Model] Source #

createModel :: Metamodel -> Map String String -> Element -> Model Source #

parseObjects :: Metamodel -> Model -> Map String String -> Element -> [Object] Source #

createObject :: Metamodel -> Model -> Map String String -> Element -> Object Source #

parseLinks :: Metamodel -> Model -> Map String String -> Element -> [Link] Source #

createLink :: Metamodel -> Model -> Map String String -> Element -> Link Source #

parseStringAttribute :: Element -> QName -> String Source #

parseIntegerAttribute :: Element -> QName -> Integer Source #

parseBoolAttribute :: Element -> QName -> Bool Source #

linkClass :: Map String String -> Metamodel -> String -> Class Source #

linkObject :: Map String String -> Metamodel -> String -> Object Source #

linkTypeElem :: Map String String -> Metamodel -> String -> Type Source #

linkProperty :: Map String String -> Metamodel -> String -> Type -> Type -> Property Source #

equalClassName :: String -> NamedElement -> Bool Source #

equalObjectName :: String -> Object -> Bool Source #

equalTypeName :: String -> NamedElement -> Bool Source #

sameProperty :: String -> Type -> Type -> NamedElement -> Bool Source #

equalPropertyName :: String -> NamedElement -> Bool Source #

rightModel :: Map String String -> Metamodel -> String -> Model Source #

isModel :: Map String String -> String -> Model -> Bool Source #

getModelKey :: String -> String Source #

findElementInMap :: String -> Map String String -> String Source #

generateKeyMap :: Element -> Map String String Source #

createElementKey :: Element -> (Integer, Map String String) -> (Integer, Map String String) Source #

createModelKey :: Element -> (Integer, Map String String) -> (Integer, Map String String) Source #

createChildrenKeys :: Element -> (String, Integer, Map String String) -> (String, Integer, Map String String) Source #

third :: (String, Integer, Map String String) -> Map String String Source #

err :: String -> t Source #

error messages for the parser