271156f9 | 24-Apr-2012 |
nikic |
Fix typo |
f33cd97a | 04-May-2012 |
nikic |
Merge pull request #22 from schmittjoh/resolveCatchType fixes a bug where catch type was not resolved
|
c2c7fdd1 | 04-May-2012 |
Johannes M. Schmitt |
fixes a bug were line number were lost |
0dae07af | 04-May-2012 |
Johannes M. Schmitt |
fixes a bug where catch type was not resolved |
eb05d2b8 | 04-May-2012 |
Stephen Shkardoon |
Update doc/1_Usage_of_basic_components.markdown |
Revision tags: v0.9.1 |
|
b1cc9ce6 | 23-Apr-2012 |
nikic |
Release version 0.9.1 This is in anticipation of doing some backwards compatability breaking changes in the next version. |
b42c9209 | 23-Apr-2012 |
nikic |
Fix PHP 5.2 build failure lcfirst() isn't defined on PHP 5.2, so I added a fallback function, which is defined in the bootstrap.php. Not sure whether that's the right place to put it. |
57249be4 | 23-Apr-2012 |
nikic |
Add changelog |
db6b1337 | 23-Apr-2012 |
nikic |
Finish up code generation docs |
9329c915 | 23-Apr-2012 |
nikic |
Merge branch 'codeGeneration' * codeGeneration: Add docs for templates Add a filesystem template loader. Add simple templating support. Add usage example for builders
Merge branch 'codeGeneration' * codeGeneration: Add docs for templates Add a filesystem template loader. Add simple templating support. Add usage example for builders to docs Add function builder Add ability to specify arrays as default values Add property builder Add parameter builder Add method builder Add class builder
show more ...
|
5b27fb40 | 18-Apr-2012 |
nikic |
Fix line numbers for some list structures When defining a list in the grammar the list elements have to get a separate rule, otherwise they'll all be assigned the same line number. |
e2a9745b | 18-Apr-2012 |
nikic |
Make Serializer_XML::_serialize protected |
a45360cc | 09-Apr-2012 |
nikic |
Add tests for node attributes Also fix the @inheritDoc declarations and do some whitespace normalization |
b9e35655 | 04-Apr-2012 |
Sebastian Bergmann |
Fugbix typo. |
d6d51ec3 | 04-Apr-2012 |
nikic |
Add docs for node attributes |
337da564 | 04-Apr-2012 |
nikic |
Fix XML unserializer The subNodes array was not initialized, so for empty nodes it would just be null. Due to the addition of attributes for nodes those have to be initialized too. |
e17bd0b1 | 04-Apr-2012 |
nikic |
Remove duplicate bootstrap.php The tests had a separate bootstrap.php, which basically replicated the main bootstrap.php. |
cf787973 | 04-Apr-2012 |
nikic |
Add docs for templates |
a048112e | 03-Apr-2012 |
nikic |
Add a filesystem template loader. The template loaders loads templates from a base directory (and can optionally use a suffix). For example $templateLoader = new PHPParser_T
Add a filesystem template loader. The template loaders loads templates from a base directory (and can optionally use a suffix). For example $templateLoader = new PHPParser_TemplateLoader( $parser, './templates', '.php' ); // loads ./templates/TestTemplate.php $templateLoader->load('TestTemplate'); Again the implementation is not optimal. The loader probably shouldn't intantiate the Template itself, but instead should accept a TemplateFactory. This seemed like overkill to me, so I left it out.
show more ...
|
19c1f805 | 03-Apr-2012 |
nikic |
Add simple templating support. Templates use __name__ placeholders. A variant of the placeholder with a capitalized first latter can be accessed using __Name__ (this is useful for ca
Add simple templating support. Templates use __name__ placeholders. A variant of the placeholder with a capitalized first latter can be accessed using __Name__ (this is useful for camel case identifiers, e.g. get__Name__). Currently the implemention is not particularly clean, because the Template instantiates a Lexer itself. Fixing this requires a major refactoring of the lexer/parser interface.
show more ...
|
2ccae143 | 03-Apr-2012 |
Johannes |
added implementations for the new interface methods |
e932711f | 03-Apr-2012 |
Johannes |
added some methods for storing metadata to the interface |
77d58a41 | 17-Mar-2012 |
nikic |
Fix NameResolver tests on PHP 5.2 |
c24a697c | 17-Mar-2012 |
nikic |
Add Travis config file |
72586235 | 11-Mar-2012 |
nikic |
Add usage example for builders to docs |