• Home
  • Raw
  • Download

Lines Matching refs:parent

57   def parent(self):  member in Node
126 parent = self.parent
128 while parent is not None:
129 if pred(parent):
130 yield parent
131 parent = parent.parent
178 if child.parent != self:
181 %(child, self, child.parent)
343 if p.parent is not None:
344 p.parent._entries.remove(p)
532 def _construct_inner_namespaces(self, parent, depth=0): argument
534 ins_dict = self._dictionary_by_name(parent.namespaces)
538 for p in parent._leafs:
543 ins = ins_dict.get(ins_str, InnerNamespace(ins_str, parent))
557 if ins not in parent.namespaces:
558 parent._namespaces.append(ins)
566 def _construct_entries(self, parent, depth=0): argument
568 entry_dict = self._dictionary_by_name(parent.entries)
569 for p in parent._leafs:
578 old_parent = entry.parent
579 entry._parent = parent
581 if entry not in parent.entries:
582 parent._entries.append(entry)
584 if old_parent is not None and old_parent != parent:
587 %(old_parent.name, parent.name, entry.name)
609 def __init__(self, name, parent, description=""): argument
613 self._parent = parent
643 def __init__(self, name, parent, languages=None): argument
645 self._parent = parent
672 def __init__(self, name, parent, sections=[]): argument
674 self._parent = parent # MetadataSet
697 def __init__(self, name, parent, description=None, kinds=[]): argument
699 self._parent = parent
744 k = Kind(el.name, el.parent)
780 combined = Kind(name="combined", parent=self)
800 def __init__(self, name, parent): argument
802 self._parent = parent
874 InnerNamespace(ins.name, parent=self))
882 kind = new_type(self.name, self.parent)
901 def __init__(self, name, parent): argument
903 self._parent = parent
994 def __init__(self, name, parent, argument
1005 self._parent = parent
1007 if parent is not None and parent.parent is not None:
1008 self._hal_major_version = parent.parent.hal_major_version
1009 self._hal_minor_version = parent.parent.hal_minor_version
1070 def __init__(self, parent, values, ids={}, deprecateds=[], argument
1072 self._parent = parent