Beispiel #1
0
	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)),
				])
Beispiel #2
0
 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)),
     ])
Beispiel #3
0
 def _packKey(self, codecs):
     return base.packListAs(kAE.typeRangeDescriptor, [
         (kAE.keyAERangeStart, codecs.pack(self._key[0])),
         (kAE.keyAERangeStop, codecs.pack(self._key[1])),
     ])
Beispiel #4
0
 def _packSelf(self, codecs):
     return base.packListAs(kAE.typeInsertionLoc, [
         (kAE.keyAEObject, self._container.AEM_packSelf(codecs)),
         (kAE.keyAEPosition, self._key),
     ])
Beispiel #5
0
	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))
				])
Beispiel #6
0
	def AEM_packSelf(self, codecs):
		return base.packListAs(kAE.typeLogicalDescriptor, [
				(kAE.keyAELogicalOperator, self._operator), 
				(kAE.keyAELogicalTerms, codecs.pack(self._operands)),
				])
Beispiel #7
0
	def _packSelf(self, codecs):
		return base.packListAs(kAE.typeInsertionLoc, [
				(kAE.keyAEObject, self._container.AEM_packSelf(codecs)), 
				(kAE.keyAEPosition, self._key),
				])
Beispiel #8
0
	def _packKey(self, codecs):
		return base.packListAs(kAE.typeRangeDescriptor, [
				(kAE.keyAERangeStart, codecs.pack(self._key[0])), 
				(kAE.keyAERangeStop, codecs.pack(self._key[1])),
				])
Beispiel #9
0
	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))
				])
Beispiel #10
0
	def AEM_packSelf(self, codecs):
		return base.packListAs(kAE.typeLogicalDescriptor, [
				(kAE.keyAELogicalOperator, self._operator), 
				(kAE.keyAELogicalTerms, codecs.pack(self._operands)),
				])