Connect++ 0.5.0
A fast, readable connection prover for first-order logic.
Loading...
Searching...
No Matches
show_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 484 of file TPTPParser.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 1046 of file TPTPParser.cpp.

1048 {
1049 Literal lit_to_show =
1050 boost::apply_visitor(convert_fof_atomic_formula(), f);
1051 cout << lit_to_show.to_string() << endl;
1052 }
Basic representation of literals, bundling together (pointers to) a Predicate, a collection of argume...
Definition Literal.hpp:50
string to_string(bool=false) const
Full conversion of Literal to string.
Definition Literal.cpp:150
More complex semantic actions, now functions etc to make a literal.

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