'Shift a token.  (Internal)'

def _shift(self, type_, value, newstate, prefix, start_pos):

    (dfa, state, node) = self.stack[(-1)]
    newnode = self.convert_leaf(self.grammar, type_, value, prefix, start_pos)
    node[(-1)].append(newnode)
    self.stack[(-1)] = (dfa, newstate, node)
