original_string: public function getTokenShowSnippetNames(\Gems_Tracker_Token $token)
      {
          $output[] = 'Token\\ShowTrackTokenSnippet';
  
          if ($token->isCompleted() && $this->currentUser->hasPrivilege('pr.token.answers')) {
              $output[] = 'Tracker_Answers_SingleTokenAnswerModelSnippet';
          } elseif ($this->currentUser->hasPrivilege('pr.project.questions')) {
              $output[] = 'Survey\\SurveyQuestionsSnippet';
          }
          return $output;
      }
code: public function getTokenShowSnippetNames(\Gems_Tracker_Token $token)
      {
          $output[] = 'Token\\ShowTrackTokenSnippet';
  
          if ($token->isCompleted() && $this->currentUser->hasPrivilege('pr.token.answers')) {
              $output[] = 'Tracker_Answers_SingleTokenAnswerModelSnippet';
          } elseif ($this->currentUser->hasPrivilege('pr.project.questions')) {
              $output[] = 'Survey\\SurveyQuestionsSnippet';
          }
          return $output;
      }
code_tokens: public function getTokenShowSnippetNames ( \ Gems_Tracker_Token $ token ) { $ output [ ] = 'Token\\ShowTrackTokenSnippet' ; if ( $ token -> isCompleted ( ) && $ this -> currentUser -> hasPrivilege ( 'pr.token.answers' ) ) { $ output [ ] = 'Tracker_Answers_SingleTokenAnswerModelSnippet' ; } elseif ( $ this -> currentUser -> hasPrivilege ( 'pr.project.questions' ) ) { $ output [ ] = 'Survey\\SurveyQuestionsSnippet' ; } return $ output ; }
docstring: An array of snippet names for displaying a token
  
  @param \Gems_Tracker_Token $token Allows token status dependent show snippets
  @return array of string snippet names
docstring_tokens: An array of snippet names for displaying a token