Lines Matching refs:_tokens
66 private $_tokens = array(); variable in PHP_CodeSniffer_Fixer
134 $this->_tokens = array();
137 $this->_tokens[$index] = $token['orig_content'];
139 $this->_tokens[$index] = $token['content'];
334 $contents = implode($this->_tokens);
357 return $this->_tokens[$stackPtr];
515 $oldContent = PHP_CodeSniffer::prepareForOutput($this->_tokens[$stackPtr]);
517 … if (trim($this->_tokens[$stackPtr]) === '' && isset($this->_tokens[($stackPtr + 1)]) === true) {
519 $append = PHP_CodeSniffer::prepareForOutput($this->_tokens[($stackPtr + 1)]);
540 'prev' => $this->_tokens[$stackPtr],
579 $this->_fixedTokens[$stackPtr] = $this->_tokens[$stackPtr];
580 $this->_tokens[$stackPtr] = $content;
624 $oldContent = PHP_CodeSniffer::prepareForOutput($this->_tokens[$stackPtr]);
626 … if (trim($this->_tokens[$stackPtr]) === '' && isset($tokens[($stackPtr + 1)]) === true) {
628 $append = PHP_CodeSniffer::prepareForOutput($this->_tokens[($stackPtr + 1)]);
634 $this->_tokens[$stackPtr] = $this->_fixedTokens[$stackPtr];