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

Collection of more complex semantic actions. More...

#include <TPTPParser.hpp>

Public Member Functions

void operator() (const fof_atomic_formula_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 476 of file TPTPParser.hpp.

Member Function Documentation

◆ operator()()

void to_lit::operator() ( const fof_atomic_formula_type & f,
qi::unused_type ,
qi::unused_type  ) const

Definition at line 1035 of file TPTPParser.cpp.

1037 {
1038 current_lit =
1039 boost::apply_visitor(convert_fof_atomic_formula(), f);
1040 current_clause.add_lit(current_lit);
1041#ifdef DEBUGOUTPUT
1042 cout << current_lit << endl;
1043#endif
1044 }
void add_lit(const Literal &)
Add a literal, making sure you don't duplicate.
Definition Clause.cpp:96
More complex semantic actions, now functions etc to make a literal.

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