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() local337 if (!node_stack.empty()) { in Inflate()[all …]
242 std::vector<Node*> node_stack; in FlattenXmlSubtree() local243 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()[all …]