Connect++ 0.4.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 516 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 1072 of file TPTPParser.cpp.

1074 {
1075 if (include_this_item) {
1076 all_clauses.push_back(current_clause);
1077 clause_roles.push_back(current_clause_role);
1078 if (current_clause_role == string("negated_conjecture"))
1079 negated_conjecture_found = true;
1080 }
1081 current_clause.clear();
1082 current_clause_role = "";
1083 }
void clear()
Straightforward reset method.
Definition Clause.hpp:86

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