pass
def check_doc(self):
- pass
+ if self.doc:
+ self.doc.check()
@property
def ifcond(self):
for m in self.members:
doc.connect_member(m)
- def check_doc(self):
- if self.doc:
- self.doc.check()
-
def is_implicit(self):
# See QAPISchema._make_implicit_enum_type() and ._def_predefineds()
return self.name.endswith('Kind') or self.name == 'QType'
for m in self.local_members:
doc.connect_member(m)
- def check_doc(self):
- if self.doc:
- self.doc.check()
-
@property
def ifcond(self):
assert self._checked
for v in self.variants.variants:
doc.connect_member(v)
- def check_doc(self):
- if self.doc:
- self.doc.check()
-
def c_type(self):
return c_name(self.name) + pointer_suffix
if self.arg_type and self.arg_type.is_implicit():
self.arg_type.connect_doc(doc)
- def check_doc(self):
- if self.doc:
- self.doc.check()
-
def visit(self, visitor):
QAPISchemaEntity.visit(self, visitor)
visitor.visit_command(self.name, self.info, self.ifcond,
if self.arg_type and self.arg_type.is_implicit():
self.arg_type.connect_doc(doc)
- def check_doc(self):
- if self.doc:
- self.doc.check()
-
def visit(self, visitor):
QAPISchemaEntity.visit(self, visitor)
visitor.visit_event(self.name, self.info, self.ifcond,