MCPcopy Create free account
hub / github.com/catboost/catboost / GenerateZsh

Method GenerateZsh

library/cpp/getopt/small/completer.cpp:31–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void TCompleterManager::GenerateZsh(TFormattedOutput& out) {
32 while (!Queue_.empty()) {
33 auto[name, completer] = Queue_.back();
34 Queue_.pop_back();
35
36 L << "(( $+functions[" << name << "] )) ||";
37 L << name << "() {";
38 {
39 I;
40 completer->GenerateZsh(out, *this);
41 }
42 L << "}";
43 L;
44 }
45 }
46
47 class TAlternativeCompleter: public ICompleter {
48 public:

Callers 1

GenerateMethod · 0.45

Calls 3

emptyMethod · 0.45
backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected