removed old files
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Fri, 16 Oct 2009 06:22:43 +0000 (06:22 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Fri, 16 Oct 2009 06:22:43 +0000 (06:22 +0000)
git-svn-id: http://svn.twig-project.org/trunk@62 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Node/Call.php [deleted file]
lib/Twig/TokenParser/Call.php [deleted file]

diff --git a/lib/Twig/Node/Call.php b/lib/Twig/Node/Call.php
deleted file mode 100644 (file)
index 1c4f1a3..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/*
- * This file is part of Twig.
- *
- * (c) 2009 Fabien Potencier
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * Represents a call node.
- *
- * @package    twig
- * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
- * @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 (file)
index c564fb4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-/*
- * This file is part of Twig.
- *
- * (c) 2009 Fabien Potencier
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-class Twig_TokenParser_Call extends Twig_TokenParser
-{
-  public function parse(Twig_Token $token)
-  {
-    $lineno = $token->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';
-  }
-}