Connect++ 0.7.0
A fast, readable connection prover for first-order logic.
Loading...
Searching...
No Matches
tptp_parser::include_grammar< It > Struct Template Reference
Inheritance diagram for tptp_parser::include_grammar< It >:
Collaboration diagram for tptp_parser::include_grammar< It >:

Public Attributes

qi::rule< Iter, string(), ascii::space_type > space_name
 
qi::rule< Iter, vector< string >(), ascii::space_type > name_list
 
qi::rule< Iter, vector< string >(), ascii::space_type > formula_selection
 
qi::rule< Iter, vector< string >(), ascii::space_type > include_optionals
 
qi::rule< Iter, vector< string >(), ascii::space_type > include
 

Detailed Description

template<typename It>
struct tptp_parser::include_grammar< It >

Definition at line 500 of file TPTPParser.cpp.

Constructor & Destructor Documentation

◆ include_grammar()

template<typename It >
tptp_parser::include_grammar< It >::include_grammar ( )
inline

Definition at line 503 of file TPTPParser.cpp.

504 : include_grammar::base_type(include) {
505 space_name %= name;
506 name_list %=
507 name % ',';
508 formula_selection %=
509 ('[' >> name_list >> ']')
510 | star;
511 include_optionals %=
512 (',' >> formula_selection)
513 | (',' >> formula_selection >> ',' >> space_name)
514 | null;
515 include %=
516 lit("include")
517 >> '(' >> file_name >> include_optionals >> ')'
518 >> '.';
519 }

Member Data Documentation

◆ formula_selection

template<typename It >
qi::rule<Iter, vector<string>(), ascii::space_type> tptp_parser::include_grammar< It >::formula_selection

Definition at line 522 of file TPTPParser.cpp.

◆ include

template<typename It >
qi::rule<Iter, vector<string>(), ascii::space_type> tptp_parser::include_grammar< It >::include

Definition at line 524 of file TPTPParser.cpp.

◆ include_optionals

template<typename It >
qi::rule<Iter, vector<string>(), ascii::space_type> tptp_parser::include_grammar< It >::include_optionals

Definition at line 523 of file TPTPParser.cpp.

◆ name_list

template<typename It >
qi::rule<Iter, vector<string>(), ascii::space_type> tptp_parser::include_grammar< It >::name_list

Definition at line 521 of file TPTPParser.cpp.

◆ space_name

template<typename It >
qi::rule<Iter, string(), ascii::space_type> tptp_parser::include_grammar< It >::space_name

Definition at line 520 of file TPTPParser.cpp.


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