def shapeexprlabel_to_IRI(self, shapeExprLabel: ShExDocParser.ShapeExprLabelContext)-> Union[ShExJ.BNODE, ShExJ.IRIREF]:
if shapeExprLabel.iri():<EOL><INDENT>return self.iri_to_iriref(shapeExprLabel.iri())<EOL><DEDENT>else:<EOL><INDENT>return ShExJ.BNODE(shapeExprLabel.blankNode().getText())<EOL><DEDENT>
shapeExprLabel: iri | blankNode