def _packSelf(self, codecs): return base.packListAs(kAE.typeObjectSpecifier, [ (kAE.keyAEDesiredClass, base.packType(self.AEM_want)), (kAE.keyAEKeyForm, self._keyForm), (kAE.keyAEKeyData, self._packKey(codecs)), (kAE.keyAEContainer, self._container.AEM_packSelf(codecs)), ])
def _packKey(self, codecs): return base.packListAs(kAE.typeRangeDescriptor, [ (kAE.keyAERangeStart, codecs.pack(self._key[0])), (kAE.keyAERangeStop, codecs.pack(self._key[1])), ])
def _packSelf(self, codecs): return base.packListAs(kAE.typeInsertionLoc, [ (kAE.keyAEObject, self._container.AEM_packSelf(codecs)), (kAE.keyAEPosition, self._key), ])
def AEM_packSelf(self, codecs): return base.packListAs(kAE.typeCompDescriptor, [ (kAE.keyAEObject1, codecs.pack(self._operand2)), (kAE.keyAECompOperator, self._operator), (kAE.keyAEObject2, codecs.pack(self._operand1)) ])
def AEM_packSelf(self, codecs): return base.packListAs(kAE.typeLogicalDescriptor, [ (kAE.keyAELogicalOperator, self._operator), (kAE.keyAELogicalTerms, codecs.pack(self._operands)), ])