More complex semantic action for FOF formulas.
More...
#include <TPTPParser.hpp>
|
void | operator() (qi::unused_type, qi::unused_type, qi::unused_type) const |
|
More complex semantic action for FOF formulas.
Functions etc to make a FOF formula.
Definition at line 616 of file TPTPParser.hpp.
◆ operator()()
void add_fof_formula::operator() |
( |
qi::unused_type | , |
|
|
qi::unused_type | , |
|
|
qi::unused_type | ) const |
Definition at line 1386 of file TPTPParser.cpp.
1387 {
1388 if (include_this_item) {
1389 all_formulas.push_back(current_formula);
1390 formula_roles.push_back(current_formula_role);
1391 formula_names.push_back(current_formula_name);
1392 if (current_formula_role == string("conjecture"))
1393 conjecture_found = true;
1394#ifdef DEBUGOUTPUT
1395 cout << current_formula.
to_string() << endl;
1396#endif
1397 }
1398 current_formula_role = "";
1399 }
string to_string() const
Convert a FOF into a nice-looking string.
The documentation for this struct was generated from the following files:
- /Users/sbh11/Desktop/connection-prover/c++/connect++/source/TPTPParser.hpp
- /Users/sbh11/Desktop/connection-prover/c++/connect++/source/TPTPParser.cpp