# Resolve all of our field datatypes.
for index, child in enumerate(list(self.elt)):
if child.tag == 'bitcase':
# use self.parent to indicate anchestor,
# as switch does not contain named fields itself
# Resolve all of our field datatypes.
for index, child in enumerate(list(self.elt)):
if child.tag == 'bitcase':
# use self.parent to indicate anchestor,
# as switch does not contain named fields itself