parameters: (self, structname)
return_statement: return '_'.join(structure_type_parts)
docstring: Generate a structure type name, like VK_STRUCTURE_TYPE_CREATE_INSTANCE_INFO
docstring_summary: Generate a structure type name, like VK_STRUCTURE_TYPE_CREATE_INSTANCE_INFO
docstring_tokens: Generate a structure type name like VK_STRUCTURE_TYPE_CREATE_INSTANCE_INFO
function: def generate_structure_type_from_name(self, structname):
          """Generate a structure type name, like VK_STRUCTURE_TYPE_CREATE_INSTANCE_INFO"""
          structure_type_parts = []
          # Tokenize into "words"
          for elem in MAIN_RE.findall(structname):
              word = elem[0]
              if word == 'Vk':
                  structure_type_parts.append('VK_STRUCTURE_TYPE')
              else:
                  structure_type_parts.append(word.upper())
          return '_'.join(structure_type_parts)
function_tokens: def generate_structure_type_from_name ( self , structname ) : structure_type_parts = [ ] # Tokenize into "words" for elem in MAIN_RE . findall ( structname ) : word = elem [ 0 ] if word == 'Vk' : structure_type_parts . append ( 'VK_STRUCTURE_TYPE' ) else : structure_type_parts . append ( word . upper ( ) ) return '_' . join ( structure_type_parts )