Lines Matching refs:Element
36 class Element; variable
45 Element* parent = nullptr;
53 using ElementCloneFunc = std::function<void(const Element&, Element*)>;
87 class Element : public Node {
108 Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name);
109 const Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name) const;
111 Element* FindChildWithAttribute(const android::StringPiece& ns, const android::StringPiece& name,
116 const Element* FindChildWithAttribute(const android::StringPiece& ns,
122 std::vector<Element*> GetChildElements();
126 std::unique_ptr<Element> CloneElement(const ElementCloneFunc& el_cloner) const;
155 std::unique_ptr<xml::Element> root;
167 Element* FindRootElement(Node* node);
174 virtual void Visit(Element* el) { in Visit()
184 void VisitChildren(Element* el) { in VisitChildren()
190 virtual void BeforeVisitElement(Element* el) { in BeforeVisitElement()
192 virtual void AfterVisitElement(Element* el) { in AfterVisitElement()
198 friend class Element; variable
205 virtual void Visit(const Element* el) { in Visit()
215 void VisitChildren(const Element* el) { in VisitChildren()
221 virtual void BeforeVisitElement(const Element* el) { in BeforeVisitElement()
224 virtual void AfterVisitElement(const Element* el) { in AfterVisitElement()
230 friend class Element; variable
243 void BeforeVisitElement(Element* el) override;
244 void AfterVisitElement(Element* el) override;
262 void Visit(const Element* el) override { in Visit()
270 void BeforeVisitElement(const Element* el) override { in BeforeVisitElement()
272 void AfterVisitElement(const Element* el) override { in AfterVisitElement()