Lines Matching refs:node_stack
246 std::vector<Node*> node_stack; in FlattenXmlSubtree() local
247 node_stack.push_back(&root); in FlattenXmlSubtree()
264 last_segment = node_stack.back()->AddChild(std::move(segment_node)); in FlattenXmlSubtree()
292 node_stack.push_back(node_stack.back()->AddChild(std::move(span_node))); in FlattenXmlSubtree()
306 node_stack.push_back( in FlattenXmlSubtree()
307 node_stack.back()->AddChild(util::make_unique<UntranslatableNode>())); in FlattenXmlSubtree()
311 node_stack.push_back(node_stack.back()->AddChild(util::make_unique<Node>())); in FlattenXmlSubtree()
318 node_stack.push_back(node_stack.back()->AddChild(util::make_unique<Node>())); in FlattenXmlSubtree()
332 node_stack.pop_back(); in FlattenXmlSubtree()
346 CHECK(node_stack.size() == 1u); in FlattenXmlSubtree()
347 CHECK(node_stack.back() == &root); in FlattenXmlSubtree()