4 * This file is part of Twig.
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
13 * Base class for all token parsers.
15 * @author Fabien Potencier <fabien@symfony.com>
17 abstract class Twig_TokenParser implements Twig_TokenParserInterface
25 * Sets the parser associated with this token parser.
27 public function setParser(Twig_Parser $parser)
29 $this->parser = $parser;