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 * Flushes the output to the client.
19 class Twig_TokenParser_Flush extends Twig_TokenParser
21 public function parse(Twig_Token $token)
23 $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
25 return new Twig_Node_Flush($token->getLine(), $this->getTag());
28 public function getTag()
34 class_alias('Twig_TokenParser_Flush', 'Twig\TokenParser\FlushTokenParser', false);