Home
last modified time | relevance | path

Searched refs:Node (Results 1 – 25 of 228) sorted by relevance

12345678910

/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
H A DSandboxNodeVisitor.php15 use Twig\Node\CheckSecurityCallNode;
16 use Twig\Node\CheckSecurityNode;
17 use Twig\Node\CheckToStringNode;
19 use Twig\Node\Expression\Binary\RangeBinary;
20 use Twig\Node\Expression\FilterExpression;
22 use Twig\Node\Expression\GetAttrExpression;
23 use Twig\Node\Expression\NameExpression;
24 use Twig\Node\ModuleNode;
25 use Twig\Node\Node; alias
26 use Twig\Node\PrintNode;
[all …]
H A DOptimizerNodeVisitor.php15 use Twig\Node\BlockReferenceNode;
17 use Twig\Node\Expression\ConstantExpression;
18 use Twig\Node\Expression\FilterExpression;
21 use Twig\Node\Expression\NameExpression;
22 use Twig\Node\Expression\ParentExpression;
23 use Twig\Node\ForNode;
24 use Twig\Node\IncludeNode;
25 use Twig\Node\Node; alias
26 use Twig\Node\PrintNode;
94 private function optimizePrintNode(Node $node, Environment $env): Node
[all …]
H A DMacroAutoImportNodeVisitor.php15 use Twig\Node\Expression\AssignNameExpression;
16 use Twig\Node\Expression\ConstantExpression;
17 use Twig\Node\Expression\GetAttrExpression;
18 use Twig\Node\Expression\MethodCallExpression;
19 use Twig\Node\Expression\NameExpression;
20 use Twig\Node\ImportNode;
21 use Twig\Node\ModuleNode;
22 use Twig\Node\Node; alias
32 public function enterNode(Node $node, Environment $env)
42 public function leaveNode(Node $node, Environment $env)
H A DSafeAnalysisNodeVisitor.php15 use Twig\Node\Expression\BlockReferenceExpression;
16 use Twig\Node\Expression\ConditionalExpression;
17 use Twig\Node\Expression\ConstantExpression;
18 use Twig\Node\Expression\FilterExpression;
19 use Twig\Node\Expression\FunctionExpression;
20 use Twig\Node\Expression\GetAttrExpression;
21 use Twig\Node\Expression\MethodCallExpression;
22 use Twig\Node\Expression\NameExpression;
23 use Twig\Node\Expression\ParentExpression;
24 use Twig\Node\Node; alias
[all …]
H A DAbstractNodeVisitor.php15 use Twig\Node\Node; alias
26 final public function enterNode(Node $node, Environment $env)
31 final public function leaveNode(Node $node, Environment $env)
39 * @return Node The modified node
41 abstract protected function doEnterNode(Node $node, Environment $env);
46 * @return Node|null The modified node or null if the node must be removed
48 abstract protected function doLeaveNode(Node $node, Environment $env);
H A DEscaperNodeVisitor.php16 use Twig\Node\AutoEscapeNode;
17 use Twig\Node\BlockNode;
18 use Twig\Node\BlockReferenceNode;
19 use Twig\Node\DoNode;
21 use Twig\Node\Expression\ConstantExpression;
22 use Twig\Node\Expression\FilterExpression;
23 use Twig\Node\Expression\InlinePrint;
24 use Twig\Node\ImportNode;
25 use Twig\Node\ModuleNode;
26 use Twig\Node\Node; alias
[all …]
H A DNodeVisitorInterface.php15 use Twig\Node\Node; alias
27 * @return Node The modified node
29 public function enterNode(Node $node, Environment $env);
34 * @return Node|null The modified node or null if the node must be removed
36 public function leaveNode(Node $node, Environment $env);
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/
H A DDefinedTest.php12 namespace Twig\Node\Expression\Test;
16 use Twig\Node\Expression\ArrayExpression;
17 use Twig\Node\Expression\BlockReferenceExpression;
18 use Twig\Node\Expression\ConstantExpression;
19 use Twig\Node\Expression\FunctionExpression;
20 use Twig\Node\Expression\GetAttrExpression;
21 use Twig\Node\Expression\MethodCallExpression;
22 use Twig\Node\Expression\NameExpression;
23 use Twig\Node\Expression\TestExpression;
24 use Twig\Node\Node; alias
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Filter/
H A DDefaultFilter.php12 namespace Twig\Node\Expression\Filter;
15 use Twig\Node\Expression\ConditionalExpression;
16 use Twig\Node\Expression\ConstantExpression;
17 use Twig\Node\Expression\FilterExpression;
18 use Twig\Node\Expression\GetAttrExpression;
19 use Twig\Node\Expression\NameExpression;
20 use Twig\Node\Expression\Test\DefinedTest;
21 use Twig\Node\Node; alias
32 …public function __construct(Node $node, ConstantExpression $filterName, Node $arguments, int $line…
37 $test = new DefinedTest(clone $node, 'defined', new Node(), $node->getTemplateLine());
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DNullCoalesceExpression.php12 namespace Twig\Node\Expression;
15 use Twig\Node\Expression\Binary\AndBinary;
16 use Twig\Node\Expression\Test\DefinedTest;
17 use Twig\Node\Expression\Test\NullTest;
18 use Twig\Node\Expression\Unary\NotUnary;
19 use Twig\Node\Node; alias
23 public function __construct(Node $left, Node $right, int $lineno)
25 $test = new DefinedTest(clone $left, 'defined', new Node(), $left->getTemplateLine());
30 …new NotUnary(new NullTest($left, 'null', new Node(), $left->getTemplateLine()), $left->getTemplate…
H A DTestExpression.php12 namespace Twig\Node\Expression;
15 use Twig\Node\Node; alias
19 public function __construct(Node $node, string $name, ?Node $arguments, int $lineno)
H A DAbstractExpression.php13 namespace Twig\Node\Expression;
15 use Twig\Node\Node; alias
22 abstract class AbstractExpression extends Node
H A DFilterExpression.php13 namespace Twig\Node\Expression;
16 use Twig\Node\Node; alias
20 …public function __construct(Node $node, ConstantExpression $filterName, Node $arguments, int $line…
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
H A DProfilerNodeVisitor.php15 use Twig\Node\BlockNode;
16 use Twig\Node\BodyNode;
17 use Twig\Node\MacroNode;
18 use Twig\Node\ModuleNode;
19 use Twig\Node\Node; alias
21 use Twig\Profiler\Node\EnterProfileNode;
22 use Twig\Profiler\Node\LeaveProfileNode;
37 protected function doEnterNode(Node $node, Environment $env)
42 protected function doLeaveNode(Node $node, Environment $env)
46 …$node->setNode('display_start', new Node([new EnterProfileNode($this->extensionName, Profile::TEMP…
[all …]
/template/twigstarter/vendor/twig/twig/src/
H A DParser.php16 use Twig\Node\BlockNode;
17 use Twig\Node\BlockReferenceNode;
18 use Twig\Node\BodyNode;
20 use Twig\Node\MacroNode;
21 use Twig\Node\ModuleNode;
22 use Twig\Node\Node; alias
23 use Twig\Node\NodeCaptureInterface;
24 use Twig\Node\NodeOutputInterface;
25 use Twig\Node\PrintNode;
26 use Twig\Node\SpacelessNode;
[all …]
H A DNodeTraverser.php14 use Twig\Node\Node; alias
48 public function traverse(Node $node): Node
61 * @return Node|null
63 private function traverseForVisitor(NodeVisitorInterface $visitor, Node $node)
H A DExpressionParser.php16 use Twig\Node\Expression\AbstractExpression;
17 use Twig\Node\Expression\ArrayExpression;
26 use Twig\Node\Expression\NameExpression;
28 use Twig\Node\Expression\TestExpression;
29 use Twig\Node\Expression\Unary\NegUnary;
30 use Twig\Node\Expression\Unary\NotUnary;
31 use Twig\Node\Expression\Unary\PosUnary;
32 use Twig\Node\Node; alias
583 * @return Node
644 return new Node($args);
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
H A DAbstractBinary.php13 namespace Twig\Node\Expression\Binary;
16 use Twig\Node\Expression\AbstractExpression;
17 use Twig\Node\Node; alias
21 public function __construct(Node $left, Node $right, int $lineno)
/template/twigstarter/vendor/twig/twig/src/Node/
H A DForNode.php13 namespace Twig\Node;
16 use Twig\Node\Expression\AbstractExpression;
17 use Twig\Node\Expression\AssignNameExpression;
24 class ForNode extends Node
28 …$valueTarget, AbstractExpression $seq, ?AbstractExpression $ifexpr, Node $body, ?Node $else, int $…
30 $body = new Node([$body, $this->loop = new ForLoopNode($lineno, $tag)]);
33 $body = new IfNode(new Node([$ifexpr, $body]), null, $lineno, $tag);
H A DModuleNode.php13 namespace Twig\Node;
16 use Twig\Node\Expression\AbstractExpression;
17 use Twig\Node\Expression\ConstantExpression;
31 class ModuleNode extends Node
33 …public function __construct(Node $body, ?AbstractExpression $parent, Node $blocks, Node $macros, N…
44 'display_start' => new Node(),
45 'display_end' => new Node(),
46 'constructor_start' => new Node(),
47 'constructor_end' => new Node(),
48 'class_end' => new Node(),
[all …]
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DUseTokenParser.php15 use Twig\Node\Expression\ConstantExpression;
16 use Twig\Node\Node; alias
62 … $this->parser->addTrait(new Node(['template' => $template, 'targets' => new Node($targets)]));
64 return new Node();
H A DBlockTokenParser.php16 use Twig\Node\BlockNode;
17 use Twig\Node\BlockReferenceNode;
18 use Twig\Node\Node; alias
19 use Twig\Node\PrintNode;
40 $this->parser->setBlock($name, $block = new BlockNode($name, new Node([]), $lineno));
54 $body = new Node([
H A DForTokenParser.php16 use Twig\Node\Expression\AssignNameExpression;
17 use Twig\Node\Expression\ConstantExpression;
18 use Twig\Node\Expression\GetAttrExpression;
19 use Twig\Node\Expression\NameExpression;
20 use Twig\Node\ForNode;
21 use Twig\Node\Node; alias
91 private function checkLoopUsageCondition(TokenStream $stream, Node $node)
108 private function checkLoopUsageBody(TokenStream $stream, Node $node)
H A DApplyTokenParser.php14 use Twig\Node\Expression\TempNameExpression;
15 use Twig\Node\Node; alias
16 use Twig\Node\PrintNode;
17 use Twig\Node\SetNode;
43 return new Node([
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Unary/
H A DAbstractUnary.php13 namespace Twig\Node\Expression\Unary;
16 use Twig\Node\Expression\AbstractExpression;
17 use Twig\Node\Node; alias
21 public function __construct(Node $node, int $lineno)

12345678910