1<?xml version="1.0" encoding="UTF-8"?> 2<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 3 <name>PHP_Parser</name> 4 <channel>pear.php.net</channel> 5 <summary>A PHP Grammar Parser</summary> 6 <description>PHP_Parser is a source code analysis tool based around a real Parser 7generated by PHP_ParserGenerator. The parser uses the same EBNF source that PHP 8uses to parse itself, modified for Lemon parser format, and it therefore as robust 9as PHP itself. 10 11This version has full support for parsing out every re-usable element 12in PHP as of PHP 6: 13- classes 14 - abstract classes 15 - inheritance, implements 16 - interfaces 17 - methods 18 - any thrown or caught exception 19 - static variables declared 20 - global and superglobal ($_GET) variables used 21 and declared 22 - any class names used in any context 23 - any functions called 24 - any $this->var or class::$var 25 - any $this->method or class::method() or class::$method() 26 - variables 27 - constants 28- functions (same information as methods minus $this->/self::/parent:: information) 29- defines 30- global variables (with help of PHP_Parser_DocblockParser) 31- superglobal variables used in global code 32- include statements 33 34The output can be customized to return an array, return 35objects of user-specified classes, and can also be 36customized to publish each element as it is parsed, allowing 37hooks into parsing to catch information.</description> 38 <lead> 39 <name>Greg Beaver</name> 40 <user>cellog</user> 41 <email>cellog@php.net</email> 42 <active>yes</active> 43 </lead> 44 <developer> 45 <name>Alan Knowles</name> 46 <user>alan_k</user> 47 <email>alan@akbkhome.com</email> 48 <active>no</active> 49 </developer> 50 <date>2010-10-25</date> 51 <time>23:34:01</time> 52 <version> 53 <release>0.2.2</release> 54 <api>0.2.0</api> 55 </version> 56 <stability> 57 <release>alpha</release> 58 <api>alpha</api> 59 </stability> 60 <license uri="http://www.php.net/license">PHP License</license> 61 <notes> 62Automatically built QA release 63Bug #17671 The PHP_Parser_CoreyyToken bad __toString method - jespino 64 </notes> 65 <contents> 66 <dir baseinstalldir="PHP" name="/"> 67 <file baseinstalldir="PHP" md5sum="08dabd985d44c615832566a932d63c6a" name="docs/examples/test1.php" role="doc" /> 68 <file baseinstalldir="PHP" md5sum="382d2b1762646f192c8c80777997c51f" name="docs/examples/test2.php" role="doc" /> 69 <file baseinstalldir="PHP" md5sum="04a401dadbdd657d8c6bab28216d4c63" name="docs/tutorials/PHP_Parser/PHP_Parser_MsgServer.cls" role="doc" /> 70 <file baseinstalldir="PHP" md5sum="00d1795d47ceb4a49c1b5342c81f07e1" name="examples/test.php" role="doc" /> 71 <file baseinstalldir="PHP" md5sum="fd18c02ee22ab99838d2de89e37d7157" name="Parser/Core.out" role="data" /> 72 <file baseinstalldir="PHP" md5sum="a552cd91e83ef8ef030f0f1444ec27fe" name="Parser/Core.php" role="php" /> 73 <file baseinstalldir="PHP" md5sum="82c8f3163c90e5e7edcb79c974c6a454" name="Parser/Core.y" role="data" /> 74 <file baseinstalldir="PHP" md5sum="8077849500f657e253e576606e53bb42" name="Parser/MsgServer.php" role="php" /> 75 <file baseinstalldir="PHP" md5sum="bc16f9c8bdd691cb642d4e83ea7fc4e2" name="Parser/Tokenizer.php" role="php" /> 76 <file baseinstalldir="PHP" md5sum="74c72fab6ae6d72cd8ff721c019ac8d0" name="Parser/DocBlock/Parser.php" role="php" /> 77 <file baseinstalldir="PHP" md5sum="544474c2450e82d757cb087c805ef598" name="Parser/Tokenizer/Structure.php" role="php" /> 78 <file baseinstalldir="PHP" md5sum="104fb8e3335786fed22a8cc6596f2c03" name="tests/array_whitespace.phpt" role="test" /> 79 <file baseinstalldir="PHP" md5sum="d6b7e93676d6c3333e789da3e4bda36d" name="tests/basic.phpt" role="test" /> 80 <file baseinstalldir="PHP" md5sum="007cc75a0c5914de4c6f03e97de0a127" name="tests/global_var.phpt" role="test" /> 81 <file baseinstalldir="PHP" md5sum="b55e0aaac9428bae701c49177a332a0a" name="tests/superglobal.phpt" role="test" /> 82 <file baseinstalldir="PHP" md5sum="e8a6296b001f332db2d1602b24a19863" name="tests/unticked_class_statement1.phpt" role="test" /> 83 <file baseinstalldir="PHP" md5sum="f865f85208ea32e606743ced7ba5a037" name="tests/unticked_class_statement2.phpt" role="test" /> 84 <file baseinstalldir="PHP" md5sum="4dfe1e41ac66602f2e38e54a43175e99" name="tests/unticked_class_statement3.phpt" role="test" /> 85 <file baseinstalldir="PHP" md5sum="aec273848a74b76dbafdd73e062a6707" name="tests/unticked_function_statement1.phpt" role="test" /> 86 <file baseinstalldir="PHP" md5sum="6875857f997fb2f060fee792a3c351eb" name="tests/unticked_function_statement2.phpt" role="test" /> 87 <file baseinstalldir="PHP" md5sum="cc1ba4ec82c209c2eb89373234f9f53f" name="tests/unticked_statement1.phpt" role="test" /> 88 <file baseinstalldir="PHP" md5sum="eb2eab48243ae27474a4fdde9814c4f5" name="tests/files/array_whitespace.inc" role="test" /> 89 <file baseinstalldir="PHP" md5sum="e40ef5265dd4213fdcbfeb0735e1b8b0" name="tests/files/basic.inc" role="test" /> 90 <file baseinstalldir="PHP" md5sum="f3a27319a94296fb7fb015f8af1f78d0" name="tests/files/unticked_class_statement1.inc" role="test" /> 91 <file baseinstalldir="PHP" md5sum="adb82477f0da55f614f5e694705dc181" name="tests/files/unticked_class_statement2.inc" role="test" /> 92 <file baseinstalldir="PHP" md5sum="14ad48483f9827cfe01b21d57ed65be4" name="tests/files/unticked_class_statement3.inc" role="test" /> 93 <file baseinstalldir="PHP" md5sum="93b74203d725970ff12de6f7f9b94203" name="tests/files/unticked_function_statement1.inc" role="test" /> 94 <file baseinstalldir="PHP" md5sum="5a4d0b3a6b685d560f1611623eadafc9" name="tests/files/unticked_function_statement2.inc" role="test" /> 95 <file baseinstalldir="PHP" md5sum="682d478faef14c4f3c7840bd6aa624bc" name="tests/files/unticked_statement1.inc" role="test" /> 96 <file baseinstalldir="PHP" md5sum="db814f799eb665e9d88a33f60a4b3832" name="generatePackage.xml.php" role="php" /> 97 <file baseinstalldir="PHP" md5sum="0b27745db063d995e9e43654dbbdaffa" name="Parser.php" role="php" /> 98 <file baseinstalldir="PHP" md5sum="b01bfc4b0375bf4f64c282d5bacfe9a5" name="skeleton.php" role="php" /> 99 <file baseinstalldir="PHP" md5sum="3d42b69e3f37322f0f46fc1622a0eff8" name="test_jay.sh" role="data" /> 100 </dir> 101 </contents> 102 <dependencies> 103 <required> 104 <php> 105 <min>5.1.0</min> 106 </php> 107 <pearinstaller> 108 <min>1.4.3</min> 109 </pearinstaller> 110 </required> 111 <optional> 112 <package> 113 <name>PHP_Parser_DocblockParser</name> 114 <channel>pear.php.net</channel> 115 </package> 116 </optional> 117 </dependencies> 118 <phprelease /> 119 <changelog> 120 <release> 121 <version> 122 <release>0.1</release> 123 <api>0.1</api> 124 </version> 125 <stability> 126 <release>devel</release> 127 <api>devel</api> 128 </stability> 129 <date>2003-10-22</date> 130 <license uri="http://www.php.net/license">PHP License</license> 131 <notes> 132Initial development release. Not even alpha yet. 133 134This release is only to show people the beginnings of the project. Tons of 135things will change internally. 136 </notes> 137 </release> 138 <release> 139 <version> 140 <release>0.2.0</release> 141 <api>0.2.0</api> 142 </version> 143 <stability> 144 <release>alpha</release> 145 <api>alpha</api> 146 </stability> 147 <date>2007-03-05</date> 148 <license uri="http://www.php.net/license">PHP License</license> 149 <notes> 150Third development release. 151 152 **All backwards compatibility is broken** 153 Now that PHP_ParserGenerator exists, this can be used as a 154 way to generate specific parsers. This parser is customized for 155 usage in meta-data extraction, and requires PHP 5.0.0 or newer 156 </notes> 157 </release> 158 <release> 159 <version> 160 <release>0.2.1</release> 161 <api>0.2.0</api> 162 </version> 163 <stability> 164 <release>alpha</release> 165 <api>alpha</api> 166 </stability> 167 <date>2007-03-05</date> 168 <license uri="http://www.php.net/license">PHP License</license> 169 <notes> 170* fix Bug #11174: Parser.php installed to root of PEAR directory [cellog] 171 </notes> 172 </release> 173 <release> 174 <version> 175 <release>0.2.2</release> 176 <api>0.2.0</api> 177 </version> 178 <stability> 179 <release>alpha</release> 180 <api>alpha</api> 181 </stability> 182 <date>2010-10-25</date> 183 <license uri="http://www.php.net/license">PHP License</license> 184 <notes> 185Automatically built QA release 186Bug #17671 The PHP_Parser_CoreyyToken bad __toString method - jespino 187 </notes> 188 </release> 189 </changelog> 190</package> 191