MCPcopy Create free account
hub / github.com/covscript/covscript / bootstrap

Method bootstrap

include/covscript/covscript.hpp:135–135  ·  view source on GitHub ↗

Bootstrap from string initializer list

Source from the content-addressed store, hash-verified

133
134 // Bootstrap from string initializer list
135 bootstrap(std::initializer_list<std::string> l) : context(create_context({l.begin(), l.end()})) {}
136
137 // Classic bootstrap from command line
138 bootstrap(int argc, char *argv[]) : context(create_context(parse_cmd_args(argc, argv))) {}

Callers

nothing calls this directly

Calls 4

create_contextFunction · 0.85
parse_cmd_argsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected