[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/twig/twig/lib/Twig/ -> ParserInterface.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of Twig.
   5   *
   6   * (c) Fabien Potencier
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  use Twig\Error\SyntaxError;
  13  use Twig\Node\ModuleNode;
  14  use Twig\TokenStream;
  15  
  16  /**
  17   * Interface implemented by parser classes.
  18   *
  19   * @author Fabien Potencier <fabien@symfony.com>
  20   *
  21   * @deprecated since 1.12 (to be removed in 3.0)
  22   */
  23  interface Twig_ParserInterface
  24  {
  25      /**
  26       * Converts a token stream to a node tree.
  27       *
  28       * @return ModuleNode
  29       *
  30       * @throws SyntaxError When the token stream is syntactically or semantically wrong
  31       */
  32      public function parse(TokenStream $stream);
  33  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1