Lines Matching refs:self
34 def __init__(self, slicc, expr):
35 super(ExprStatementAST, self).__init__(slicc)
36 self.expr = expr
38 def __repr__(self):
39 return "[ExprStatementAST: %s]" % (self.expr)
41 def generate(self, code, return_type):
42 actual_type,rcode = self.expr.inline(True)
46 if (not isinstance(self.expr, LocalVariableAST) and
47 actual_type != self.symtab.find("void", Type)):
48 self.expr.warning("Non-void return ignored, " + \
51 def findResources(self, resources):
52 self.expr.findResources(resources)