class Nodes
Represents a list of nodes.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Twig\Node\Node implements \Twig\Node\Countable, \Twig\Node\IteratorAggregate
- class \Twig\Node\Nodes extends \Twig\Node\Node
Expanded class hierarchy of Nodes
14 files declare their use of Nodes
- ApplyTokenParser.php in vendor/
twig/ twig/ src/ TokenParser/ ApplyTokenParser.php - BlockTokenParser.php in vendor/
twig/ twig/ src/ TokenParser/ BlockTokenParser.php - ComponentNodeVisitor.php in core/
lib/ Drupal/ Core/ Template/ ComponentNodeVisitor.php - EscaperNodeVisitor.php in vendor/
twig/ twig/ src/ NodeVisitor/ EscaperNodeVisitor.php - ExpressionParser.php in vendor/
twig/ twig/ src/ ExpressionParser.php
7 string references to 'Nodes'
- d6_node.yml in core/
modules/ node/ migrations/ d6_node.yml - core/modules/node/migrations/d6_node.yml
- d7_node.yml in core/
modules/ node/ migrations/ d7_node.yml - core/modules/node/migrations/d7_node.yml
- DOMNodeComparator::assertEquals in vendor/
sebastian/ comparator/ src/ DOMNodeComparator.php - hook_search_plugin_alter in core/
modules/ search/ search.api.php - Alter search plugin definitions.
- hook_token_info in core/
lib/ Drupal/ Core/ Utility/ token.api.php - Provide information about available placeholder tokens and token types.
File
-
vendor/
twig/ twig/ src/ Node/ Nodes.php, line 21
Namespace
Twig\NodeView source
final class Nodes extends Node {
public function __construct(array $nodes = [], int $lineno = 0) {
parent::__construct($nodes, [], $lineno);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
Node::$attributeNameDeprecations | private | property | @var array<string, NameDeprecation> | ||
Node::$attributes | protected | property | |||
Node::$lineno | protected | property | |||
Node::$nodeNameDeprecations | private | property | @var array<string, NameDeprecation> | ||
Node::$nodes | protected | property | |||
Node::$sourceContext | private | property | |||
Node::$tag | protected | property | |||
Node::compile | public | function | 45 | ||
Node::count | public | function | |||
Node::deprecateAttribute | public | function | |||
Node::deprecateNode | public | function | |||
Node::getAttribute | public | function | |||
Node::getIterator | public | function | |||
Node::getNode | public | function | |||
Node::getNodeTag | public | function | |||
Node::getSourceContext | public | function | |||
Node::getTemplateLine | public | function | |||
Node::getTemplateName | public | function | |||
Node::hasAttribute | public | function | |||
Node::hasNode | public | function | |||
Node::removeAttribute | public | function | |||
Node::removeNode | public | function | |||
Node::setAttribute | public | function | |||
Node::setNode | public | function | 1 | ||
Node::setNodeTag | public | function | @internal | ||
Node::setSourceContext | public | function | |||
Node::__toString | public | function | |||
Nodes::__construct | public | function | Overrides Node::__construct |