Commit Graph

54 Commits

Author SHA1 Message Date
Nikita Popov
a513ccabb7 Improve constant evaluation and add docs
Split into evaluateDirectly() and evaluateSilently(), to be able
to treat errors more gracefully. Add documentation for constant
evaluation.
2018-01-27 17:47:45 +01:00
Nikita Popov
7162b36f2d Add bullet point summary to main README as well 2017-11-10 22:45:27 +01:00
Nikita Popov
73be07672b Docs: Add performance section 2017-11-10 22:44:06 +01:00
Nikita Popov
b0242d31f8 Add quick start to README 2017-10-18 18:43:39 +02:00
Nikita Popov
eaee6687e0 Tweaks 2017-10-03 19:13:20 +02:00
Nikita Popov
f5f3b0d49d Add name resolution, pretty printing component docs
The docs are receiving too little love...
2017-10-03 19:09:59 +02:00
Nikita Popov
829c6c3c71 Add initial changelog for version 4.0 2017-09-02 20:03:10 +02:00
Nikita Popov
369a078c54 Add FAQ with entries for parent and siblings 2017-04-08 23:27:43 +02:00
Nikita Popov
f4ea0270c8 Mark version 2.x as unsupported
No commits to this branch for five months, mark as unsupported.
2017-02-05 14:19:54 +01:00
Nikita Popov
be2ed243f6 Bump development version to 4.0 2017-01-19 20:48:57 +01:00
Nikita Popov
68973aed1e Release PHP-Parser 3.0 2016-11-30 19:20:29 +01:00
Nikita Popov
71438559ae Update docs 2016-10-29 13:37:47 +02:00
Nikita Popov
1b1ff8995b Update some PHP version numbers 2016-07-22 17:07:56 +02:00
Nikita Popov
d5cbf79f2f Mark 1.x as unsupported 2016-02-28 21:01:06 +01:00
Nikita Popov
c8282e6e76 Add badges 2016-02-20 21:53:08 +01:00
Nikita Popov
c542e5d86a Release PHP-Parser 2.0.0 2015-12-04 16:28:43 +01:00
Nikita Popov
b2f26d30ee Update README regarding PHP 7 compat 2015-11-21 22:30:40 +01:00
Nikita Popov
0d4239ef56 Only advertize install via composer
Now that it's so small, move installation docs into readme.
2015-09-16 22:16:29 +09:00
Nikita Popov
a5db176903 Merge branch '1.x' 2015-07-02 18:09:38 +02:00
Rodrigo Prado
7fbbf83011 Added syntax highlighting in README 2015-07-02 18:09:12 +02:00
Nikita Popov
6b4a17b3e0 Set version to 2.0-dev. Drop PHP 5.3 support 2015-05-02 22:08:03 +02:00
Nikita Popov
30abe062f2 Update documentation link 2015-05-02 22:03:33 +02:00
Nikita Popov
5567f0ab3b Add documentation TOC to readme 2015-03-10 21:32:21 +01:00
Jamie Hannaford
158322e1e4 Fix apostrophe 2014-12-15 10:05:52 +00:00
nikic
2b96ab8edc Release PHP-Parser 1.0.0 2014-09-12 14:48:23 +02:00
nikic
22ef0de7ef Add migration guide for 0.9 -> 1.0 2014-09-12 14:40:17 +02:00
nikic
7a3789f1a9 Remove "experimental" message 2014-08-31 17:05:11 +02:00
nikic
a6d46c17b1 Release PHP-Parser 1.0.0 Beta 1 2014-03-27 14:12:13 +01:00
nikic
5cab2a7844 Specify autoloader in composer.json 2014-02-06 21:39:57 +01:00
nikic
843aad4382 Fix readme 2014-02-06 20:54:49 +01:00
nikic
5e725df892 Update docs to use new names 2014-02-06 20:52:01 +01:00
nikic
8e686ce7a7 PHP-Parser supports PHP 5.5 2013-04-15 20:56:45 +02:00
nikic
48f089a111 Tweak readme 2012-02-21 19:58:11 +01:00
nikic
517562e05a Add a little into to readme 2012-02-21 19:52:49 +01:00
nikic
6289ccfa78 More docs 2011-11-12 19:28:53 +01:00
nikic
b7a034cd9f Remove redundant check in NameResolver 2011-09-29 18:51:12 +02:00
nikic
92f793001b Fix some readme + doccomment typos 2011-09-28 16:26:51 +02:00
nikic
d53173c2f3 Don't use references in NodeTraverser
Stop using reference magic in the NodeTraverser. Instead use normal return values. Additionally enfore that an array is passed to ->traverse().
2011-09-24 23:39:05 +02:00
nikic
ee4e55dc75 Move Node_Expr_FuncCallArg to Node_Arg (just like Node_Param) 2011-09-22 20:34:35 +02:00
nikic
a551bbc5a4 Add PHPParser_Node interface 2011-09-21 21:43:19 +02:00
nikic
96350be172 Implement the debug parser by extending the normal parser. That way there is no need to repeat all action codes and lookup tables twice. 2011-08-14 15:36:15 +02:00
nikic
ae46aeda7f Don't save whether a string is binary anymore. The binary flag isn't going to be used in the next couple of years, so it doesn't make sense to unnecessarily complicate things. 2011-08-09 14:19:44 +02:00
nikic
c013467b48 Add NodeTraverser documentation 2011-08-09 12:55:32 +02:00
nikic
684a638f46 Add possibility to pretty print expressions to PrettyPrinter 2011-08-04 18:19:45 +02:00
nikic
06fcef9090 Document getDocComment and getLine 2011-07-14 13:21:41 +02:00
nikic
b24d0e2dc4 Rename PHPParser_ParseErrorException to PHPParser_Error 2011-06-05 18:52:41 +02:00
nikic
83a2077f0e Add Autoloader 2011-06-05 18:47:52 +02:00
nikic
620525a5da Prefix all classes with PHPParser_ 2011-06-05 18:40:04 +02:00
nikic
d82bbb3bea Throw ParseErrorException on error instead of error callback
As long as the parser isn't reentrant having an error callback doesn't really make sense and only complicates everything.
2011-06-03 17:44:23 +02:00
nikic
b80f326b6a Fix problem with indented strings by introducing PrettyPrinter->pSafe 2011-06-02 22:52:24 +02:00