Home
last modified time | relevance | path

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

12

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/
H A DFunctionDeclarationArgumentSpacingSniff.php128 if ($nextToken === false) {
132 $nextCode = $tokens[$nextToken]['code'];
137 if (($nextToken - $nextParam) > 1) {
222 if ($phpcsFile->isReference($nextToken) === true) {
223 $nextToken++;
231 if ($nextToken !== $nextParam) {
234 $hint = $tokens[$nextToken]['content'];
311 if ($phpcsFile->isReference($nextToken) === true) {
312 $nextToken++;
315 if ($tokens[$nextToken]['code'] !== T_ELLIPSIS && $nextToken !== $nextParam) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DLongConditionClosingCommentSniff.php125 … 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
139 if (isset($tokens[$nextToken]['scope_closer']) === false) {
146 $stackPtr = $tokens[$nextToken]['scope_closer'];
151 } while (isset($tokens[$nextToken]['scope_closer']) === true);
158 if ($tokens[$nextToken]['code'] === T_CATCH) {
160 $stackPtr = $tokens[$nextToken]['scope_closer'];
[all …]
H A 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
H A 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']) {
H A DDocCommentAlignmentSniff.php77 $nextToken = $phpcsFile->findNext($ignore, ($stackPtr + 1), null, true);
93 if (isset($ignore[$tokens[$nextToken]['code']]) === false) {
H A DFileCommentSniff.php83 $nextToken = $phpcsFile->findNext(
110 if (in_array($tokens[$nextToken]['code'], $ignore) === true) {
H A DBlockCommentSniff.php87 …$nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, tru…
102 if (isset($ignore[$tokens[$nextToken]['code']]) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
H A DArrayDeclarationSniff.php359 for ($nextToken = ($stackPtr + 1); $nextToken < $arrayEnd; $nextToken++) {
365 $nextToken = $tokens[$nextToken]['parenthesis_closer'];
380 … $nextToken = $tokens[$tokens[$nextToken]['parenthesis_opener']]['parenthesis_closer'];
382 $nextToken = $tokens[$nextToken]['bracket_closer'];
385 $nextToken = $tokens[$nextToken]['scope_closer'];
388 $nextToken = $phpcsFile->findNext(T_WHITESPACE, ($nextToken + 1), null, true);
390 $nextToken--;
458 $nextToken,
466 $lastToken = $nextToken;
500 ($nextToken + 1),
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A 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/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A 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/
H A DLl1.php379 $nextToken = 0;
491 $this->_stack[$d] = [$c, $nextState, $nextToken];
500 $nextToken = 0;
514 $nextToken = false;
520 $nextToken = $_tokens[$token];
529 $nextToken = false;
550 $nextToken = $e;
568 if (false !== $nextToken) {
569 if (is_array($this->_actions[$c][$nextState][$nextToken])) {
578 if (false === $nextToken || $nextState === $_states['__']) {
[all …]
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/
H A 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/
H A 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/
H A 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/
H A DPdfIndirectObject.php46 $nextToken = $tokenizer->getNextToken();
47 if ($nextToken === 'stream') {
49 } elseif ($nextToken !== false) {
50 $tokenizer->pushStack($nextToken);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
H A 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.php8 * A source of tokens must provide a sequence of tokens via {@see TokenSource::nextToken()}
30 public function nextToken() : ?Token; function
H A DLexer.php41 * create a single token. `nextToken` will return this object after
55 * the start of nextToken.
153 public function nextToken() : ?Token function in Antlr\\Antlr4\\Runtime\\Lexer
231 * and look for another token. `nextToken` knows to keep looking when
305 * By default does not support multiple emits per nextToken invocation
306 * for efficiency reasons. Subclass and override this method, nextToken,
494 $token = $this->nextToken();
498 $token = $this->nextToken();
H A DBufferedTokenStream.php164 $token = $this->tokenSource->nextToken();
/plugin/codemirror/dist/modes/
H A Dwebidl.min.js.map1nextToken","next","defineMode","startState","token","style","cur","current","test","defineMIME"],"…
H A Dpug.min.js.map1nextToken","defineMIME"],"mappings":"CAGA,SAAUA,GACR,SAAWC,UAAW,gBAAmBC,SAAU,SACjDF,EAAIG,QAAQ,wBA…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
H A DFileCommentSniff.php154 $nextToken = $phpcsFile->findNext(
177 if (in_array($tokens[$nextToken]['code'], $ignore) === true) {
/plugin/jcapture/src/com/hammurapi/jcapture/
H A DAbstractCaptureApplet.java187 String tok = st.nextToken(); in getCookies()
/plugin/jdraw/src/com/mxgraph/examples/swing/editor/
H A DBasicGraphEditor.java1019 String tok = st.nextToken();
/plugin/katex/_assets/
H A Dkatex.min.js1nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column a…

12