Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.52
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
php /
pear /
PHP /
CodeSniffer /
CommentParser /
Delete
Unzip
Name
Size
Permission
Date
Action
AbstractDocElement.php
9.55
KB
-rw-rw-rw-
2016-01-27 13:08
AbstractParser.php
19.62
KB
-rw-rw-rw-
2016-01-27 13:08
ClassCommentParser.php
7.7
KB
-rw-rw-rw-
2016-01-27 13:08
CommentElement.php
7.09
KB
-rw-rw-rw-
2016-01-27 13:08
DocElement.php
2.38
KB
-rw-rw-rw-
2016-01-27 13:08
FunctionCommentParser.php
5.5
KB
-rw-rw-rw-
2016-01-27 13:08
MemberCommentParser.php
2.19
KB
-rw-rw-rw-
2016-01-27 13:08
PairElement.php
4.81
KB
-rw-rw-rw-
2016-01-27 13:08
ParameterElement.php
9.38
KB
-rw-rw-rw-
2016-01-27 13:08
ParserException.php
1.89
KB
-rw-rw-rw-
2016-01-27 13:08
SingleElement.php
5.2
KB
-rw-rw-rw-
2016-01-27 13:08
Save
Rename
<?php /** * Parses function doc comments. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006-2011 Squiz Pty Ltd (ABN 77 084 670 600) * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence * @link http://pear.php.net/package/PHP_CodeSniffer */ if (class_exists('PHP_CodeSniffer_CommentParser_AbstractParser', true) === false) { $error = 'Class PHP_CodeSniffer_CommentParser_AbstractParser not found'; throw new PHP_CodeSniffer_Exception($error); } if (class_exists('PHP_CodeSniffer_CommentParser_ParameterElement', true) === false) { $error = 'Class PHP_CodeSniffer_CommentParser_ParameterElement not found'; throw new PHP_CodeSniffer_Exception($error); } if (class_exists('PHP_CodeSniffer_CommentParser_PairElement', true) === false) { $error = 'Class PHP_CodeSniffer_CommentParser_PairElement not found'; throw new PHP_CodeSniffer_Exception($error); } if (class_exists('PHP_CodeSniffer_CommentParser_SingleElement', true) === false) { $error = 'Class PHP_CodeSniffer_CommentParser_SingleElement not found'; throw new PHP_CodeSniffer_Exception($error); } /** * Parses function doc comments. * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@squiz.net> * @copyright 2006-2011 Squiz Pty Ltd (ABN 77 084 670 600) * @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence * @version Release: 1.3.3 * @link http://pear.php.net/package/PHP_CodeSniffer */ class PHP_CodeSniffer_CommentParser_FunctionCommentParser extends PHP_CodeSniffer_CommentParser_AbstractParser { /** * The parameter elements within this function comment. * * @var array(PHP_CodeSniffer_CommentParser_ParameterElement) */ private $_params = array(); /** * The return element in this function comment. * * @var PHP_CodeSniffer_CommentParser_PairElement. */ private $_return = null; /** * The throws element list for this function comment. * * @var array(PHP_CodeSniffer_CommentParser_PairElement) */ private $_throws = array(); /** * Constructs a PHP_CodeSniffer_CommentParser_FunctionCommentParser. * * @param string $comment The comment to parse. * @param PHP_CodeSniffer_File $phpcsFile The file that this comment is in. */ public function __construct($comment, PHP_CodeSniffer_File $phpcsFile) { parent::__construct($comment, $phpcsFile); }//end __construct() /** * Parses parameter elements. * * @param array(string) $tokens The tokens that conmpise this sub element. * * @return PHP_CodeSniffer_CommentParser_ParameterElement */ protected function parseParam($tokens) { $param = new PHP_CodeSniffer_CommentParser_ParameterElement( $this->previousElement, $tokens, $this->phpcsFile ); $this->_params[] = $param; return $param; }//end parseParam() /** * Parses return elements. * * @param array(string) $tokens The tokens that conmpise this sub element. * * @return PHP_CodeSniffer_CommentParser_PairElement */ protected function parseReturn($tokens) { $return = new PHP_CodeSniffer_CommentParser_PairElement( $this->previousElement, $tokens, 'return', $this->phpcsFile ); $this->_return = $return; return $return; }//end parseReturn() /** * Parses throws elements. * * @param array(string) $tokens The tokens that conmpise this sub element. * * @return PHP_CodeSniffer_CommentParser_PairElement */ protected function parseThrows($tokens) { $throws = new PHP_CodeSniffer_CommentParser_PairElement( $this->previousElement, $tokens, 'throws', $this->phpcsFile ); $this->_throws[] = $throws; return $throws; }//end parseThrows() /** * Returns the parameter elements that this function comment contains. * * Returns an empty array if no parameter elements are contained within * this function comment. * * @return array(PHP_CodeSniffer_CommentParser_ParameterElement) */ public function getParams() { return $this->_params; }//end getParams() /** * Returns the return element in this fucntion comment. * * Returns null if no return element exists in the comment. * * @return PHP_CodeSniffer_CommentParser_PairElement */ public function getReturn() { return $this->_return; }//end getReturn() /** * Returns the throws elements in this fucntion comment. * * Returns empty array if no throws elements in the comment. * * @return array(PHP_CodeSniffer_CommentParser_PairElement) */ public function getThrows() { return $this->_throws; }//end getThrows() /** * Returns the allowed tags that can exist in a function comment. * * @return array(string => boolean) */ protected function getAllowedTags() { return array( 'param' => false, 'return' => true, 'throws' => false, ); }//end getAllowedTags() }//end class ?>