mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 04:14:44 +01:00
c7c94f38f1
Instead manually implement IteratorAggregate and define the required magic methods. The reasoning behind this is: a) Extending ArrayObject is always risky, because a lot of magic which is known to be buggy is involved b) This allows to lateron change the implementation for the nodes altogether, for example it could be changed to using real public fields instead of a $subNodes array. |
||
---|---|---|
.. | ||
Node | ||
NodeVisitor | ||
Parser | ||
PrettyPrinter | ||
Autoloader.php | ||
Error.php | ||
Lexer.php | ||
Node.php | ||
NodeAbstract.php | ||
NodeDumper.php | ||
NodeTraverser.php | ||
NodeVisitor.php | ||
NodeVisitorAbstract.php | ||
Parser.php | ||
PrettyPrinterAbstract.php |