def shift(self, tok, value):

        self.tokens.append(tok)
        self.values.append(value)

        # Do a greedy reduce...
        self.reduce()
Adds one more token to the state.  Calls reduce().
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/openstack/common/policy.py/ParseState.shift