!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\copia nuevo\php\pear\PHP\CodeSniffer\CommentParser\   drwxrwxrwx
Free 8 GB of 239.26 GB (3.34%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
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.5 KB)      -rw-rw-rw-
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-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($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 ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--