MRestForm contentForm = (MRestForm) childForm;
MRest contentNode = (MRest) contentForm.getMeiNode();
return contentNode;
} else if (childForm instanceof SpaceForm) {
SpaceForm contentForm = (SpaceForm) childForm;
Space contentNode = (Space) contentForm.getMeiNode();
return contentNode;
} else if (childForm instanceof DynamForm) {
DynamForm contentForm = (DynamForm) childForm;
Dynam contentNode = (Dynam) contentForm.getMeiNode();
for (BasicElement contentChildForm : contentForm.getChildren()) {
contentNode.getContent().add(
handleScoreChild(contentChildForm, saveAllVariants));
}
return contentNode;
} else if (childForm instanceof TieForm) {
TieForm contentForm = (TieForm) childForm;