code: function setDoc($doc, $pos = 0) {
  		$this->doc = $doc;
  		$this->size = strlen($doc);
  		$this->setPos($pos);
  	}
docs: Sets target document
  @param string $doc Document to be tokenized
  @param int $pos Position to start parsing
  @see getDoc()
  @see setPos()