MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / main

Function main

src/lex.cpp:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8Context context;
9
10int main(int argc, char** argv) {
11 for (auto i = 1; i < argc; i++) {
12 std::cout << "argument '" << argv[i] << "'\n";
13
14 Lexer l(argv[i]);
15 std::string token;
16 Lexer::Type type;
17 while (l.token(token, type))
18 std::cout << " token '" << token << "' " << Lexer::typeToString(type) << "\n";
19 }
20}
21
22////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

tokenMethod · 0.80

Tested by

no test coverage detected