parameters: (self)
return_statement: return self._CreateStructList(self._Prefix() + 'states_external',
                                    'int',
                                    list)
docstring: Print a struct with a mapping from internal to external states.
docstring_summary: Print a struct with a mapping from internal to external states.
docstring_tokens: Print a struct with a mapping from internal to external states .
function: def _CreateStatesExternal(self):
      """Print a struct with a mapping from internal to external states."""
      list = []  # output list
  
      for state_name in self._config.states:
        list.append(self._StateExternalC(
                                  self._config.states[state_name].external_name))
  
      return self._CreateStructList(self._Prefix() + 'states_external',
                                    'int',
                                    list)
function_tokens: def _CreateStatesExternal ( self ) : list = [ ] # output list for state_name in self . _config . states : list . append ( self . _StateExternalC ( self . _config . states [ state_name ] . external_name ) ) return self . _CreateStructList ( self . _Prefix ( ) + 'states_external' , 'int' , list )