Sets the end position of the node in the source code
Position $position Start position:
$this
public function setEndPosition(Position $position) { $this->location->end = $position; return $this; }