Ejemplo n.º 1
0
	def emitUnaryPrefixOp(self, op):
		expr = self.getArg()
		uop = UnaryPrefixOp(op, expr)
		uop = foldUnaryPrefixOpAST(self.compiler.extractor, uop)
		self.pushOp(uop)
Ejemplo n.º 2
0
	def visitUnaryPrefixOp(self, node):
		if self.descriptive(): return node
		result = self.annotateFolded(fold.foldUnaryPrefixOpAST(self.extractor, node))
		self.logCreated(result)
		return result
Ejemplo n.º 3
0
 def visitUnaryPrefixOp(self, node):
     if self.descriptive(): return node
     result = self.annotateFolded(
         fold.foldUnaryPrefixOpAST(self.extractor, node))
     self.logCreated(result)
     return result