Lines Matching refs:stack
117 stack = [0],
118 vstack = [null], // semantic value stack
119 lstack = [], // location stack
142 stack.length = stack.length - 2*n;
159 // retreive state number from top of stack
160 state = stack[stack.length-1];
218 state = stack[stack.length-1];
223 state = stack[stack.length-1];
238 stack.push(symbol);
241 stack.push(action[1]); // push state
276 // pop off stack
278 stack = stack.slice(0,-1*len*2);
283 stack.push(this.productions_[action[1]][0]); // push nonterminal (reduce)
287 newState = table[stack[stack.length-2]][stack[stack.length-1]];
288 stack.push(newState);
1351 return "stack" + this.stackSlot;
1356 if(this.stackSlot > this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); }
1357 return "stack" + this.stackSlot;
1361 return "stack" + this.stackSlot--;
1365 return "stack" + this.stackSlot;