Lines Matching refs:node_stack
44 std::stack<xml::Element*> node_stack; member
69 CHECK(!stack->node_stack.empty()); in FinishPendingText()
70 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node)); in FinishPendingText()
136 if (!stack->node_stack.empty()) { in StartElementHandler()
137 stack->node_stack.top()->AppendChild(std::move(el)); in StartElementHandler()
141 stack->node_stack.push(this_el); in StartElementHandler()
149 CHECK(!stack->node_stack.empty()); in EndElementHandler()
151 stack->node_stack.pop(); in EndElementHandler()
275 std::stack<Element*> node_stack; in Inflate() local
335 if (!node_stack.empty()) { in Inflate()
336 node_stack.top()->AppendChild(std::move(el)); in Inflate()
340 node_stack.push(this_el); in Inflate()
352 CHECK(!node_stack.empty()); in Inflate()
353 node_stack.top()->AppendChild(std::move(text)); in Inflate()
361 CHECK(!node_stack.empty()); in Inflate()
362 node_stack.pop(); in Inflate()