PhpCss\Scanner\Token::__construct PHP Method

__construct() public method

Construct and initialize token
public __construct ( integer $type, string $content = '', integer $position ) : Token
$type integer
$content string
$position integer
return Token
    public function __construct($type = 0, $content = '', $position = -1)
    {
        $this->_type = $type;
        $this->_content = $content;
        $this->_length = strlen($content);
        $this->_position = $position;
    }