- Name: php-pear-PHP_Parser
- Version: 0.1
- Release: 7mdv2007.1
- Epoch:
- Group: Development/PHP
- License: PHP License
- Url: http://pear.php.net/package/PHP_Parser/
- Summary: PHP_Parser - a PHP grammar parser
- Architecture: noarch
- Size: 391591
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Iurt the rebuild bot <warly@mandriva.com>
Description:
PHP_Parser is a source code analysis tool based around a real Parser
generated by phpJay. The parser uses the same EBNF source that PHP
uses to parse itself, and it therefore as robust as PHP itself.
This version has full support for parsing out every re-usable element
in PHP 5 as of beta 1:
- classes
- abstract classes
- inheritance, implements
- interfaces
- methods
- exception parsing directly from source
- static variables declared
- global and superglobal ($_GET) variables used
and declared
- variables
- constants
- functions (same information as methods)
- defines
- global variables (with help of the Tokenizer Lexer)
- superglobal variables used in global code
- include statements
The output can be customized to return an array, return
objects of user-specified classes, and can also be
customized to publish each element as it is parsed, allowing
hooks into parsing to catch information.
In PEAR status of this package is: devel.
- OptFlags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables
- Cookie: n5.mandriva.com 1163265053
- Buildhost: n5.mandriva.com