!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/PHP_CodeSniffer/CodeSniffer/CommentParser/   drwxr-xr-x
Free 13.76 GB of 61.93 GB (22.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     FunctionCommentParser.php (5.44 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
 * @version   CVS: $Id: FunctionCommentParser.php,v 1.8 2007/11/30 01:18:41 squiz Exp $
 * @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 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
 * @version   Release: 1.1.0
 * @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($commentPHP_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

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4812 ]--