MCPcopy Create free account
hub / github.com/YosysHQ/nextpnr / parseEvent

Method parseEvent

3rdparty/python-console/test_cli.cpp:18–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 { }
17
18 virtual void parseEvent( const ParseMessage& msg )
19 {
20 if ( msg.errorCode )
21 {
22 std::cout << "(" << msg.errorCode << ") " << msg.message << "\n";
23 return;
24 }
25 else
26 {
27 int err;
28 std::string res = m_interpreter->interpret( msg.message, &err );
29 std::cout << "(" << msg.errorCode << ") " << res << "\n";
30 }
31 }
32};
33
34int main( int argc, char *argv[] )

Callers

nothing calls this directly

Calls 1

interpretMethod · 0.80

Tested by

no test coverage detected