Home
last modified time | relevance | path

Searched refs:commentStart (Results 1 – 15 of 15) sorted by relevance

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
DFunctionCommentSniff.php91 $commentStart = $tokens[$commentEnd]['comment_opener'];
92 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
103 $this->processReturn($phpcsFile, $stackPtr, $commentStart);
104 $this->processThrows($phpcsFile, $stackPtr, $commentStart);
105 $this->processParams($phpcsFile, $stackPtr, $commentStart);
116 … * @param int $commentStart The position in the stack where the comment started.
120 protected function processReturn(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart) argument
129 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
153 $phpcsFile->addError($error, $tokens[$commentStart]['comment_closer'], 'MissingReturn');
165 … * @param int $commentStart The position in the stack where the comment started.
[all …]
DFileCommentSniff.php111 $commentStart = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
114 if ($tokens[$commentStart]['code'] === T_DECLARE) {
115 $semicolon = $phpcsFile->findNext(T_SEMICOLON, ($commentStart + 1));
116 $commentStart = $phpcsFile->findNext(T_WHITESPACE, ($semicolon + 1), null, true);
120 if ($tokens[$commentStart]['code'] === T_COMMENT) {
121 if (strstr($tokens[$commentStart]['content'], 'vim:') !== false) {
122 $commentStart = $phpcsFile->findNext(
124 ($commentStart + 1),
136 if ($tokens[$commentStart]['code'] === T_CLOSE_TAG) {
139 } else if ($tokens[$commentStart]['code'] === T_COMMENT) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
DFileCommentSniff.php69 $commentStart = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
71 if ($tokens[$commentStart]['code'] === T_COMMENT) {
72 …ile->addError('You must use "/**" style comments for a file comment', $commentStart, 'WrongStyle');
75 … } else if ($commentStart === false || $tokens[$commentStart]['code'] !== T_DOC_COMMENT_OPEN_TAG) {
81 $commentEnd = $tokens[$commentStart]['comment_closer'];
119 if ($tokens[$commentStart]['line'] > ($tokens[$stackPtr]['line'] + 1)) {
140 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
210 …$phpcsFile->addError($error, $tokens[$commentStart]['comment_tags'][$pos], ucfirst(substr($tag, 1)…
DFunctionCommentSniff.php49 … * @param int $commentStart The position in the stack where the comment started.
53 protected function processReturn(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart) argument
62 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
173 $phpcsFile->addError($error, $tokens[$commentStart]['comment_closer'], 'MissingReturn');
185 … * @param int $commentStart The position in the stack where the comment started.
189 protected function processThrows(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart) argument
194 foreach ($tokens[$commentStart]['comment_tags'] as $pos => $tag) {
218 if (isset($tokens[$commentStart]['comment_tags'][($pos + 1)]) === true) {
219 $end = $tokens[$commentStart]['comment_tags'][($pos + 1)];
221 $end = $tokens[$commentStart]['comment_closer'];
[all …]
DVariableCommentSniff.php72 $commentStart = $tokens[$commentEnd]['comment_opener'];
75 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
104 $firstTag = $tokens[$commentStart]['comment_tags'][0];
DClassCommentSniff.php86 $commentStart = $tokens[$commentEnd]['comment_opener'];
87 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
DFunctionCommentThrowTagSniff.php212 $commentStart = $tokens[$commentEnd]['comment_opener'];
213 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/PHP/
DAjaxNullComparisonSniff.php60 $commentStart = $phpcsFile->findPrevious(T_DOC_COMMENT_OPEN_TAG, ($commentEnd - 1));
61 $comment = $phpcsFile->getTokensAsString($commentStart, ($commentEnd - $commentStart));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/
DDocCommentSniff.php64 $commentStart = $stackPtr;
194 if (empty($tokens[$commentStart]['comment_tags']) === true) {
199 $firstTag = $tokens[$commentStart]['comment_tags'][0];
226 foreach ($tokens[$commentStart]['comment_tags'] as $pos => $tag) {
231 $tokens[$commentStart]['comment_tags'][($pos - 1)]
235 $prev = $tokens[$commentStart]['comment_tags'][($pos - 1)];
285 …hpcsFile->findPrevious(array(T_DOC_COMMENT_TAG, T_DOC_COMMENT_STRING), ($next - 1), $commentStart);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Commenting/
DFunctionCommentSniff.php60 $commentStart = $tokens[$commentEnd]['comment_opener'];
62 foreach ($tokens[$commentStart]['comment_tags'] as $tag) {
/plugin/asciidocjs/node_modules/nunjucks/src/
Dlexer.js62 COMMENT_START: tags.commentStart || COMMENT_START,
/plugin/asciidocjs/node_modules/nunjucks/browser/
Dnunjucks.min.js2 …TART:i.variableStart||o,VARIABLE_END:i.variableEnd||u,COMMENT_START:i.commentStart||h,COMMENT_END:…
Dnunjucks.js3929 COMMENT_START: tags.commentStart || COMMENT_START,
Dnunjucks.min.js.map1commentStart","commentEnd","cur","current","isFinished","_parseString","_extract","_extractString"…
Dnunjucks.js.map1commentStart","commentEnd","cur","current","isFinished","_parseString","_extract","_extractString"…