Lines Matching refs:stack
49 // PositionStack is used for on-stack allocation of token positions for
59 Element(PositionStack* stack, int value) {
60 previous_ = stack->top();
62 stack->set_top(this);
419 // Parser's target_stack_ (the stack of potential 'break' and
462 // FunctionState and BlockState together implement the parser's scope stack.
464 // FunctionState constructors push on the scope stack and the destructors
652 // Make sure the target stack is empty.
733 // Make sure the target stack is empty.
736 // If there was a stack overflow we have to get rid of AST and it is
1108 // Allocate a target stack to use for this set of source
1110 // target stack thus avoiding illegal breaks and continues across
2896 // implementing stack allocated block scoped variables.
3372 // the identifier as position of the call in the stack trace.
3417 Expression* Parser::ParseNewPrefix(PositionStack* stack, bool* ok) {
3430 PositionStack::Element pos(stack, scanner().location().beg_pos);
3434 result = ParseNewPrefix(stack, CHECK_OK);
3436 result = ParseMemberWithNewPrefixesExpression(stack, CHECK_OK);
3439 if (!stack->is_empty()) {
3440 int last = stack->pop();
3449 PositionStack stack(ok);
3450 return ParseNewPrefix(&stack, ok);
3459 Expression* Parser::ParseMemberWithNewPrefixesExpression(PositionStack* stack,
3516 if ((stack == NULL) || stack->is_empty()) return result;
3519 int last = stack->pop();
3544 // We don't report stack overflows here, to avoid increasing the
3545 // stack depth even further. Instead we report it after parsing is
4527 // Propagate stack overflow.
4960 // target stack has been used from the top of the target stack. Add
4961 // the break target to any TargetCollectors passed on the stack.