MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / buildFullXpath

Method buildFullXpath

native/desc/Widget.cpp:174–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 std::string Widget::buildFullXpath() const {
175 std::string fullXpathString = this->toXPath();
176 std::shared_ptr<Widget> parent = _parent;
177 while (parent) {
178 std::string parentXpath = parent->toXPath();
179 parentXpath.append(fullXpathString);
180 fullXpathString = parentXpath;
181 parent = parent->_parent;
182 }
183 return fullXpathString;
184 }
185
186 Widget::~Widget() {
187 this->_actions.clear();

Callers

nothing calls this directly

Calls 1

toXPathMethod · 0.95

Tested by

no test coverage detected