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