Searched refs:commentTokens (Results 1 – 9 of 9) sorted by relevance
193 array_shift($commentTokens);194 array_pop($commentTokens);197 $commentTokens[0]['content'] = substr($commentTokens[0]['content'], 1);204 $firstContent = $commentTokens[0]['content'];208 if (($commentTokens[0]['code'] === T_LNUMBER209 || $commentTokens[0]['code'] === T_DNUMBER)210 && $commentTokens[1]['code'] === T_STRING213 array_shift($commentTokens);219 && $commentTokens[1]['content'] !== '-'221 array_shift($commentTokens);[all …]
252 protected $commentTokens = array( variable in PHP_CodeSniffer_Tokenizers_JS621 && array_key_exists($buffer, $this->commentTokens) === true659 if ($this->commentTokens[$inComment] === null) {665 if ($this->commentTokens[$inComment] === $buffer) {739 if (isset($this->commentTokens[$tokenContent]) === true) {740 $endContent = $this->commentTokens[$tokenContent];781 …$commentTokens = $commentTokenizer->tokenizeString($newContent.$tokenContent, $eolChar, $newStackP…782 foreach ($commentTokens as $commentToken) {
406 … $commentTokens = $commentTokenizer->tokenizeString($token[1], $eolChar, $newStackPtr);407 foreach ($commentTokens as $commentToken) {
288 = array_merge($ignoreTokens, PHP_CodeSniffer_Tokens::$commentTokens);382 … && isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[$stackPtr]['code']]) === true385 PHP_CodeSniffer_Tokens::$commentTokens,413 … && isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[($stackPtr - 1)]['code']]) === false)452 … if (isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[$stackPtr]['code']]) === true) {460 … && isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[($stackPtr + 1)]['code']]) === true562 … if (isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[$j]['code']]) === true) {667 … if (isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[$newline]['code']]) === true) {
54 if (isset(PHP_CodeSniffer_Tokens::$commentTokens[$tokens[$prev]['code']]) === true) {100 $first = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$commentTokens, ($first + 1));
51 return PHP_CodeSniffer_Tokens::$commentTokens;
49 return PHP_CodeSniffer_Tokens::$commentTokens;
77 $endTokens += PHP_CodeSniffer_Tokens::$commentTokens;
648 public static $commentTokens = array( variable in PHP_CodeSniffer_Tokens