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

Public Attributes

qi::rule< It, fof_arguments_struct(), ascii::space_type > fof_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_function_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_plain_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_defined_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_defined_atomic_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_defined_plain_term
 
qi::rule< It, fof_plain_term_struct(), ascii::space_type > fof_system_term
 
qi::rule< It, vector< fof_arguments_struct >(), ascii::space_type > fof_arguments
 

Detailed Description

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

Definition at line 546 of file TPTPParser.cpp.

Constructor & Destructor Documentation

◆ fof_term_grammar()

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

Definition at line 549 of file TPTPParser.cpp.

550 : fof_term_grammar::base_type(fof_term) {
551
552 fof_term %=
553 fof_function_term
554 | variable;
555
556 fof_function_term %=
557 fof_plain_term
558 | fof_defined_term
559 | fof_system_term;
560
561 fof_plain_term %=
562 // Both in fact atomic_word.
563 (constant | functor)
564 >> -('(' >> fof_arguments >> ')');
565
566 fof_defined_term %=
567 (defined_term [DefinedAdder()] >> attr(vector<fof_arguments_struct>()))
568 | fof_defined_atomic_term;
569
570 fof_defined_atomic_term %= fof_defined_plain_term;
571
572 fof_defined_plain_term %=
573 // defined_constant = defined_functor.
574 (defined_constant | defined_functor) [DefinedAdder()]
575 >> -('(' >> fof_arguments >> ')');
576
577 // This also gets defined elsewhere and all definitions should
578 // match.
579 fof_system_term %=
580 // Both in fact dollar_dollar_word.
581 (system_constant | system_functor) [SystemAdder()]
582 >> -('(' >> fof_arguments >> ')');
583
584 // This also gets defined elsewhere and all definitions should
585 // match.
586 fof_arguments %= fof_term % ',';
587 }
One of several basic semantic actions.
One of several basic semantic actions.

Member Data Documentation

◆ fof_arguments

template<typename It >
qi::rule<It, vector<fof_arguments_struct>(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_arguments

Definition at line 608 of file TPTPParser.cpp.

◆ fof_defined_atomic_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_defined_atomic_term

Definition at line 600 of file TPTPParser.cpp.

◆ fof_defined_plain_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_defined_plain_term

Definition at line 602 of file TPTPParser.cpp.

◆ fof_defined_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_defined_term

Definition at line 597 of file TPTPParser.cpp.

◆ fof_function_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_function_term

Definition at line 592 of file TPTPParser.cpp.

◆ fof_plain_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_plain_term

Definition at line 595 of file TPTPParser.cpp.

◆ fof_system_term

template<typename It >
qi::rule<It, fof_plain_term_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_system_term

Definition at line 605 of file TPTPParser.cpp.

◆ fof_term

template<typename It >
qi::rule<It, fof_arguments_struct(), ascii::space_type> tptp_parser::fof_term_grammar< It >::fof_term

Definition at line 589 of file TPTPParser.cpp.


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