Lines Matching full:branches
218 branches: Optional[QAPISchemaBranches],
229 branches: Optional[QAPISchemaBranches],
527 branches: Optional[QAPISchemaBranches],
529 # struct has local_members, optional base, and no branches
530 # union has base, branches, and no local_members
532 self.meta = 'union' if branches else 'struct'
535 if branches is not None:
536 branches.set_defined_in(name)
540 self.branches = branches
564 or self.base.branches):
580 if self.branches:
581 self.branches.check(schema, seen)
582 self.branches.check_clash(self.info, seen)
598 if self.branches:
599 self.branches.check_clash(info, seen)
615 return not self.members and not self.branches
638 self.base, self.local_members, self.branches)
641 self.members, self.branches)
787 # branches that are not explicitly covered get an empty type
797 raise QAPISemError(self.info, "union has no branches")
1035 if self.arg_type.branches and not self.boxed:
1106 if self.arg_type.branches and not self.boxed: