You are here

public function Node::__construct in Markdown 8.2

Node constructor.

Parameters

\Twig_Node $value: The value.

int $line: The line number.

string $tag: The tag.

File

src/Twig/Node.php, line 22

Class

Node
Twig Markdown Node.

Namespace

Drupal\markdown\Twig

Code

public function __construct(\Twig_Node $value, $line, $tag = NULL) {
  parent::__construct([
    'value' => $value,
  ], [
    'name' => $tag,
  ], $line, $tag);
}