MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / collect_leaves

Method collect_leaves

docopt_private.h:175–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 }
174
175 virtual void collect_leaves(std::vector<LeafPattern*>& lst) override final {
176 for(auto& child : fChildren) {
177 child->collect_leaves(lst);
178 }
179 }
180
181 void setChildren(PatternList children) {
182 fChildren = std::move(children);

Callers

nothing calls this directly

Calls 1

collect_leavesMethod · 0.45

Tested by

no test coverage detected