public function Twig_Token::__construct

Constructor.

Parameters

integer $type The type of the token:

string $value The token value:

integer $lineno The line position in the source:

File

drupal/core/vendor/twig/twig/lib/Twig/Token.php, line 46

Class

Twig_Token
Represents a Token.

Code

public function __construct($type, $value, $lineno) {
  $this->type = $type;
  $this->value = $value;
  $this->lineno = $lineno;
}