Skip to content
Snippets Groups Projects
Commit 14a9c2df authored by Sophie Coudert's avatar Sophie Coudert
Browse files

comment detail

parent 4b2001f9
No related branches found
No related tags found
3 merge requests!504merge first stable version of Avatar-SysML V2,!503merge the first stable version of the Avatar-SysML parser/generator,!501Avatar sys ml 04 2024
......@@ -116,6 +116,11 @@ public class AvatarDataTypePrimitiveFields {
}
map.put(dt, primitiveFields);
}
/** unroll the nested datatype among the one provided as input to build the lists of primitive fields associated
* to each datatype.
* The returned result is a map that links each datatype with its primitive fields extension.
*/
public static HashMap<AvatarDataType, AvatarDataTypePrimitiveFields> buildMap(List<AvatarDataType> dtList, List<String> err) {
HashMap<AvatarDataType, AvatarDataTypePrimitiveFields> map = new HashMap<AvatarDataType, AvatarDataTypePrimitiveFields>();
for(AvatarDataType dt : dtList) buildPrimitiveFields(dt, map, new ArrayList<AvatarAttribute>(), err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment