Lines Matching refs:self
31 def __init__(self, slicc, pairs=None):
32 self.slicc = slicc
33 self.location = slicc.currentLocation()
34 self.pairs = {}
36 self.pairs.update(getattr(pairs, "pairs", pairs))
39 def symtab(self):
40 return self.slicc.symtab
43 def state_machine(self):
44 return self.slicc.symtab.state_machine
46 def warning(self, message, *args):
47 self.location.warning(message, *args)
49 def error(self, message, *args):
50 self.location.error(message, *args)
52 def embedError(self, message, *args):
55 code = self.slicc.codeFormatter()
57 panic("Runtime Error at ${{self.location}}: %s.\\n", $message);