private function containsPosition(int $pos): bool {
        return $this->getStart() <= $pos && $pos <= $this->getEndPosition();
    }
private function containsPosition(int $pos): bool {
        return $this->getStart() <= $pos && $pos <= $this->getEndPosition();
    }
private function containsPosition ( int $ pos ) : bool { return $ this -> getStart ( ) <= $ pos && $ pos <= $ this -> getEndPosition ( ) ; }
Returns true if the given Node or Token contains the given position.
@param int $pos
@return bool
Returns true if the given Node or Token contains the given position .