Connect++ 0.7.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 487 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 1051 of file TPTPParser.cpp.

1053 {
1054 Literal lit_to_show =
1055 boost::apply_visitor(convert_fof_atomic_formula(), f);
1056 cout << lit_to_show.to_string() << endl;
1057 }
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:185
More complex semantic actions, now functions etc to make a literal.

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