// now we need to infer the sub-sub-group, which is the object of the operation, f.e. if the
// operation is "Create Entity", the the sub-sub-group is "Entity"
}
if (is_a_behaviour_header(type,value)&&i_am_inside===false){
i_am_inside=true;
testcasemetadata.seqnumber++;
console.log("entering "+value[2][0].c+" META "+testcasemetadata.group_fromspec+""+testcasemetadata.subgroup_fromspec+""+testcasemetadata.operation_fromspec);
}
elseif (i_am_inside===true&&type==="Header"){// i get out once i reach whatever Header follows
i_am_inside=false;
// ressetting the subindex
testcasemetadata.progressive_subid=0;
console.log("exiting "+value[2][0].c);
current_index--;// parse the current exit block again because we might have two good blocks back-to-back
print(f"entering {entering_text} META {testcasemetadata['group_fromspec']}{testcasemetadata['subgroup_fromspec']}{testcasemetadata['operation_fromspec']}")
elifi_am_insideandtype=="Header":
# i get out once i reach whatever Header follows
i_am_inside=False
testcasemetadata['progressive_subid']=0
exiting_text=value[2][0]['c']
print(f"exiting {exiting_text}")
current_index-=1# parse the current exit block again because we might have two good blocks back-to-back