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

One of several basic semantic actions. More...

#include <TPTPParser.hpp>

Public Member Functions

void operator() (const vector< string > &, qi::unused_type, qi::unused_type) const
 

Detailed Description

One of several basic semantic actions.

Collectively, store include file information, comments and so on.

Definition at line 433 of file TPTPParser.hpp.

Member Function Documentation

◆ operator()()

void FileIncludeAdder::operator() ( const vector< string > & inc,
qi::unused_type ,
qi::unused_type  ) const

Definition at line 979 of file TPTPParser.cpp.

981 {
982 FileIncludeItem item;
983 item.first = inc[0];
984 vector<string> inc2 = inc;
985 inc2.erase(inc2.begin());
986 item.second = inc2;
987 file_includes.push_back(item);
988 // This line does the actual inclusion.
989 recursive_tptp_include(item);
990 }

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