pQuery\TokenizerBase::__construct PHP Method

__construct() public method

Class constructor
See also: setDoc()
See also: setPos()
public __construct ( string $doc = '', integer $pos )
$doc string Document to be tokenized
$pos integer Position to start parsing
    function __construct($doc = '', $pos = 0)
    {
        $this->setWhitespace($this->whitespace);
        $this->setIdentifiers($this->identifiers);
        $this->setDoc($doc, $pos);
    }