parameters: (enum)
docstring: Returns the stateType string given an enum.
docstring_summary: Returns the stateType string given an enum.
docstring_tokens: Returns the stateType string given an enum .
function: def state_type_to_str(enum):
      """Returns the stateType string given an enum."""
      if enum == lldb.eStateInvalid:
          return "invalid"
      elif enum == lldb.eStateUnloaded:
          return "unloaded"
      elif enum == lldb.eStateConnected:
          return "connected"
      elif enum == lldb.eStateAttaching:
          return "attaching"
      elif enum == lldb.eStateLaunching:
          return "launching"
      elif enum == lldb.eStateStopped:
          return "stopped"
      elif enum == lldb.eStateRunning:
          return "running"
      elif enum == lldb.eStateStepping:
          return "stepping"
      elif enum == lldb.eStateCrashed:
          return "crashed"
      elif enum == lldb.eStateDetached:
          return "detached"
      elif enum == lldb.eStateExited:
          return "exited"
      elif enum == lldb.eStateSuspended:
          return "suspended"
      else:
          raise Exception("Unknown StateType enum")
function_tokens: def state_type_to_str ( enum ) : if enum == lldb . eStateInvalid : return "invalid" elif enum == lldb . eStateUnloaded : return "unloaded" elif enum == lldb . eStateConnected : return "connected" elif enum == lldb . eStateAttaching : return "attaching" elif enum == lldb . eStateLaunching : return "launching" elif enum == lldb . eStateStopped : return "stopped" elif enum == lldb . eStateRunning : return "running" elif enum == lldb . eStateStepping : return "stepping" elif enum == lldb . eStateCrashed : return "crashed" elif enum == lldb . eStateDetached : return "detached" elif enum == lldb . eStateExited : return "exited" elif enum == lldb . eStateSuspended : return "suspended" else : raise Exception ( "Unknown StateType enum" )