1 | <?php |
||
11 | class SyntaxCheckNodeVisitor extends \Twig_BaseNodeVisitor |
||
|
|||
12 | { |
||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | protected $path = []; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | 51 | public function getPriority() |
|
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | * |
||
29 | * @throws \Twig_Error_Syntax |
||
30 | */ |
||
31 | 51 | protected function doEnterNode(\Twig_Node $node, \Twig_Environment $env) |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 43 | protected function doLeaveNode(\Twig_Node $node, \ Twig_Environment $env) |
|
59 | |||
60 | /** |
||
61 | * @param \Twig_Node $node |
||
62 | * |
||
63 | * @throws \Twig_Error_Syntax |
||
64 | */ |
||
65 | 51 | private function checkAllowedChildren(\Twig_Node $node) |
|
87 | |||
88 | /** |
||
89 | * @param BaseNode $node |
||
90 | * |
||
91 | * @throws \Twig_Error_Syntax |
||
92 | */ |
||
93 | 42 | private function checkAllowedParents(BaseNode $node) |
|
119 | } |
||
120 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.