def setName( self, name ):
        self.name = name
        self.errmsg = "Expected " + self.name
        if hasattr(self,"exception"):
            self.exception.msg = self.errmsg
        return self
Define name for this expression, for use in debugging.
dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/ParserElement.setName