def visitIriRange(self, ctx: ShExDocParser.IriRangeContext):
baseiri = self.context.iri_to_iriref(ctx.iri())<EOL>if not ctx.STEM_MARK():<EOL><INDENT>vsvalue = baseiri                   <EOL><DEDENT>else:<EOL><INDENT>if ctx.iriExclusion():              <EOL><INDENT>vsvalue = IriStemRange(baseiri, exclusions=[])<EOL>self._iri_exclusions(vsvalue, ctx.iriExclusion())<EOL><DEDENT>else:<EOL><INDENT>vsvalue = IriStem(baseiri)      <EOL><DEDENT><DEDENT>self.nodeconstraint.values.append(vsvalue)<EOL>
iriRange: iri (STEM_MARK iriExclusion*)?