From: fabien Date: Fri, 16 Oct 2009 06:22:43 +0000 (+0000) Subject: removed old files X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=fbb778598dda52ab10503fd8b54261198c656c99;p=konrad%2Ftwig.git removed old files git-svn-id: http://svn.twig-project.org/trunk@62 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/lib/Twig/Node/Call.php b/lib/Twig/Node/Call.php deleted file mode 100644 index 1c4f1a3..0000000 --- a/lib/Twig/Node/Call.php +++ /dev/null @@ -1,45 +0,0 @@ - - * @version SVN: $Id$ - */ -class Twig_Node_Call extends Twig_Node -{ - protected $name; - protected $arguments; - - public function __construct($name, Twig_NodeList $arguments, $lineno, $tag = null) - { - parent::__construct($lineno, $tag); - $this->name = $name; - $this->arguments = $arguments; - } - - public function __toString() - { - return get_class($this).'('.$this->name.')'; - } - - public function compile($compiler) - { -// $compiler->subcompile($this->body); - } - - public function getName() - { - return $this->name; - } -} diff --git a/lib/Twig/TokenParser/Call.php b/lib/Twig/TokenParser/Call.php deleted file mode 100644 index c564fb4..0000000 --- a/lib/Twig/TokenParser/Call.php +++ /dev/null @@ -1,30 +0,0 @@ -getLine(); - $name = $this->parser->getStream()->expect(Twig_Token::NAME_TYPE)->getValue(); - - // arguments - $arguments = array(); - - $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE); - - return new Twig_Node_Call($name, $arguments, $lineno, $this->getTag()); - } - - public function getTag() - { - return 'call'; - } -}