Twig/TokenParser/JshrinkTokenParser.php
public function parse(Twig_Token $token)
    {
        $lineNumber = $token->getLine();

        $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
        $body = $this->parser->subparse(function (Twig_Token $token) {
            return $token->test('endjshrink');
        }, true);
        $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);

        if ($this->enabled) {
            $node = new JshrinkNode($body, $lineNumber, $this->getTag());
            $node->setConfig($this->config);

            return $node;
        }

        return $body;
    }
public function parse(Twig_Token $token)
    {
        $lineNumber = $token->getLine();

        $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
        $body = $this->parser->subparse(function (Twig_Token $token) {
            return $token->test('endjshrink');
        }, true);
        $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);

        if ($this->enabled) {
            $node = new JshrinkNode($body, $lineNumber, $this->getTag());
            $node->setConfig($this->config);

            return $node;
        }

        return $body;
    }
{@inheritdoc}