Nikita Popov
e612609022
Release PHP-Parser 4.2.3
2019-08-12 22:17:41 +02:00
Tyson Andre
a1f72690ef
Fix harmless typos in documentation
2019-07-23 12:32:37 +02:00
Chris Hewitt
a4b43edb03
Fix one-character inconsistency
2019-06-30 09:25:26 +02:00
Tomas Votruba
af8c729603
Add PHP 7.4 typed properties support
2019-01-05 21:34:25 +01:00
Nikita Popov
8aae5b59b8
Release PHP-Parser 4.1.1
2018-12-26 12:32:39 +01:00
Niko
294b93fbca
Another Typo
2018-12-24 17:28:52 +01:00
Niko
bc3ac5e5ea
Fixed typo
2018-12-24 16:23:47 +01:00
Cosmin Radoi
ebf6b1c33b
Fix NodeDecoder
=> JsonDecoder
in docs ( #552 )
2018-11-29 23:12:33 +01:00
Romain Canon
8e4f972036
Fix wrong method call in doc
2018-11-07 17:34:08 +01:00
Phil Davis
69068722b7
Fix typo of DONT_TRAVERSE_CURRENT_AND_CHILDREN
2018-10-11 10:16:31 +02:00
Maks Rafalko
fb3d89e463
Document new DONT_TRAVERSER_CURRENT_AND_CHILDREN
constant ( #540 )
...
* Document new `DONT_TRAVERSER_CURRENT_AND_CHILDREN` constant
* Rewording sentences, added 1 space indentation to make bullet list correct
2018-10-10 21:56:48 +02:00
Brent Shaffer
1973b6633a
Fixes typo in AST Builder doc ( #529 )
2018-08-17 07:18:50 +09:00
Nikita Popov
4d6825c460
Add notes for new builders in docs
2018-07-22 21:33:04 +02:00
Eridan Domoratskiy
5aeb884ab5
Mention makeReturnByRef() in AST_builders.markdown ( #519 )
2018-07-20 21:47:07 +02:00
Loek van der Linde
2b0bd657bb
Update 2_Usage_of_basic_components.markdown ( #494 )
2018-04-17 18:29:16 +03:00
Nikita Popov
3125b54e5e
Link to composer/xdebug-handler
2018-03-25 19:34:45 +02:00
Nikita Popov
610617fe93
Also add new() builder
2018-03-03 22:25:58 +01:00
Nikita Popov
ff2d85dc6b
Add constFetch() and classConstFetch() builders
2018-03-03 22:14:42 +01:00
Nikita Popov
b998d1e9b5
Add funcCall(), methodCall() and staticCall() builders
2018-03-03 15:40:51 +01:00
Nikita Popov
7484acb88b
Enable syntax highlighting for one code block
2018-02-28 21:27:29 +01:00
Nikita Popov
bc5ba47b28
Add links to component docs
2018-02-28 21:14:04 +01:00
Nikita Popov
b9996315a6
Add more extensive docs for node visitors
...
Also document NodeFinder.
2018-02-28 21:00:42 +01:00
Ryan Weaver
de3470190c
Proofreading the docs - very minor changes!
2018-02-28 18:15:02 +01:00
Nikita Popov
8d1e86b47f
Move node dumper docs into basic usage
...
Also mentioned php-parse here.
2018-02-08 17:17:32 +01:00
Nikita Popov
ff10cc9d08
Move JSON representation into component documentation
...
Also add -j flag to php-parse script to get a JSON dump. Also
drop obsolete flag for XML dumping.
2018-02-08 16:36:04 +01:00
Nikita Popov
dd0adcc96c
Move code gen docs to components and improve
...
Mention non-fluent helper methods.
2018-01-27 18:56:21 +01:00
Nikita Popov
e4505de346
Move FAQ into component documentation
2018-01-27 18:40:22 +01:00
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
Gabriel Caruso
aa685e711a
Bump to PHP 7.2 in documentation
2018-01-14 22:10:37 +01:00
Gabriel Caruso
bcb45d31eb
Trailing whitespaces ( #461 )
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-08 11:10:03 +01:00
Nikita Popov
73be07672b
Docs: Add performance section
2017-11-10 22:44:06 +01:00
Tomáš Votruba
7f92edf3a1
Docs: add missing $stmts ( #433 )
2017-10-31 22:48:00 +01:00
Tomáš Votruba
651341d53b
docs: "return" => "remove" typo ( #430 )
2017-10-22 13:50:47 +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
9373a8e9f5
Implement JsonDecoder
...
Converts JSON representation back into node tree.
2017-08-18 23:56:12 +02:00
Tomáš Votruba
edec3bb07a
Docs: fix FAQ link anchor ( #406 )
2017-08-08 17:53:02 +02:00
Tomáš Votruba
770c314dd1
Docs: Use PHP 7 return types ( #405 )
2017-08-07 22:49:26 +02:00
Ilia Smirnov
441e6e1d31
Fixed incorrect class inheritance ( #394 )
...
Generated example was incorrect - you cannot define import alias:
use Some\Other\Thingy as SomeClass;
and then define a class with the same name:
abstract class SomeClass ...
Class names changed to avoid conflict between import alias and abstract class name.
2017-07-19 16:55:00 +02:00
xKerman
24d583d5c3
Fix example code to work ( #390 )
2017-05-28 12:35:04 +02:00
Nikita Popov
e15b6aa3e0
Fix links
2017-04-09 18:51:46 +02:00
Maks Rafalko
12034b19d7
Use the correct method from NodeVisitor interface ( #373 )
...
FAQ's code examples use incorrect method, so this update fixes it
2017-04-09 11:29:07 +02:00
Nikita Popov
369a078c54
Add FAQ with entries for parent and siblings
2017-04-08 23:27:43 +02:00
Nikita Popov
deb64ab676
Remove XML serialization from docs
...
This is no longer available in version 4.
2017-04-08 23:12:53 +02:00
Ben Peachey
291bb27f6a
Removes unneeded code from JSON encoding example ( #372 )
2017-04-07 16:15:46 +02:00
Nikita Popov
987c61e935
Drop support for false return value in NodeTraverser
2017-02-03 22:36:57 +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
912c0bb9c9
Document that XDebug is super slow
2016-04-19 15:40:08 +02:00
lvht
39f93f09f9
Add setReturnType() method to function/method builders
...
Also support scalar type hints in existing setTypeHint() method on params.
2016-04-09 18:41:38 +09:00