refactored 'defined' test and 'default' filter
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 6 Oct 2011 14:37:14 +0000 (16:37 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Sat, 8 Oct 2011 12:27:18 +0000 (14:27 +0200)
commit4a91f4ff34f6d704773ca6300758a928394bfe85
tree3cad5a0b4b5644928e246d335bcb337f246a639c
parente76fc0cb55ea6f22f6917b007b5436362984f56c
refactored 'defined' test and 'default' filter

Node manipulations have been moved outside the compile() method.
That's needed if we want to be able to visit all nodes that will be
compiled.
lib/Twig/ExpressionParser.php
lib/Twig/Node/Expression/Filter.php
lib/Twig/Node/Expression/Test.php