<?php



/**
 * @deprecated since version 1.5
 */
class Twig_Extensions_Grammar_Hash extends Twig_Extensions_Grammar
{
    public function __toString()
    {
        return sprintf('<%s:hash>', $this->name);
    }

    public function parse(Twig_Token $token)
    {
        return $this->parser->getExpressionParser()->parseHashExpression();
    }
}
