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

545 : fof_term_grammar::base_type(fof_term) {
546
547 fof_term %=
548 fof_function_term
549 | variable;
550
551 fof_function_term %=
552 fof_plain_term
553 | fof_defined_term
554 | fof_system_term;
555
556 fof_plain_term %=
557 // Both in fact atomic_word.
558 (constant | functor)
559 >> -('(' >> fof_arguments >> ')');
560
561 fof_defined_term %=
562 (defined_term [DefinedAdder()] >> attr(vector<fof_arguments_struct>()))
563 | fof_defined_atomic_term;
564
565 fof_defined_atomic_term %= fof_defined_plain_term;
566
567 fof_defined_plain_term %=
568 // defined_constant = defined_functor.
569 (defined_constant | defined_functor) [DefinedAdder()]
570 >> -('(' >> fof_arguments >> ')');
571
572 // This also gets defined elsewhere and all definitions should
573 // match.
574 fof_system_term %=
575 // Both in fact dollar_dollar_word.
576 (system_constant | system_functor) [SystemAdder()]
577 >> -('(' >> fof_arguments >> ')');
578
579 // This also gets defined elsewhere and all definitions should
580 // match.
581 fof_arguments %= fof_term % ',';
582 }
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 603 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 595 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 597 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 592 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 587 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 590 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 600 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 584 of file TPTPParser.cpp.


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