Bladeren bron

Allow AttributeLink to be created

Yentl Van Tendeloo 7 jaren geleden
bovenliggende
commit
3b8b60276d
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      bootstrap/metamodels.alt

+ 2 - 0
bootstrap/metamodels.alt

@@ -130,6 +130,7 @@ Element function initialize_SCD(location : String):
 	instantiate_attribute(scd, "Natural", "name", "Natural")
 	instantiate_attribute(scd, "Boolean", "name", "Boolean")
 	instantiate_attribute(scd, "Inheritance", "name", "Inheritance")
+	instantiate_attribute(scd, "AttributeLink", "name", "AttributeLink")
 
 	// Export already, to allow AL to pick it up
 	export_node(location, scd)
@@ -150,6 +151,7 @@ Element function initialize_SCD(location : String):
 
 	instantiate_node(scd, "Class", "GlobalConstraint")
 	model_define_attribute(scd, "GlobalConstraint", "global_constraint", False, "ActionLanguage")
+	instantiate_attribute(scd, "GlobalConstraint", "name", "GlobalConstraint")
 
 	dict_overwrite(scd, "types", get_type_mapping(scd))