Lines Matching refs:stack
246 stack = []
251 stack.append(token)
252 while stack and stack[-1] in ops:
253 op = stack.pop()
257 operand = stack.pop()
268 stack.append(tmp)
270 if len(stack) != 1:
275 value = stack[-1]
287 stack = []
290 stack.append(token)
291 while stack and stack[-1] in exp_ops:
292 op = stack.pop()
296 operand = stack.pop()
306 stack.append(subexp)
308 if len(stack) != 1:
313 value = stack[-1]