def getRuleInvocationStack(self):

        return self._getRuleInvocationStack(self.__module__)
Return List<String> of the rules in your parser instance
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/antlr3/antlr3/recognizers.py/BaseRecognizer.getRuleInvocationStack