MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / get_new_token

Method get_new_token

tools/alive_parser.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157private:
158 token get_new_token() const {
159 try {
160 auto t = yylex();
161#if YYDEBUG
162 cout << "token: " << token_name[t] << '\n';
163#endif
164 return t;
165 } catch (LexException &e) {
166 throw ParseException(std::move(e.str), e.lineno);
167 }
168 }
169};
170}
171

Callers

nothing calls this directly

Calls 1

ParseExceptionClass · 0.85

Tested by

no test coverage detected