Lines Matching refs:self
33 def __init__(self, slicc, ident):
34 super(TypeAST, self).__init__(slicc)
36 self.ident = ident
38 def __repr__(self):
39 return self.ident
41 def __str__(self):
42 return self.ident
45 def type(self, assert_type=None):
46 type = self.symtab.find(self.ident, Type)
48 self.error("Type '%s' not declared.", self)
51 self.error("Type '%s' is should be type '%s'", self, assert_type)