Home
last modified time | relevance | path

Searched refs:nextToken (Results 1 – 25 of 67) sorted by relevance

123

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/
DFunctionDeclarationArgumentSpacingSniff.php127 … $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($nextParam + 1), ($closeBracket + 1), true);
128 if ($nextToken === false) {
132 $nextCode = $tokens[$nextToken]['code'];
137 if (($nextToken - $nextParam) > 1) {
148 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceBeforeEquals', $data);
152 $phpcsFile->fixer->addContentBefore($nextToken, $padding);
154 $phpcsFile->fixer->replaceToken(($nextToken - 1), $padding);
160 if ($tokens[($nextToken + 1)]['code'] === T_WHITESPACE) {
161 $spacesAfter = strlen($tokens[($nextToken + 1)]['content']);
171 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceAfterDefault', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
DLongConditionClosingCommentSniff.php124 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
125 … if ($tokens[$nextToken]['code'] === T_ELSE || $tokens[$nextToken]['code'] === T_ELSEIF) {
127 if ($tokens[$nextToken]['code'] === T_ELSE
128 && isset($tokens[$nextToken]['scope_closer']) === false
130 … $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($nextToken + 1), null, true);
131 if ($tokens[$nextToken]['code'] !== T_IF
132 || isset($tokens[$nextToken]['scope_closer']) === false
139 if (isset($tokens[$nextToken]['scope_closer']) === false) {
146 $stackPtr = $tokens[$nextToken]['scope_closer'];
151 } while (isset($tokens[$nextToken]['scope_closer']) === true);
[all …]
DInlineCommentSniff.php76 $nextToken = $phpcsFile->findNext(
103 if (in_array($tokens[$nextToken]['code'], $ignore) === true) {
114 $nextToken = $phpcsFile->findNext($ignore, ($nextToken + 1), null, true);
115 if ($tokens[$nextToken]['code'] === T_FUNCTION
116 || $tokens[$nextToken]['code'] === T_CLOSURE
117 || $tokens[$nextToken]['code'] === T_OBJECT
118 || $tokens[$nextToken]['code'] === T_PROTOTYPE
DFunctionCommentThrowTagSniff.php111 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($currPos + 1), null, true);
112 if ($tokens[$nextToken]['code'] === T_NEW) {
144 } else if ($tokens[$nextToken]['code'] === T_VARIABLE) {
192 … if ($tokens[$thrownVar]['content'] === $tokens[$nextToken]['content']) {
DDocCommentAlignmentSniff.php77 $nextToken = $phpcsFile->findNext($ignore, ($stackPtr + 1), null, true);
93 if (isset($ignore[$tokens[$nextToken]['code']]) === false) {
DFileCommentSniff.php83 $nextToken = $phpcsFile->findNext(
110 if (in_array($tokens[$nextToken]['code'], $ignore) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
DArrayDeclarationSniff.php359 for ($nextToken = ($stackPtr + 1); $nextToken < $arrayEnd; $nextToken++) {
361 if ($tokens[$nextToken]['code'] === T_OPEN_PARENTHESIS
362 && (isset($tokens[$nextToken]['parenthesis_owner']) === false
363 || $tokens[$nextToken]['parenthesis_owner'] !== $stackPtr)
365 $nextToken = $tokens[$nextToken]['parenthesis_closer'];
369 if ($tokens[$nextToken]['code'] === T_ARRAY
370 || $tokens[$nextToken]['code'] === T_OPEN_SHORT_ARRAY
371 || $tokens[$nextToken]['code'] === T_CLOSURE
375 $indices[] = array('value' => $nextToken);
376 $lastToken = $nextToken;
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
DFunctionCallArgumentSpacingSniff.php153 …$nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($nextSeparator + 1), $clo…
154 if ($nextToken !== false) {
155 if ($tokens[$nextToken]['code'] === T_EQUAL) {
156 if (($tokens[($nextToken - 1)]['code']) !== T_WHITESPACE) {
158 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceBeforeEquals');
160 $phpcsFile->fixer->addContentBefore($nextToken, ' ');
164 if ($tokens[($nextToken + 1)]['code'] !== T_WHITESPACE) {
166 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceAfterEquals');
168 $phpcsFile->fixer->addContent($nextToken, ' ');
/plugin/findologicxmlexport/vendor/hoa/compiler/
DLl1.php379 $nextToken = 0;
473 while (array_key_exists($nextToken, $this->_actions[$c][$nextState]) &&
476 is_array($this->_actions[$c][$nextState][$nextToken]) &&
477 0 < $foo = $this->_actions[$c][$nextState][$nextToken][0]
480 is_int($this->_actions[$c][$nextState][$nextToken]) &&
481 0 < $foo = $this->_actions[$c][$nextState][$nextToken]
491 $this->_stack[$d] = [$c, $nextState, $nextToken];
500 $nextToken = 0;
514 $nextToken = false;
520 $nextToken = $_tokens[$token];
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
DScopeKeywordSpacingSniff.php62 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
65 && ($tokens[$nextToken]['code'] === T_DOUBLE_COLON
77 $nextToken = $tokens[($stackPtr + 1)];
78 if (strlen($nextToken['content']) !== 1
79 || $nextToken['content'] === $phpcsFile->eolChar
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/
DLexer.php147 $nextToken = $this->nextToken($offset);
149 if (null === $nextToken) {
165 if (true === $nextToken['keep']) {
166 $nextToken['offset'] = $offset;
167 yield $nextToken;
170 $offset += strlen($nextToken['value']);
190 protected function nextToken($offset) function in Hoa\\Compiler\\Llk\\Lexer
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Files/
DIncludingFileSniff.php66 …$nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, tru…
67 if ($tokens[$nextToken]['code'] === T_OPEN_PARENTHESIS) {
73 $phpcsFile->fixer->replaceToken($tokens[$nextToken]['parenthesis_closer'], '');
74 if ($tokens[($nextToken - 1)]['code'] !== T_WHITESPACE) {
75 $phpcsFile->fixer->replaceToken($nextToken, ' ');
77 $phpcsFile->fixer->replaceToken($nextToken, '');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/
DUnusedFunctionParameterSniff.php130 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($next + 1), null, true);
131 if ($tokens[$nextToken]['code'] === T_OPEN_CURLY_BRACKET) {
132 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($nextToken + 1), null, true);
133 if ($tokens[$nextToken]['code'] === T_STRING) {
134 $varContent = '$'.$tokens[$nextToken]['content'];
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/
DPdfIndirectObject.php46 $nextToken = $tokenizer->getNextToken();
47 if ($nextToken === 'stream') {
49 } elseif ($nextToken !== false) {
50 $tokenizer->pushStack($nextToken);
/plugin/asciidocjs/node_modules/nunjucks/src/
Dparser.js22 _proto.nextToken = function nextToken(withWhitespace) { function
33 tok = this.tokens.nextToken();
36 tok = this.tokens.nextToken();
42 this.peeked = this.peeked || this.nextToken();
69 var tok = this.nextToken();
77 var tok = this.nextToken();
84 var tok = this.nextToken();
104 name = this.nextToken().value;
106 tok = this.nextToken();
117 var tok = this.nextToken();
[all …]
Dlexer.js69 _proto.nextToken = function nextToken() { function
269 return this.nextToken();
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
DForbiddenFunctionsSniff.php158 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
159 if (isset($ignore[$tokens[$nextToken]['code']]) === true) {
164 …if ($tokens[$stackPtr]['code'] === T_STRING && $tokens[$nextToken]['code'] !== T_OPEN_PARENTHESIS)…
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DTokenSource.php30 public function nextToken() : ?Token; function
H A DLexer.php153 public function nextToken() : ?Token function in Antlr\\Antlr4\\Runtime\\Lexer
494 $token = $this->nextToken();
498 $token = $this->nextToken();
/plugin/asciidocjs/node_modules/is-expression/
Dindex.js30 parser.nextToken();
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/
Dindex.js58 p.nextToken()
Dtokenize.js41 this.nextToken()
75 this.nextToken()
85 pp.nextToken = function() { function in pp
268 return this.nextToken()
290 return this.nextToken()
/plugin/asciidocjs/node_modules/acorn/src/
Dindex.js58 p.nextToken()
Dtokenize.js41 this.nextToken()
72 pp.nextToken = function() { function in pp
255 return this.nextToken()
277 return this.nextToken()
/plugin/codemirror/dist/modes/
Dwebidl.min.js.map1nextToken","next","defineMode","startState","token","style","cur","current","test","defineMIME"],"…

123