History log of /PHP-Parser/ (Results 1451 – 1475 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c2c7fdd104-May-2012 Johannes M. Schmitt

fixes a bug were line number were lost

0dae07af04-May-2012 Johannes M. Schmitt

fixes a bug where catch type was not resolved

eb05d2b804-May-2012 Stephen Shkardoon

Update doc/1_Usage_of_basic_components.markdown

Revision tags: v0.9.1
b1cc9ce623-Apr-2012 nikic

Release version 0.9.1

This is in anticipation of doing some backwards compatability breaking
changes in the next version.

b42c920923-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.

57249be423-Apr-2012 nikic

Add changelog

db6b133723-Apr-2012 nikic

Finish up code generation docs

9329c91523-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 ...


5b27fb4018-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.

e2a9745b18-Apr-2012 nikic

Make Serializer_XML::_serialize protected

a45360cc09-Apr-2012 nikic

Add tests for node attributes

Also fix the @inheritDoc declarations and do some whitespace normalization

b9e3565504-Apr-2012 Sebastian Bergmann

Fugbix typo.

d6d51ec304-Apr-2012 nikic

Add docs for node attributes

337da56404-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.

e17bd0b104-Apr-2012 nikic

Remove duplicate bootstrap.php

The tests had a separate bootstrap.php, which basically replicated the main
bootstrap.php.

cf78797304-Apr-2012 nikic

Add docs for templates

a048112e03-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 ...

19c1f80503-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 ...

2ccae14303-Apr-2012 Johannes

added implementations for the new interface methods

e932711f03-Apr-2012 Johannes

added some methods for storing metadata to the interface

77d58a4117-Mar-2012 nikic

Fix NameResolver tests on PHP 5.2

c24a697c17-Mar-2012 nikic

Add Travis config file

7258623511-Mar-2012 nikic

Add usage example for builders to docs

b8b68a9611-Mar-2012 nikic

Add function builder

9e5c95b611-Mar-2012 nikic

Add ability to specify arrays as default values

1...<<51525354555657585960>>...68