|
@@ -32,10 +32,10 @@ Boolean function find_type_mapping(model : Element):
|
|
|
// 2) find a mapping based on the current partial mapping, but only if it is not yet complete
|
|
|
// TODO this must be expanded for other things than trivial metamodels!
|
|
|
if (dict_len(model["model"]) > dict_len(tm)):
|
|
|
- log("Model is incompletely typed!")
|
|
|
- log("Model has: " + set_to_string(dict_keys(model["model"])))
|
|
|
- log("Type mapping has: " + set_to_string(dict_keys(tm)))
|
|
|
- log("Missing: " + set_to_string(set_difference(dict_keys(model["model"]), dict_keys(tm))))
|
|
|
+ // log("Model is incompletely typed!")
|
|
|
+ // log("Model has: " + set_to_string(dict_keys(model["model"])))
|
|
|
+ // log("Type mapping has: " + set_to_string(dict_keys(tm)))
|
|
|
+ // log("Missing: " + set_to_string(set_difference(dict_keys(model["model"]), dict_keys(tm))))
|
|
|
|
|
|
// TODO for now, this only returns something for a simple case, where the MM has one edge, and one node
|
|
|
// and it makes the assumption that SCD is the M3 level...
|