Lines Matching refs:statestack
180 del self.statestack[:]
185 self.statestack.append(0)
211 statestack = [ ] # Stack of parsing states
212 self.statestack = statestack
220 statestack.append(0)
230 print('state', statestack[-1])
243 s = statestack[-1]
256 statestack.append(t)
292 del statestack[-plen:]
309 statestack.append(goto[statestack[-1],pname])
365 # case 1: the statestack only has 1 entry on it. If we're in this state, the
369 if len(statestack) <= 1 and lookahead.type != '$end':
376 # case 2: the statestack has a couple of entries on it, but we're
400 statestack.pop()