Searched refs:node_stack (Results 1 – 2 of 2) sorted by relevance
44 std::stack<xml::Element*> node_stack; member69 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() local335 if (!node_stack.empty()) { in Inflate()[all …]
246 std::vector<Node*> node_stack; in FlattenXmlSubtree() local247 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()[all …]