Lines Matching refs:stackPtr

93      * @param int                  $stackPtr  The position where the token was found.
100 $stackPtr, argument
111 if ($stackPtr > $this->_endFunction) {
115 if ($tokens[$stackPtr]['code'] === T_FUNCTION
120 $methodProps = $phpcsFile->getMethodProperties($stackPtr);
128 = $phpcsFile->findNext(array(T_SEMICOLON), $stackPtr);
130 if (isset($tokens[$stackPtr]['scope_closer']) === false) {
132 $phpcsFile->addWarning($error, $stackPtr);
136 $this->_endFunction = $tokens[$stackPtr]['scope_closer'];
140 if ($tokens[$stackPtr]['code'] === T_DOUBLE_QUOTED_STRING
141 || $tokens[$stackPtr]['code'] === T_HEREDOC
145 if (preg_match($pattern, $tokens[$stackPtr]['content']) !== 0) {
146 $this->processVariableInString($phpcsFile, $stackPtr);
153 if ($tokens[$stackPtr]['code'] === T_VARIABLE) {
154 $this->processVariable($phpcsFile, $stackPtr);
159 $this->processMemberVar($phpcsFile, $stackPtr);
170 * @param int $stackPtr The position where the token was found.
176 $stackPtr argument
180 if ($tokens[$stackPtr]['code'] === T_VARIABLE) {
181 $this->processVariable($phpcsFile, $stackPtr);
182 } else if ($tokens[$stackPtr]['code'] === T_DOUBLE_QUOTED_STRING
183 || $tokens[$stackPtr]['code'] === T_HEREDOC
187 if (preg_match($pattern, $tokens[$stackPtr]['content']) !== 0) {
188 $this->processVariableInString($phpcsFile, $stackPtr);
200 * @param int $stackPtr The position where the token was found.
206 $stackPtr argument
215 * @param int $stackPtr The position where the token was found.
221 $stackPtr argument
233 * @param int $stackPtr The position where the double quoted
241 $stackPtr argument