Lines Matching refs:node_stack
242 std::vector<Node*> node_stack; in FlattenXmlSubtree() local
243 node_stack.push_back(&root); in FlattenXmlSubtree()
260 last_segment = node_stack.back()->AddChild(std::move(segment_node)); in FlattenXmlSubtree()
288 node_stack.push_back(node_stack.back()->AddChild(std::move(span_node))); in FlattenXmlSubtree()
302 node_stack.push_back( in FlattenXmlSubtree()
303 node_stack.back()->AddChild(util::make_unique<UntranslatableNode>())); in FlattenXmlSubtree()
307 node_stack.push_back(node_stack.back()->AddChild(util::make_unique<Node>())); in FlattenXmlSubtree()
314 node_stack.push_back(node_stack.back()->AddChild(util::make_unique<Node>())); in FlattenXmlSubtree()
328 node_stack.pop_back(); in FlattenXmlSubtree()
342 CHECK(node_stack.size() == 1u); in FlattenXmlSubtree()
343 CHECK(node_stack.back() == &root); in FlattenXmlSubtree()