Connect++ 0.6.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 495 of file TPTPParser.cpp.

Constructor & Destructor Documentation

◆ include_grammar()

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

Definition at line 498 of file TPTPParser.cpp.

499 : include_grammar::base_type(include) {
500 space_name %= name;
501 name_list %=
502 name % ',';
503 formula_selection %=
504 ('[' >> name_list >> ']')
505 | star;
506 include_optionals %=
507 (',' >> formula_selection)
508 | (',' >> formula_selection >> ',' >> space_name)
509 | null;
510 include %=
511 lit("include")
512 >> '(' >> file_name >> include_optionals >> ')'
513 >> '.';
514 }

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 517 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 519 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 518 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 516 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 515 of file TPTPParser.cpp.


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