def visitQualifier(self, ctx: ShExDocParser.QualifierContext):
if ctx.includeSet():<EOL><INDENT>if self.shape.inherit is None:<EOL><INDENT>self.shape.inherit = []<EOL><DEDENT>self.shape.inherit += [self.context.tripleexprlabel_to_iriref(tel)<EOL>for tel in ctx.includeSet().tripleExpressionLabel()]<EOL><DEDENT>elif ctx.extraPropertySet():<EOL><INDENT>if self.shape.extra is None:<EOL><INDENT>self.shape.extra = []<EOL><DEDENT>self.shape.extra += [self.context.predicate_to_IRI(p) for p in ctx.extraPropertySet().predicate()]<EOL><DEDENT>elif ctx.KW_CLOSED():<EOL><INDENT>self.shape.closed = True<EOL><DEDENT>
qualifier: includeSet | extraPropertySet | KW_CLOSED