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