Connect++ 0.7.0
A fast, readable connection prover for first-order logic.
Loading...
Searching...
No Matches
add_current_clause Struct Reference

Collection of more complex semantic actions. More...

#include <TPTPParser.hpp>

Public Member Functions

void operator() (qi::unused_type, qi::unused_type, qi::unused_type) const
 

Detailed Description

Collection of more complex semantic actions.

These are for the literal grammar.

Definition at line 519 of file TPTPParser.hpp.

Member Function Documentation

◆ operator()()

void add_current_clause::operator() ( qi::unused_type ,
qi::unused_type ,
qi::unused_type  ) const

Definition at line 1077 of file TPTPParser.cpp.

1079 {
1080 if (include_this_item) {
1081 all_clauses.push_back(current_clause);
1082 clause_roles.push_back(current_clause_role);
1083 clause_names.push_back(current_clause_name);
1084 if (current_clause_role == string("negated_conjecture"))
1085 negated_conjecture_found = true;
1086 records_p->add_cnf_file_record(current_clause_name,
1087 current_clause_role,
1088 current_clause.to_tptp_string(),
1089 include_file_name);
1090 }
1091 current_clause.clear();
1092 current_clause_role = "";
1093 }
void clear()
Straightforward reset method.
Definition Clause.hpp:86
string to_tptp_string(bool=false) const
Convert to a string that is compatible with the TPTP.
Definition Clause.cpp:272

The documentation for this struct was generated from the following files: