Add missing is-public function to parser