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