The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
spirit_po::po_grammar< Iterator > Struct Template Reference

#include <po_grammar.hpp>

Inheritance diagram for spirit_po::po_grammar< Iterator >:

Public Member Functions

 po_grammar ()
 

Public Attributes

qi::rule< Iterator > white_line
 
qi::rule< Iterator > comment_line
 
qi::rule< Iterator > skipped_line
 
qi::rule< Iterator > skipped_block
 
qi::rule< Iterator, char()> escaped_character
 
qi::rule< Iterator, std::string()> single_line_string
 
qi::rule< Iterator, std::string()> multiline_string
 
qi::rule< Iterator, std::string()> message_id
 
qi::rule< Iterator, std::string()> message_id_plural
 
qi::rule< Iterator, std::string()> message_context
 
qi::rule< Iterator, std::string()> message_str
 
qi::rule< Iterator, std::string(uint)> message_str_plural
 
qi::rule< Iterator, std::vector< std::string >)> message_single_str
 
qi::rule< Iterator, std::vector< std::string >uint)> message_strs
 
qi::rule< Iterator, plural_and_strings_type()> message_singular
 
qi::rule< Iterator, plural_and_strings_type()> message_plural
 
qi::rule< Iterator, po_message()> message
 
qi::rule< Iterator, qi::locals< bool > > fuzzy
 
qi::rule< Iterator > preamble_comment_line
 
qi::rule< Iterator > preamble_comment_block
 
qi::rule< Iterator > ignored_comments
 consume any number of blocks, consisting of any number of comments followed by a white line More...
 
qi::rule< Iterator, bool()> message_preamble
 consume any number of non-white comment line (using #). More...
 

Detailed Description

template<typename Iterator>
struct spirit_po::po_grammar< Iterator >

Definition at line 33 of file po_grammar.hpp.

Constructor & Destructor Documentation

◆ po_grammar()

template<typename Iterator >
spirit_po::po_grammar< Iterator >::po_grammar ( )
inline

Member Data Documentation

◆ comment_line

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::comment_line

Definition at line 35 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ escaped_character

template<typename Iterator >
qi::rule<Iterator, char()> spirit_po::po_grammar< Iterator >::escaped_character

Definition at line 39 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ fuzzy

template<typename Iterator >
qi::rule<Iterator, qi::locals<bool> > spirit_po::po_grammar< Iterator >::fuzzy

Definition at line 58 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ ignored_comments

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::ignored_comments

consume any number of blocks, consisting of any number of comments followed by a white line

Definition at line 63 of file po_grammar.hpp.

Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::catalog(), and spirit_po::po_grammar< Iterator >::po_grammar().

◆ message

template<typename Iterator >
qi::rule<Iterator, po_message()> spirit_po::po_grammar< Iterator >::message

Definition at line 55 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_context

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::message_context

Definition at line 45 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_id

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::message_id

Definition at line 43 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_id_plural

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::message_id_plural

Definition at line 44 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_plural

template<typename Iterator >
qi::rule<Iterator, plural_and_strings_type()> spirit_po::po_grammar< Iterator >::message_plural

Definition at line 53 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_preamble

template<typename Iterator >
qi::rule<Iterator, bool()> spirit_po::po_grammar< Iterator >::message_preamble

consume any number of non-white comment line (using #).

bool result represents if we saw #, fuzzy comment

Definition at line 65 of file po_grammar.hpp.

Referenced by spirit_po::catalog< hashmap_type, pf_compiler >::catalog(), and spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_single_str

template<typename Iterator >
qi::rule<Iterator, std::vector<std::string>)> spirit_po::po_grammar< Iterator >::message_single_str

Definition at line 49 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_singular

template<typename Iterator >
qi::rule<Iterator, plural_and_strings_type()> spirit_po::po_grammar< Iterator >::message_singular

Definition at line 52 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_str

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::message_str

Definition at line 46 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_str_plural

template<typename Iterator >
qi::rule<Iterator, std::string(uint)> spirit_po::po_grammar< Iterator >::message_str_plural

Definition at line 47 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ message_strs

template<typename Iterator >
qi::rule<Iterator, std::vector<std::string>uint)> spirit_po::po_grammar< Iterator >::message_strs

Definition at line 50 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ multiline_string

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::multiline_string

Definition at line 41 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ preamble_comment_block

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::preamble_comment_block

Definition at line 60 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ preamble_comment_line

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::preamble_comment_line

Definition at line 59 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ single_line_string

template<typename Iterator >
qi::rule<Iterator, std::string()> spirit_po::po_grammar< Iterator >::single_line_string

Definition at line 40 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ skipped_block

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::skipped_block

◆ skipped_line

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::skipped_line

Definition at line 36 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().

◆ white_line

template<typename Iterator >
qi::rule<Iterator> spirit_po::po_grammar< Iterator >::white_line

Definition at line 34 of file po_grammar.hpp.

Referenced by spirit_po::po_grammar< Iterator >::po_grammar().


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