894c3f78 | 18-Dec-2014 |
Nikita Popov |
Add test for attribute assignment by parser Weird that this wasn't tested yet... |
a7797918 | 18-Dec-2014 |
Nikita Popov |
Update lexer docs for attribute options |
46975107 | 18-Dec-2014 |
Nikita Popov |
Support token position attributes in lexer Also change endFilePos semantics to refer to the last character that is *included* in the token, rather than one past the last character. T
Support token position attributes in lexer Also change endFilePos semantics to refer to the last character that is *included* in the token, rather than one past the last character. This ensures that all end* attributes have the same semantics.
show more ...
|
158322e1 | 15-Dec-2014 |
Jamie Hannaford |
Fix apostrophe |
24388484 | 13-Dec-2014 |
Nikita Popov |
Add support for doc comments in builders |
f5432a76 | 11-Dec-2014 |
Stepan Anchugov |
Add a a reference to PrettyPrinter to code generation doc The `$prettyPrinter` variable was undefined in the doc. Also, the PrettyPrinter was mentioned as `default`, but it's `Stand
Add a a reference to PrettyPrinter to code generation doc The `$prettyPrinter` variable was undefined in the doc. Also, the PrettyPrinter was mentioned as `default`, but it's `Standard`, actually.
show more ...
|
800d2783 | 27-Nov-2014 |
Nikita Popov |
Merge pull request #152 from Fullmetal5/master Add line returns in php-parse help message
|
8507af6f | 27-Nov-2014 |
nikic |
Add missing require in tests Test files aren't autoloaded, so this was order-dependent. |
7c98ad6f | 27-Nov-2014 |
nikic |
Support file offsets in emulative lexer as well Also run normal lexer tests against emulative lexer and fix a bug in __halt_compiler() handling found as a result. |
d774dbc1 | 27-Nov-2014 |
Máximo Cuadros Ortiz |
Add optional startFilePos and endFilePos attributes The lexer can now optionally add startFilePos and endFilePos attributes, which are offsets in to the lexed code string. The e
Add optional startFilePos and endFilePos attributes The lexer can now optionally add startFilePos and endFilePos attributes, which are offsets in to the lexed code string. The end offset currently points one past the last character of the token - this is pending further discussion. The attributes are not added by default and have to be enabled using the new 'usedAttributes' lexer option: $lexer = new Lexer([ 'usedAttributes' => [ 'comments', 'startLine', 'endLine', 'startFilePos', 'endFilePos' ] ]);
show more ...
|
1a93cc3b | 26-Nov-2014 |
Dexter Gerig |
Add line returns Add line returns to the help message so that the terminal won't end up on the same line. |
e26e63e9 | 13-Nov-2014 |
nikic |
Error on final or abstract properties |
0f69f12b | 13-Nov-2014 |
nikic |
Use "public" visibility when not explicitly given Fixes issue #143 |
a8ffc6fc | 04-Nov-2014 |
nikic |
Release PHP-Parser 1.0.2 |
7fbdb79a | 03-Nov-2014 |
nikic |
Fix whitespace when printing trait alias modifiers |
6fad8ff3 | 03-Nov-2014 |
Arne Blankerts |
Make NameResolver resolve trait alias and precedence names |
b9a60372 | 14-Oct-2014 |
nikic |
Release version 1.0.1 |
eb20e329 | 14-Oct-2014 |
nikic |
Update changelog |
f41a4c9a | 14-Oct-2014 |
nikic |
Fix wrong function name in docs |
767f23c3 | 11-Oct-2014 |
nikic |
Update lexer docs Remove some very questionable examples for changing startLexing() to accept a file name. Add token offset lexer implementation and usage example. |
63c18b29 | 01-Oct-2014 |
James Brooks |
Fixed a spelling mistake |
99df8b86 | 30-Sep-2014 |
nikic |
Support HHVM T_ONUMBER token |
66fd29cb | 30-Sep-2014 |
nikic |
Use stricter assertions where possible |
3d40e221 | 30-Sep-2014 |
nikic |
Annotate some APIs as @internal |
16dff7c2 | 28-Sep-2014 |
nikic |
Add ability to pass code directly to php-parse.php |