original_string: public function addState($state)
      {
          $this->_states[$state] = $state;
  
          if ($this->_currentState === null) {
              $this->_currentState = $state;
          }
      }
code: public function addState($state)
      {
          $this->_states[$state] = $state;
  
          if ($this->_currentState === null) {
              $this->_currentState = $state;
          }
      }
code_tokens: public function addState ( $ state ) { $ this -> _states [ $ state ] = $ state ; if ( $ this -> _currentState === null ) { $ this -> _currentState = $ state ; } }
docstring: Add state to the state machine
  
  @param integer|string $state
docstring_tokens: Add state to the state machine