original_docstring: 
      Converts the state of a component instance to its string representation
  
      :param state: The state of an iPOPO component
      :return: A string representation of the state
      
docstring: Converts the state of a component instance to its string representation
docstring_tokens: Converts the state of a component instance to its string representation
code: def ipopo_state_to_str(state):
      """
      Converts the state of a component instance to its string representation
  
      :param state: The state of an iPOPO component
      :return: A string representation of the state
      """
      ipopo_states = {
          0: "INVALID",
          1: "VALID",
          2: "KILLED",
          3: "VALIDATING",
          4: "ERRONEOUS",
      }
  
      return ipopo_states.get(state, "Unknown state ({0})".format(state))
code_tokens: def ipopo_state_to_str ( state ) : ipopo_states = { 0 : "INVALID" , 1 : "VALID" , 2 : "KILLED" , 3 : "VALIDATING" , 4 : "ERRONEOUS" , } return ipopo_states . get ( state , "Unknown state ({0})" . format ( state ) )
short_docstring: Converts the state of a component instance to its string representation
short_docstring_tokens: Converts the state of a component instance to its string representation
comment: """
      Converts the state of a component instance to its string representation
  
      :param state: The state of an iPOPO component
      :return: A string representation of the state
      """