original_string: private function addPragma($text, $index)
      {
          $end    = strpos($text, $this->ctag, $index);
          $pragma = trim(substr($text, $index + 2, $end - $index - 2));
  
          // Pragmas are hoisted to the front of the template.
          array_unshift($this->tokens, array(
              self::TYPE => self::T_PRAGMA,
              self::NAME => $pragma,
              self::LINE => 0,
          ));
  
          return $end + $this->ctagLen - 1;
      }
code: private function addPragma($text, $index)
      {
          $end    = strpos($text, $this->ctag, $index);
          $pragma = trim(substr($text, $index + 2, $end - $index - 2));
  
          // Pragmas are hoisted to the front of the template.
          array_unshift($this->tokens, array(
              self::TYPE => self::T_PRAGMA,
              self::NAME => $pragma,
              self::LINE => 0,
          ));
  
          return $end + $this->ctagLen - 1;
      }
code_tokens: private function addPragma ( $ text , $ index ) { $ end = strpos ( $ text , $ this -> ctag , $ index ) ; $ pragma = trim ( substr ( $ text , $ index + 2 , $ end - $ index - 2 ) ) ; // Pragmas are hoisted to the front of the template. array_unshift ( $ this -> tokens , array ( self :: TYPE => self :: T_PRAGMA , self :: NAME => $ pragma , self :: LINE => 0 , ) ) ; return $ end + $ this -> ctagLen - 1 ; }
docstring: Add pragma token.
  
  Pragmas are hoisted to the front of the template, so all pragma tokens
  will appear at the front of the token list.
  
  @param string $text
  @param int    $index
  
  @return int New index value
docstring_tokens: Add pragma token .