def iri_to_str(self, iri_: ShExDocParser.IriContext) -> str:
        """ iri: IRIREF | prefixedName 
        """
        if iri_.IRIREF():
            return self.iriref_to_str(iri_.IRIREF())
        else:
            return self.prefixedname_to_str(iri_.prefixedName())
def iri_to_str ( self , iri_ : ShExDocParser . IriContext ) -> str : if iri_ . IRIREF ( ) : return self . iriref_to_str ( iri_ . IRIREF ( ) ) else : return self . prefixedname_to_str ( iri_ . prefixedName ( ) )
iri: IRIREF | prefixedName