def _get_group_no(self, tag_name):
if tag_name in self.full:<EOL><INDENT>return self.groups.index(self.full[tag_name]["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>return len(self.groups)<EOL><DEDENT>
Takes tag name and returns the number of the group to which tag belongs