original_string: protected function getOptionType($opt)
      {
          if (substr($opt, -1) == '=') {
              return self::REQUIRED;
          } elseif (Strings::contains($opt, '=')) {
              return self::VALUE;
          } else {
              return self::OPTIONAL;
          }
      }
code: protected function getOptionType($opt)
      {
          if (substr($opt, -1) == '=') {
              return self::REQUIRED;
          } elseif (Strings::contains($opt, '=')) {
              return self::VALUE;
          } else {
              return self::OPTIONAL;
          }
      }
code_tokens: protected function getOptionType ( $ opt ) { if ( substr ( $ opt , - 1 ) == '=' ) { return self :: REQUIRED ; } elseif ( Strings :: contains ( $ opt , '=' ) ) { return self :: VALUE ; } else { return self :: OPTIONAL ; } }
docstring: get the type of the option.
docstring_tokens: get the type of the option .