Lines Matching refs:stack
81 private TypeContext[] stack = new TypeContext[maxIndex];
141 * If tracing on, write the current call stack (not the context stack) to
153 * Print a line indented by stack depth.
197 * Push a new element on the stack.
209 System.arraycopy(stack,0,newStack,0,maxIndex);
211 stack = newStack;
216 TypeContext it = stack[currentIndex];
220 stack[currentIndex] = it;
237 * Pop an element from the stack.
243 throw new CompilerError("Nothing on stack!");
246 newCode = stack[currentIndex].getCode();
247 traceln(toResultString(stack[currentIndex],wasValid,false));
249 Type last = stack[currentIndex].getCandidateType();
273 return stack[currentIndex];
292 return stack[index];
301 throw new Error("Nothing on stack!");
303 return stack[currentIndex];
312 return stack[currentIndex - 1].isValue();
324 return stack[currentIndex - 1];
378 for (int i = 0; i < stack.length; i++) {
379 if (stack[i] != null) stack[i].destroy();