Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

grammar_to_parser::basic_parser< E > Class Template Reference

#include <parser.h>

Inheritance diagram for grammar_to_parser::basic_parser< E >:

grammar_to_parser::basic_object_parser< E, A > grammar_to_parser::basic_object_parser< E, E > grammar_to_parser::basic_object_parser< E, std::basic_string< E > > grammar_to_parser::basic_object_parser< E, std::list< A > > grammar_to_parser::basic_simple_non_terminal< E > grammar_to_parser::basic_default_type_parser< E, A > grammar_to_parser::basic_default_type_parser< char, A > grammar_to_parser::basic_default_type_parser< char, A > grammar_to_parser::basic_default_type_parser< char, std::basic_string< char > > grammar_to_parser::basic_default_type_parser< E, std::basic_string< E > > grammar_to_parser::basic_default_type_parser< E, std::basic_string< E > > grammar_to_parser::basic_default_type_parser< wchar_t, A > grammar_to_parser::basic_default_type_parser< wchar_t, std::basic_string< wchar_t > > grammar_to_parser::basic_except_terminal< char, except_choice > grammar_to_parser::basic_except_terminal< wchar_t, except_choice > grammar_to_parser::basic_non_terminal< E, A > grammar_to_parser::basic_non_terminal< char, A > grammar_to_parser::basic_non_terminal< wchar_t, A > grammar_to_parser::basic_non_terminal< wchar_t, A > grammar_to_parser::basic_non_terminal< wchar_t, address > grammar_to_parser::basic_ascii_range_terminal< E > grammar_to_parser::basic_except_terminal< E, except_choice > grammar_to_parser::basic_terminal< E, value > grammar_to_parser::basic_regexp_parser< E > grammar_to_parser::basic_list_parser< E, A, S > grammar_to_parser::basic_simple_choice< E > xml_parser::basic_xml_attribute_list_parser< E > xml_parser::basic_xml_attribute_parser< E > xml_parser::basic_xml_attributes_parser< E > xml_parser::basic_xml_param_parser< E > xml_parser::basic_xml_tag_parser< E > List of all members.

Public Types

typedef std::list< basic_parser<
E > * > 
parser_list
typedef parser_list::iterator parser_list_iterator
typedef e_symbol_type symbol_type
enum  e_symbol_type { terminal_type, non_terminal_type, choice_type, undefined_type }
 Enum defines only three basic types (+ undefined).

Public Member Functions

 basic_parser (const char *name, symbol_type type=terminal_type)
 The default constructor.
 basic_parser (const basic_parser &rhs)
 The copy constructor.
virtual ~basic_parser ()
 The destructor.
symbol_type get_symbol_type ()
 Strategy specific method - returns the type of symbol.
virtual bool is_valid () const =0
 Used for owned objects manipulation, redefined in basic_object_parser.
virtual void invalidate ()=0
 Used for owned objects manipulation, redefined in basic_object_parser.
virtual unsigned long parse (const E *buf, const unsigned long buf_length)=0
virtual unsigned long parse (const E *buf, const unsigned long buf_length, basic_parser_strategy< E > &strategy)
virtual std::basic_istream<
E > & 
parse (std::basic_istream< E > &is)=0
virtual std::basic_ostream<
E > & 
format (std::basic_ostream< E > &os)=0
 Used for formatting the class to output stream.
unsigned long parsed_size () const
 Returns the size of buffer succesfully parsed last time.
unsigned long formatted_size () const
 Returns the size of data succesfully formatted into output.
bool is_parsed () const
 Identifies whether last call to parse() was succesfull or not.
bool is_formatted () const
 Identifies whether formatting was succesfull by call to format().
virtual void push_parsers (std::list< basic_parser< E > * > &the_parser_list)
bool change_parsed_flag (const bool the_parsed_flag=true)
virtual const char * get_name ()
virtual bool try_next ()
virtual void set_to_begin ()

Protected Member Functions

virtual void prepare_for_parsing ()
virtual void trace_on_fly ()
virtual void prepare_for_formatting ()
bool change_formatted_flag (const bool the_formatted_flag=true)
unsigned long change_parsed_size (const unsigned long the_parsed_size)
unsigned long change_formatted_size (const unsigned long the_formatted_size)
void set_name (const char *name)

Protected Attributes

bool m_is_parsed
 Flag identifyng the result of last call to parse() method.
bool m_is_formatted
 Flag identifyng the result of last call to format() method.
unsigned long m_parsed_size
 The size of succesfully parsed data, can be zero, if parse() failed.
unsigned long m_formatted_size
 The size of succesfully formatted data, can be zero, if format() failed.
const char * m_name
 Used for trace and/or debugging.
symbol_type m_type
 The type of grammar symbol.

Detailed Description

template<typename E>
class grammar_to_parser::basic_parser< E >

The base class for all parsers, declares base methods for parsing and formatting. The list of objects of this class is used in compound parsers (like basic_non_terminal or basic_choice)


Member Function Documentation

template<typename E>
bool grammar_to_parser::basic_parser< E >::change_formatted_flag const bool  the_formatted_flag = true  )  [inline, protected]
 

Allows to change the flag identifying the format() result

Parameters:
the_formatted_flag new flag value
Returns:
previous flag value

template<typename E>
unsigned long grammar_to_parser::basic_parser< E >::change_formatted_size const unsigned long  the_formatted_size  )  [inline, protected]
 

Allows to change the size of succesfully formatted data

Parameters:
the_formatted_size new size value
Returns:
previous size value

template<typename E>
bool grammar_to_parser::basic_parser< E >::change_parsed_flag const bool  the_parsed_flag = true  )  [inline]
 

Allows to change the flag identifying the parse() result

Parameters:
the_parsed_flag new flag value
Returns:
previous flag value

template<typename E>
unsigned long grammar_to_parser::basic_parser< E >::change_parsed_size const unsigned long  the_parsed_size  )  [inline, protected]
 

Allows to change the size of succesfully parsed data

Parameters:
the_parsed_size new size value
Returns:
previous size value

template<typename E>
virtual const char* grammar_to_parser::basic_parser< E >::get_name  )  [inline, virtual]
 

Used for trace/debugging

template<typename E>
bool grammar_to_parser::basic_parser< E >::is_parsed  )  const [inline]
 

Identifies whether last call to parse() was succesfull or not.

Usually it is possible to check return value of parse method - the size of parsed buffer, if greater then zero, the object was succesfully parsed. This is not valid for basic_subset - if basic_subset::parse() method returns zero, it is succesfully parsed anyway, as it accepts also no succesfull parse for all embedded parsers.

template<typename E>
virtual std::basic_istream<E>& grammar_to_parser::basic_parser< E >::parse std::basic_istream< E > &  is  )  [pure virtual]
 

The parse method using which the input stream is searched and the value is copied from buffer into parsed objects manipulated by basic_object_parser. For parse method is used different implementation depending on type of parser - if terminal_type, non_terminal_type or choice_type

Implemented in grammar_to_parser::basic_ascii_range_terminal< E >, grammar_to_parser::basic_choice< E, A >, grammar_to_parser::basic_except_terminal< E, except_choice >, grammar_to_parser::basic_list_parser< E, A, S >, grammar_to_parser::basic_non_terminal< E, A >, grammar_to_parser::basic_pattern_parser< E >, grammar_to_parser::basic_regexp_parser< E >, grammar_to_parser::basic_set< E, A >, grammar_to_parser::basic_simple_choice< E >, grammar_to_parser::basic_simple_non_terminal< E >, grammar_to_parser::basic_subset< E, A >, grammar_to_parser::basic_terminal< E, value >, grammar_to_parser::basic_value_parser< E, A >, grammar_to_parser::basic_white_space_parser< E >, xml_parser::basic_xml_attribute_list_parser< E >, grammar_to_parser::basic_choice< E, meta_char_choice< E > >, grammar_to_parser::basic_choice< E, follow_list< E > >, grammar_to_parser::basic_choice< E, bracket_expr_type >, grammar_to_parser::basic_choice< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_choice< E, collating_choice< E > >, grammar_to_parser::basic_choice< E, ere_branch< E > >, grammar_to_parser::basic_choice< E, equivalence_class< E > >, grammar_to_parser::basic_choice< E, ere_dups< E > >, grammar_to_parser::basic_choice< E, ere_expression_no_dup >, grammar_to_parser::basic_choice< E, class_name< E > >, grammar_to_parser::basic_choice< E, special_chars< E > >, grammar_to_parser::basic_choice< E, ere_expression< E > >, grammar_to_parser::basic_choice< E, bracket_list< E > >, grammar_to_parser::basic_choice< E, collating_symbol< E > >, grammar_to_parser::basic_choice< E, extended_reg_exp< E > >, grammar_to_parser::basic_choice< E, single_expression< E > >, grammar_to_parser::basic_choice< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_choice< E, range_expression< E > >, grammar_to_parser::basic_choice< E, expression_term< E > >, grammar_to_parser::basic_except_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_except_terminal< E, special_chars< E > >, grammar_to_parser::basic_list_parser< char, A, S >, grammar_to_parser::basic_non_terminal< E, range_expression< E > >, grammar_to_parser::basic_non_terminal< E, subexpression >, grammar_to_parser::basic_non_terminal< E, ere_expression_no_dup >, grammar_to_parser::basic_non_terminal< E, single_expression< E > >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_non_terminal< E, lazy_plus >, grammar_to_parser::basic_non_terminal< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_non_terminal< E, matching_list< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_non_terminal< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_non_terminal< E, ere_expression_ere_branch >, grammar_to_parser::basic_non_terminal< E, dup_and_dup_branch >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_non_terminal< E, hyphen_and_follow_list >, grammar_to_parser::basic_non_terminal< E, class_name< E > >, grammar_to_parser::basic_non_terminal< E, collating_symbol< E > >, grammar_to_parser::basic_non_terminal< E, extended_reg_exp< E > >, grammar_to_parser::basic_non_terminal< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_non_terminal< E, dup_count >, grammar_to_parser::basic_non_terminal< E, equivalence_class< E > >, grammar_to_parser::basic_non_terminal< E, character_class< E > >, grammar_to_parser::basic_non_terminal< E, ere_dups< E > >, grammar_to_parser::basic_non_terminal< E, start_range_and_end_range >, grammar_to_parser::basic_non_terminal< E, bracket_list< E > >, grammar_to_parser::basic_non_terminal< E, opendot_metachar_dotclose >, grammar_to_parser::basic_non_terminal< E, nonmatching_list< E > >, grammar_to_parser::basic_non_terminal< E, follow_list< E > >, grammar_to_parser::basic_non_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_non_terminal< E, quoted_char >, grammar_to_parser::basic_non_terminal< E, collating_choice< E > >, grammar_to_parser::basic_non_terminal< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_non_terminal< E, ere_expression< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_unbound >, grammar_to_parser::basic_non_terminal< E, bracket_expr_type >, grammar_to_parser::basic_non_terminal< E, start_range_and_hyphen >, grammar_to_parser::basic_non_terminal< E, follow_list_and_expression_term >, grammar_to_parser::basic_non_terminal< E, ere_expression_and_dupl >, grammar_to_parser::basic_non_terminal< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_non_terminal< E, special_chars< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_max >, grammar_to_parser::basic_non_terminal< E, lazy_star >, grammar_to_parser::basic_non_terminal< E, follow_list_and_hyphen >, grammar_to_parser::basic_non_terminal< E, start_range< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_non_terminal< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch< E > >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_simple_non_terminal< char >, grammar_to_parser::basic_terminal< E,'<'> m_3;grammar_to_parser::basic_terminal< E,'\\'> m_4;grammar_to_parser::basic_pattern_parser< E > m_tag_name_end;grammar_to_parser::basic_terminal< E,'>'>, grammar_to_parser::basic_terminal< E,'$'>, grammar_to_parser::basic_terminal< E, '?'>, grammar_to_parser::basic_terminal< E, '['>, grammar_to_parser::basic_terminal< E,'<'> m_1;grammar_to_parser::basic_pattern_parser< E > m_tag_name_begin;grammar_to_parser::basic_terminal< E,'>'>, grammar_to_parser::basic_terminal< E,'}'>, grammar_to_parser::basic_terminal< E,'\"'>, grammar_to_parser::basic_terminal< E,'|'>, grammar_to_parser::basic_terminal< E,')'>, grammar_to_parser::basic_terminal< E, '*'>, grammar_to_parser::basic_terminal< E,'{'>, grammar_to_parser::basic_terminal< E,'\\'>, grammar_to_parser::basic_terminal< E,'('>, grammar_to_parser::basic_terminal< E, '='>, grammar_to_parser::basic_terminal< E,']'>, grammar_to_parser::basic_terminal< E,'['>, grammar_to_parser::basic_terminal< E,'-'>, grammar_to_parser::basic_terminal< E,','>, grammar_to_parser::basic_terminal< E,':'>, grammar_to_parser::basic_terminal< E,'+'>, grammar_to_parser::basic_terminal< E, '^'>, grammar_to_parser::basic_terminal< E,'*'>, grammar_to_parser::basic_terminal< E,'^'>, grammar_to_parser::basic_terminal< E,'?'>, grammar_to_parser::basic_terminal< char, value >, grammar_to_parser::basic_terminal< E,'.'>, grammar_to_parser::basic_terminal< E, '.'>, grammar_to_parser::basic_terminal< E, ']'>, grammar_to_parser::basic_value_parser< E, std::basic_string< E > >, grammar_to_parser::basic_value_parser< E, unsigned long >, and xml_parser::basic_xml_attribute_list_parser< char >.

template<typename E>
virtual unsigned long grammar_to_parser::basic_parser< E >::parse const E *  buf,
const unsigned long  buf_length,
basic_parser_strategy< E > &  strategy
[inline, virtual]
 

By default the strategy parameter is ignored and it is used the default implementation of parse() method without specified strategy. In basic_non_terminal and basic_choice this parameter is not ignored and the methods call the proper method of strategy - parse_all in case of basic_non_terminal and parse_choice in case of basic_choice.

Reimplemented in grammar_to_parser::basic_choice< E, A >, grammar_to_parser::basic_non_terminal< E, A >, grammar_to_parser::basic_choice< E, meta_char_choice< E > >, grammar_to_parser::basic_choice< E, follow_list< E > >, grammar_to_parser::basic_choice< E, bracket_expr_type >, grammar_to_parser::basic_choice< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_choice< E, collating_choice< E > >, grammar_to_parser::basic_choice< E, ere_branch< E > >, grammar_to_parser::basic_choice< E, equivalence_class< E > >, grammar_to_parser::basic_choice< E, ere_dups< E > >, grammar_to_parser::basic_choice< E, ere_expression_no_dup >, grammar_to_parser::basic_choice< E, class_name< E > >, grammar_to_parser::basic_choice< E, special_chars< E > >, grammar_to_parser::basic_choice< E, ere_expression< E > >, grammar_to_parser::basic_choice< E, bracket_list< E > >, grammar_to_parser::basic_choice< E, collating_symbol< E > >, grammar_to_parser::basic_choice< E, extended_reg_exp< E > >, grammar_to_parser::basic_choice< E, single_expression< E > >, grammar_to_parser::basic_choice< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_choice< E, range_expression< E > >, grammar_to_parser::basic_choice< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< E, range_expression< E > >, grammar_to_parser::basic_non_terminal< E, subexpression >, grammar_to_parser::basic_non_terminal< E, ere_expression_no_dup >, grammar_to_parser::basic_non_terminal< E, single_expression< E > >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_non_terminal< E, lazy_plus >, grammar_to_parser::basic_non_terminal< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_non_terminal< E, matching_list< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_non_terminal< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_non_terminal< E, ere_expression_ere_branch >, grammar_to_parser::basic_non_terminal< E, dup_and_dup_branch >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_non_terminal< E, hyphen_and_follow_list >, grammar_to_parser::basic_non_terminal< E, class_name< E > >, grammar_to_parser::basic_non_terminal< E, collating_symbol< E > >, grammar_to_parser::basic_non_terminal< E, extended_reg_exp< E > >, grammar_to_parser::basic_non_terminal< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_non_terminal< E, dup_count >, grammar_to_parser::basic_non_terminal< E, equivalence_class< E > >, grammar_to_parser::basic_non_terminal< E, character_class< E > >, grammar_to_parser::basic_non_terminal< E, ere_dups< E > >, grammar_to_parser::basic_non_terminal< E, start_range_and_end_range >, grammar_to_parser::basic_non_terminal< E, bracket_list< E > >, grammar_to_parser::basic_non_terminal< E, opendot_metachar_dotclose >, grammar_to_parser::basic_non_terminal< E, nonmatching_list< E > >, grammar_to_parser::basic_non_terminal< E, follow_list< E > >, grammar_to_parser::basic_non_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_non_terminal< E, quoted_char >, grammar_to_parser::basic_non_terminal< E, collating_choice< E > >, grammar_to_parser::basic_non_terminal< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_non_terminal< E, ere_expression< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_unbound >, grammar_to_parser::basic_non_terminal< E, bracket_expr_type >, grammar_to_parser::basic_non_terminal< E, start_range_and_hyphen >, grammar_to_parser::basic_non_terminal< E, follow_list_and_expression_term >, grammar_to_parser::basic_non_terminal< E, ere_expression_and_dupl >, grammar_to_parser::basic_non_terminal< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_non_terminal< E, special_chars< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_max >, grammar_to_parser::basic_non_terminal< E, lazy_star >, grammar_to_parser::basic_non_terminal< E, follow_list_and_hyphen >, grammar_to_parser::basic_non_terminal< E, start_range< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_non_terminal< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch< E > >, and grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_single_dotclose >.

template<typename E>
virtual unsigned long grammar_to_parser::basic_parser< E >::parse const E *  buf,
const unsigned long  buf_length
[pure virtual]
 

The parse method using which the input buffer is searched and the value is copied from buffer into parsed objects manipulated by basic_object_parser. For parse method is used different implementation depending on type of parser - if terminal_type, non_terminal_type or choice_type.

Implemented in grammar_to_parser::basic_ascii_range_terminal< E >, grammar_to_parser::basic_choice< E, A >, grammar_to_parser::basic_except_terminal< E, except_choice >, grammar_to_parser::basic_list_parser< E, A, S >, grammar_to_parser::basic_non_terminal< E, A >, grammar_to_parser::basic_pattern_parser< E >, grammar_to_parser::basic_regexp_parser< E >, grammar_to_parser::basic_set< E, A >, grammar_to_parser::basic_simple_choice< E >, grammar_to_parser::basic_simple_non_terminal< E >, grammar_to_parser::basic_subset< E, A >, grammar_to_parser::basic_terminal< E, value >, grammar_to_parser::basic_value_parser< E, A >, grammar_to_parser::basic_white_space_parser< E >, xml_parser::basic_xml_attribute_list_parser< E >, grammar_to_parser::basic_choice< E, meta_char_choice< E > >, grammar_to_parser::basic_choice< E, follow_list< E > >, grammar_to_parser::basic_choice< E, bracket_expr_type >, grammar_to_parser::basic_choice< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_choice< E, collating_choice< E > >, grammar_to_parser::basic_choice< E, ere_branch< E > >, grammar_to_parser::basic_choice< E, equivalence_class< E > >, grammar_to_parser::basic_choice< E, ere_dups< E > >, grammar_to_parser::basic_choice< E, ere_expression_no_dup >, grammar_to_parser::basic_choice< E, class_name< E > >, grammar_to_parser::basic_choice< E, special_chars< E > >, grammar_to_parser::basic_choice< E, ere_expression< E > >, grammar_to_parser::basic_choice< E, bracket_list< E > >, grammar_to_parser::basic_choice< E, collating_symbol< E > >, grammar_to_parser::basic_choice< E, extended_reg_exp< E > >, grammar_to_parser::basic_choice< E, single_expression< E > >, grammar_to_parser::basic_choice< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_choice< E, range_expression< E > >, grammar_to_parser::basic_choice< E, expression_term< E > >, grammar_to_parser::basic_except_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_except_terminal< E, special_chars< E > >, grammar_to_parser::basic_list_parser< char, A, S >, grammar_to_parser::basic_non_terminal< E, range_expression< E > >, grammar_to_parser::basic_non_terminal< E, subexpression >, grammar_to_parser::basic_non_terminal< E, ere_expression_no_dup >, grammar_to_parser::basic_non_terminal< E, single_expression< E > >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_non_terminal< E, lazy_plus >, grammar_to_parser::basic_non_terminal< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_non_terminal< E, matching_list< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_non_terminal< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_non_terminal< E, ere_expression_ere_branch >, grammar_to_parser::basic_non_terminal< E, dup_and_dup_branch >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_non_terminal< E, hyphen_and_follow_list >, grammar_to_parser::basic_non_terminal< E, class_name< E > >, grammar_to_parser::basic_non_terminal< E, collating_symbol< E > >, grammar_to_parser::basic_non_terminal< E, extended_reg_exp< E > >, grammar_to_parser::basic_non_terminal< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_non_terminal< E, dup_count >, grammar_to_parser::basic_non_terminal< E, equivalence_class< E > >, grammar_to_parser::basic_non_terminal< E, character_class< E > >, grammar_to_parser::basic_non_terminal< E, ere_dups< E > >, grammar_to_parser::basic_non_terminal< E, start_range_and_end_range >, grammar_to_parser::basic_non_terminal< E, bracket_list< E > >, grammar_to_parser::basic_non_terminal< E, opendot_metachar_dotclose >, grammar_to_parser::basic_non_terminal< E, nonmatching_list< E > >, grammar_to_parser::basic_non_terminal< E, follow_list< E > >, grammar_to_parser::basic_non_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_non_terminal< E, quoted_char >, grammar_to_parser::basic_non_terminal< E, collating_choice< E > >, grammar_to_parser::basic_non_terminal< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_non_terminal< E, ere_expression< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_unbound >, grammar_to_parser::basic_non_terminal< E, bracket_expr_type >, grammar_to_parser::basic_non_terminal< E, start_range_and_hyphen >, grammar_to_parser::basic_non_terminal< E, follow_list_and_expression_term >, grammar_to_parser::basic_non_terminal< E, ere_expression_and_dupl >, grammar_to_parser::basic_non_terminal< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_non_terminal< E, special_chars< E > >, grammar_to_parser::basic_non_terminal< E, dup_count_max >, grammar_to_parser::basic_non_terminal< E, lazy_star >, grammar_to_parser::basic_non_terminal< E, follow_list_and_hyphen >, grammar_to_parser::basic_non_terminal< E, start_range< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_non_terminal< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< E, ere_branch< E > >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_simple_non_terminal< char >, grammar_to_parser::basic_terminal< E,'<'> m_3;grammar_to_parser::basic_terminal< E,'\\'> m_4;grammar_to_parser::basic_pattern_parser< E > m_tag_name_end;grammar_to_parser::basic_terminal< E,'>'>, grammar_to_parser::basic_terminal< E,'$'>, grammar_to_parser::basic_terminal< E, '?'>, grammar_to_parser::basic_terminal< E, '['>, grammar_to_parser::basic_terminal< E,'<'> m_1;grammar_to_parser::basic_pattern_parser< E > m_tag_name_begin;grammar_to_parser::basic_terminal< E,'>'>, grammar_to_parser::basic_terminal< E,'}'>, grammar_to_parser::basic_terminal< E,'\"'>, grammar_to_parser::basic_terminal< E,'|'>, grammar_to_parser::basic_terminal< E,')'>, grammar_to_parser::basic_terminal< E, '*'>, grammar_to_parser::basic_terminal< E,'{'>, grammar_to_parser::basic_terminal< E,'\\'>, grammar_to_parser::basic_terminal< E,'('>, grammar_to_parser::basic_terminal< E, '='>, grammar_to_parser::basic_terminal< E,']'>, grammar_to_parser::basic_terminal< E,'['>, grammar_to_parser::basic_terminal< E,'-'>, grammar_to_parser::basic_terminal< E,','>, grammar_to_parser::basic_terminal< E,':'>, grammar_to_parser::basic_terminal< E,'+'>, grammar_to_parser::basic_terminal< E, '^'>, grammar_to_parser::basic_terminal< E,'*'>, grammar_to_parser::basic_terminal< E,'^'>, grammar_to_parser::basic_terminal< E,'?'>, grammar_to_parser::basic_terminal< char, value >, grammar_to_parser::basic_terminal< E,'.'>, grammar_to_parser::basic_terminal< E, '.'>, grammar_to_parser::basic_terminal< E, ']'>, grammar_to_parser::basic_value_parser< E, std::basic_string< E > >, grammar_to_parser::basic_value_parser< E, unsigned long >, and xml_parser::basic_xml_attribute_list_parser< char >.

template<typename E>
virtual void grammar_to_parser::basic_parser< E >::prepare_for_formatting  )  [inline, protected, virtual]
 

Every format() method implementation should call this (or specialized) method at the beginning of the method.

Reimplemented in grammar_to_parser::basic_non_terminal< E, A >, grammar_to_parser::basic_object_parser< E, A >, grammar_to_parser::basic_simple_non_terminal< E >, grammar_to_parser::basic_non_terminal< E, range_expression< E > >, grammar_to_parser::basic_non_terminal< char, c_N >, grammar_to_parser::basic_non_terminal< wchar_t, simple_string_element >, grammar_to_parser::basic_non_terminal< char, add >, grammar_to_parser::basic_non_terminal< wchar_t, A >, grammar_to_parser::basic_non_terminal< E, subexpression >, grammar_to_parser::basic_non_terminal< E, ere_expression_no_dup >, grammar_to_parser::basic_non_terminal< E, single_expression< E > >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_non_terminal< char, age >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_non_terminal< char, exp_class< Type > >, grammar_to_parser::basic_non_terminal< E, lazy_plus >, grammar_to_parser::basic_non_terminal< char, expression< Type > >, grammar_to_parser::basic_non_terminal< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_non_terminal< E, matching_list< E > >, grammar_to_parser::basic_non_terminal< char, number< hex_digit, 'x' > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_non_terminal< char, floor_class< Type > >, grammar_to_parser::basic_non_terminal< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_non_terminal< E, ere_expression_ere_branch >, grammar_to_parser::basic_non_terminal< E, dup_and_dup_branch >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_non_terminal< E, hyphen_and_follow_list >, grammar_to_parser::basic_non_terminal< E, class_name< E > >, grammar_to_parser::basic_non_terminal< E, collating_symbol< E > >, grammar_to_parser::basic_non_terminal< E, extended_reg_exp< E > >, grammar_to_parser::basic_non_terminal< char, tanh_class< Type > >, grammar_to_parser::basic_non_terminal< char, tan_class< Type > >, grammar_to_parser::basic_non_terminal< char, log_class< Type > >, grammar_to_parser::basic_non_terminal< char, parentheses >, grammar_to_parser::basic_non_terminal< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_non_terminal< char, divide >, grammar_to_parser::basic_non_terminal< E, dup_count >, grammar_to_parser::basic_non_terminal< E, equivalence_class< E > >, grammar_to_parser::basic_non_terminal< char, company >, grammar_to_parser::basic_non_terminal< char, pow_class< Type > >, grammar_to_parser::basic_non_terminal< E, character_class< E > >, grammar_to_parser::basic_non_terminal< E, ere_dups< E > >, grammar_to_parser::basic_non_terminal< char, sqrt_class< Type > >, grammar_to_parser::basic_non_terminal< char, cosh_class< Type > >, grammar_to_parser::basic_non_terminal< char, acos_class< Type > >, grammar_to_parser::basic_non_terminal< char, values< Type > >, grammar_to_parser::basic_non_terminal< E, start_range_and_end_range >, grammar_to_parser::basic_non_terminal< E, bracket_list< E > >, grammar_to_parser::basic_non_terminal< E, opendot_metachar_dotclose >, grammar_to_parser::basic_non_terminal< E, nonmatching_list< E > >, grammar_to_parser::basic_non_terminal< E, follow_list< E > >, grammar_to_parser::basic_non_terminal< char, asin_class< Type > >, grammar_to_parser::basic_non_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_non_terminal< E, quoted_char >, grammar_to_parser::basic_non_terminal< char, collating_choice >, grammar_to_parser::basic_non_terminal< E, collating_choice< E > >, grammar_to_parser::basic_non_terminal< char, digit_choice >, grammar_to_parser::basic_non_terminal< char, cos_class< Type > >, grammar_to_parser::basic_non_terminal< char, ceil_class< Type > >, grammar_to_parser::basic_non_terminal< char, A >, grammar_to_parser::basic_non_terminal< char, multiply >, grammar_to_parser::basic_non_terminal< char, sin_class< Type > >, grammar_to_parser::basic_non_terminal< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_non_terminal< char, sinh_class< Type > >, grammar_to_parser::basic_non_terminal< char, fabs_class< Type > >, grammar_to_parser::basic_non_terminal< char, functions< Type > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_non_terminal< E, ere_expression< E > >, grammar_to_parser::basic_non_terminal< char, ldexp_class< Type > >, grammar_to_parser::basic_non_terminal< E, dup_count_unbound >, grammar_to_parser::basic_non_terminal< E, bracket_expr_type >, grammar_to_parser::basic_non_terminal< E, start_range_and_hyphen >, grammar_to_parser::basic_non_terminal< wchar_t, simple_int_element >, grammar_to_parser::basic_non_terminal< E, follow_list_and_expression_term >, grammar_to_parser::basic_non_terminal< E, ere_expression_and_dupl >, grammar_to_parser::basic_non_terminal< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_non_terminal< char, c_1N >, grammar_to_parser::basic_non_terminal< E, special_chars< E > >, grammar_to_parser::basic_non_terminal< char, digit_and_digits >, grammar_to_parser::basic_non_terminal< char, fmod_class< Type > >, grammar_to_parser::basic_non_terminal< E, dup_count_max >, grammar_to_parser::basic_non_terminal< E, lazy_star >, grammar_to_parser::basic_non_terminal< char, subexpression >, grammar_to_parser::basic_non_terminal< wchar_t, A >, grammar_to_parser::basic_non_terminal< char, digits >, grammar_to_parser::basic_non_terminal< char, c_0N >, grammar_to_parser::basic_non_terminal< E, follow_list_and_hyphen >, grammar_to_parser::basic_non_terminal< char, name >, grammar_to_parser::basic_non_terminal< E, start_range< E > >, grammar_to_parser::basic_non_terminal< char, substract >, grammar_to_parser::basic_non_terminal< char, atan_class< Type > >, grammar_to_parser::basic_non_terminal< wchar_t, address >, grammar_to_parser::basic_non_terminal< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_non_terminal< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< char, number< bin_digit, 'b' > >, grammar_to_parser::basic_non_terminal< E, ere_branch< E > >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_object_parser< E, range_expression< E > >, grammar_to_parser::basic_object_parser< char, c_N >, grammar_to_parser::basic_object_parser< E, ere_expression_no_dup >, grammar_to_parser::basic_object_parser< E, single_expression< E > >, grammar_to_parser::basic_object_parser< E, matching_list< E > >, grammar_to_parser::basic_object_parser< E, unsigned long >, grammar_to_parser::basic_object_parser< E, ere_expression_and_dupl >, grammar_to_parser::basic_object_parser< char, ceil_class< Type > >, grammar_to_parser::basic_object_parser< char, expression< Type > >, grammar_to_parser::basic_object_parser< char, Type >, grammar_to_parser::basic_object_parser< char, exp_class< Type > >, grammar_to_parser::basic_object_parser< E, ere_expression_ere_branch >, grammar_to_parser::basic_object_parser< E, class_name< E > >, grammar_to_parser::basic_object_parser< char, unsigned long >, grammar_to_parser::basic_object_parser< E, collating_symbol< E > >, grammar_to_parser::basic_object_parser< E, extended_reg_exp< E > >, grammar_to_parser::basic_object_parser< char, fabs_class< Type > >, grammar_to_parser::basic_object_parser< E, std::basic_string< E > >, grammar_to_parser::basic_object_parser< char, age >, grammar_to_parser::basic_object_parser< char, number< bin_digit, 'b' > >, grammar_to_parser::basic_object_parser< char, add >, grammar_to_parser::basic_object_parser< E, E >, grammar_to_parser::basic_object_parser< char, pow_class< Type > >, grammar_to_parser::basic_object_parser< E, equivalence_class< E > >, grammar_to_parser::basic_object_parser< char, divide >, grammar_to_parser::basic_object_parser< char, atan_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count_max >, grammar_to_parser::basic_object_parser< char, std::list< A > >, grammar_to_parser::basic_object_parser< E, ere_dups< E > >, grammar_to_parser::basic_object_parser< char, c_1N >, grammar_to_parser::basic_object_parser< E, start_range_and_end_range >, grammar_to_parser::basic_object_parser< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_object_parser< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_object_parser< char, cosh_class< Type > >, grammar_to_parser::basic_object_parser< char, values< Type > >, grammar_to_parser::basic_object_parser< char, c_0N >, grammar_to_parser::basic_object_parser< E, bracket_list< E > >, grammar_to_parser::basic_object_parser< E, follow_list< E > >, grammar_to_parser::basic_object_parser< char, sinh_class< Type > >, grammar_to_parser::basic_object_parser< char, sin_class< Type > >, grammar_to_parser::basic_object_parser< char, ldexp_class< Type > >, grammar_to_parser::basic_object_parser< char, cos_class< Type > >, grammar_to_parser::basic_object_parser< E, lazy_plus >, grammar_to_parser::basic_object_parser< char, parentheses >, grammar_to_parser::basic_object_parser< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_object_parser< E, meta_char_choice< E > >, grammar_to_parser::basic_object_parser< E, character_class< E > >, grammar_to_parser::basic_object_parser< E, follow_list_and_hyphen >, grammar_to_parser::basic_object_parser< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_object_parser< E, quoted_char >, grammar_to_parser::basic_object_parser< char, collating_choice >, grammar_to_parser::basic_object_parser< E, collating_choice< E > >, grammar_to_parser::basic_object_parser< char, digit_choice >, grammar_to_parser::basic_object_parser< char, sqrt_class< Type > >, grammar_to_parser::basic_object_parser< E, lazy_star >, grammar_to_parser::basic_object_parser< E, std::list< A > >, grammar_to_parser::basic_object_parser< char, A >, grammar_to_parser::basic_object_parser< E, subexpression >, grammar_to_parser::basic_object_parser< E, dup_and_dup_branch >, grammar_to_parser::basic_object_parser< E, follow_list_and_expression_term >, grammar_to_parser::basic_object_parser< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_object_parser< char, std::string >, grammar_to_parser::basic_object_parser< E, opendot_metachar_dotclose >, grammar_to_parser::basic_object_parser< char, acos_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count >, grammar_to_parser::basic_object_parser< char, functions< Type > >, grammar_to_parser::basic_object_parser< E, start_range_and_hyphen >, grammar_to_parser::basic_object_parser< E, ere_expression< E > >, grammar_to_parser::basic_object_parser< char, digit_and_digits >, grammar_to_parser::basic_object_parser< char, log_class< Type > >, grammar_to_parser::basic_object_parser< char, floor_class< Type > >, grammar_to_parser::basic_object_parser< char, asin_class< Type > >, grammar_to_parser::basic_object_parser< E, E >, grammar_to_parser::basic_object_parser< E, bracket_expr_type >, grammar_to_parser::basic_object_parser< E, nonmatching_list< E > >, grammar_to_parser::basic_object_parser< char, tan_class< Type > >, grammar_to_parser::basic_object_parser< char, char >, grammar_to_parser::basic_object_parser< char, std::basic_string< char > >, grammar_to_parser::basic_object_parser< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_object_parser< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_object_parser< char, name >, grammar_to_parser::basic_object_parser< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_object_parser< E, special_chars< E > >, grammar_to_parser::basic_object_parser< char, multiply >, grammar_to_parser::basic_object_parser< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_object_parser< char, subexpression >, grammar_to_parser::basic_object_parser< char, char >, grammar_to_parser::basic_object_parser< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_object_parser< char, digits >, grammar_to_parser::basic_object_parser< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_object_parser< char, company >, grammar_to_parser::basic_object_parser< char, substract >, grammar_to_parser::basic_object_parser< char, fmod_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count_unbound >, grammar_to_parser::basic_object_parser< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_object_parser< E, hyphen_and_follow_list >, grammar_to_parser::basic_object_parser< E, expression_term< E > >, grammar_to_parser::basic_object_parser< char, number< hex_digit, 'x' > >, grammar_to_parser::basic_object_parser< E, start_range< E > >, grammar_to_parser::basic_object_parser< E, ere_branch< E > >, grammar_to_parser::basic_object_parser< char, tanh_class< Type > >, and grammar_to_parser::basic_simple_non_terminal< char >.

template<typename E>
virtual void grammar_to_parser::basic_parser< E >::prepare_for_parsing  )  [inline, protected, virtual]
 

Every parse() method implementation should call this (or specialized) method at the beginning of the method.

Reimplemented in grammar_to_parser::basic_non_terminal< E, A >, grammar_to_parser::basic_object_parser< E, A >, grammar_to_parser::basic_regexp_parser< E >, grammar_to_parser::basic_simple_non_terminal< E >, grammar_to_parser::basic_non_terminal< E, range_expression< E > >, grammar_to_parser::basic_non_terminal< char, c_N >, grammar_to_parser::basic_non_terminal< wchar_t, simple_string_element >, grammar_to_parser::basic_non_terminal< char, add >, grammar_to_parser::basic_non_terminal< wchar_t, A >, grammar_to_parser::basic_non_terminal< E, subexpression >, grammar_to_parser::basic_non_terminal< E, ere_expression_no_dup >, grammar_to_parser::basic_non_terminal< E, single_expression< E > >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_non_terminal< char, age >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_non_terminal< char, exp_class< Type > >, grammar_to_parser::basic_non_terminal< E, lazy_plus >, grammar_to_parser::basic_non_terminal< char, expression< Type > >, grammar_to_parser::basic_non_terminal< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_non_terminal< E, matching_list< E > >, grammar_to_parser::basic_non_terminal< char, number< hex_digit, 'x' > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_non_terminal< char, floor_class< Type > >, grammar_to_parser::basic_non_terminal< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_non_terminal< E, ere_expression_ere_branch >, grammar_to_parser::basic_non_terminal< E, dup_and_dup_branch >, grammar_to_parser::basic_non_terminal< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_non_terminal< E, hyphen_and_follow_list >, grammar_to_parser::basic_non_terminal< E, class_name< E > >, grammar_to_parser::basic_non_terminal< E, collating_symbol< E > >, grammar_to_parser::basic_non_terminal< E, extended_reg_exp< E > >, grammar_to_parser::basic_non_terminal< char, tanh_class< Type > >, grammar_to_parser::basic_non_terminal< char, tan_class< Type > >, grammar_to_parser::basic_non_terminal< char, log_class< Type > >, grammar_to_parser::basic_non_terminal< char, parentheses >, grammar_to_parser::basic_non_terminal< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_non_terminal< char, divide >, grammar_to_parser::basic_non_terminal< E, dup_count >, grammar_to_parser::basic_non_terminal< E, equivalence_class< E > >, grammar_to_parser::basic_non_terminal< char, company >, grammar_to_parser::basic_non_terminal< char, pow_class< Type > >, grammar_to_parser::basic_non_terminal< E, character_class< E > >, grammar_to_parser::basic_non_terminal< E, ere_dups< E > >, grammar_to_parser::basic_non_terminal< char, sqrt_class< Type > >, grammar_to_parser::basic_non_terminal< char, cosh_class< Type > >, grammar_to_parser::basic_non_terminal< char, acos_class< Type > >, grammar_to_parser::basic_non_terminal< char, values< Type > >, grammar_to_parser::basic_non_terminal< E, start_range_and_end_range >, grammar_to_parser::basic_non_terminal< E, bracket_list< E > >, grammar_to_parser::basic_non_terminal< E, opendot_metachar_dotclose >, grammar_to_parser::basic_non_terminal< E, nonmatching_list< E > >, grammar_to_parser::basic_non_terminal< E, follow_list< E > >, grammar_to_parser::basic_non_terminal< char, asin_class< Type > >, grammar_to_parser::basic_non_terminal< E, meta_char_choice< E > >, grammar_to_parser::basic_non_terminal< E, quoted_char >, grammar_to_parser::basic_non_terminal< char, collating_choice >, grammar_to_parser::basic_non_terminal< E, collating_choice< E > >, grammar_to_parser::basic_non_terminal< char, digit_choice >, grammar_to_parser::basic_non_terminal< char, cos_class< Type > >, grammar_to_parser::basic_non_terminal< char, ceil_class< Type > >, grammar_to_parser::basic_non_terminal< char, A >, grammar_to_parser::basic_non_terminal< char, multiply >, grammar_to_parser::basic_non_terminal< char, sin_class< Type > >, grammar_to_parser::basic_non_terminal< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_non_terminal< char, sinh_class< Type > >, grammar_to_parser::basic_non_terminal< char, fabs_class< Type > >, grammar_to_parser::basic_non_terminal< char, functions< Type > >, grammar_to_parser::basic_non_terminal< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_non_terminal< E, ere_expression< E > >, grammar_to_parser::basic_non_terminal< char, ldexp_class< Type > >, grammar_to_parser::basic_non_terminal< E, dup_count_unbound >, grammar_to_parser::basic_non_terminal< E, bracket_expr_type >, grammar_to_parser::basic_non_terminal< E, start_range_and_hyphen >, grammar_to_parser::basic_non_terminal< wchar_t, simple_int_element >, grammar_to_parser::basic_non_terminal< E, follow_list_and_expression_term >, grammar_to_parser::basic_non_terminal< E, ere_expression_and_dupl >, grammar_to_parser::basic_non_terminal< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_non_terminal< char, c_1N >, grammar_to_parser::basic_non_terminal< E, special_chars< E > >, grammar_to_parser::basic_non_terminal< char, digit_and_digits >, grammar_to_parser::basic_non_terminal< char, fmod_class< Type > >, grammar_to_parser::basic_non_terminal< E, dup_count_max >, grammar_to_parser::basic_non_terminal< E, lazy_star >, grammar_to_parser::basic_non_terminal< char, subexpression >, grammar_to_parser::basic_non_terminal< wchar_t, A >, grammar_to_parser::basic_non_terminal< char, digits >, grammar_to_parser::basic_non_terminal< char, c_0N >, grammar_to_parser::basic_non_terminal< E, follow_list_and_hyphen >, grammar_to_parser::basic_non_terminal< char, name >, grammar_to_parser::basic_non_terminal< E, start_range< E > >, grammar_to_parser::basic_non_terminal< char, substract >, grammar_to_parser::basic_non_terminal< char, atan_class< Type > >, grammar_to_parser::basic_non_terminal< wchar_t, address >, grammar_to_parser::basic_non_terminal< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_non_terminal< E, expression_term< E > >, grammar_to_parser::basic_non_terminal< char, number< bin_digit, 'b' > >, grammar_to_parser::basic_non_terminal< E, ere_branch< E > >, grammar_to_parser::basic_non_terminal< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_object_parser< E, range_expression< E > >, grammar_to_parser::basic_object_parser< char, c_N >, grammar_to_parser::basic_object_parser< E, ere_expression_no_dup >, grammar_to_parser::basic_object_parser< E, single_expression< E > >, grammar_to_parser::basic_object_parser< E, matching_list< E > >, grammar_to_parser::basic_object_parser< E, unsigned long >, grammar_to_parser::basic_object_parser< E, ere_expression_and_dupl >, grammar_to_parser::basic_object_parser< char, ceil_class< Type > >, grammar_to_parser::basic_object_parser< char, expression< Type > >, grammar_to_parser::basic_object_parser< char, Type >, grammar_to_parser::basic_object_parser< char, exp_class< Type > >, grammar_to_parser::basic_object_parser< E, ere_expression_ere_branch >, grammar_to_parser::basic_object_parser< E, class_name< E > >, grammar_to_parser::basic_object_parser< char, unsigned long >, grammar_to_parser::basic_object_parser< E, collating_symbol< E > >, grammar_to_parser::basic_object_parser< E, extended_reg_exp< E > >, grammar_to_parser::basic_object_parser< char, fabs_class< Type > >, grammar_to_parser::basic_object_parser< E, std::basic_string< E > >, grammar_to_parser::basic_object_parser< char, age >, grammar_to_parser::basic_object_parser< char, number< bin_digit, 'b' > >, grammar_to_parser::basic_object_parser< char, add >, grammar_to_parser::basic_object_parser< E, E >, grammar_to_parser::basic_object_parser< char, pow_class< Type > >, grammar_to_parser::basic_object_parser< E, equivalence_class< E > >, grammar_to_parser::basic_object_parser< char, divide >, grammar_to_parser::basic_object_parser< char, atan_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count_max >, grammar_to_parser::basic_object_parser< char, std::list< A > >, grammar_to_parser::basic_object_parser< E, ere_dups< E > >, grammar_to_parser::basic_object_parser< char, c_1N >, grammar_to_parser::basic_object_parser< E, start_range_and_end_range >, grammar_to_parser::basic_object_parser< E, openequal_coll_elem_multi_equalclose >, grammar_to_parser::basic_object_parser< E, opendot_coll_elem_multi_dotclose >, grammar_to_parser::basic_object_parser< char, cosh_class< Type > >, grammar_to_parser::basic_object_parser< char, values< Type > >, grammar_to_parser::basic_object_parser< char, c_0N >, grammar_to_parser::basic_object_parser< E, bracket_list< E > >, grammar_to_parser::basic_object_parser< E, follow_list< E > >, grammar_to_parser::basic_object_parser< char, sinh_class< Type > >, grammar_to_parser::basic_object_parser< char, sin_class< Type > >, grammar_to_parser::basic_object_parser< char, ldexp_class< Type > >, grammar_to_parser::basic_object_parser< char, cos_class< Type > >, grammar_to_parser::basic_object_parser< E, lazy_plus >, grammar_to_parser::basic_object_parser< char, parentheses >, grammar_to_parser::basic_object_parser< E, ere_branch_or_extended_reg_exp >, grammar_to_parser::basic_object_parser< E, meta_char_choice< E > >, grammar_to_parser::basic_object_parser< E, character_class< E > >, grammar_to_parser::basic_object_parser< E, follow_list_and_hyphen >, grammar_to_parser::basic_object_parser< E, left_bracket_nonmatching_list_right_bracket >, grammar_to_parser::basic_object_parser< E, quoted_char >, grammar_to_parser::basic_object_parser< char, collating_choice >, grammar_to_parser::basic_object_parser< E, collating_choice< E > >, grammar_to_parser::basic_object_parser< char, digit_choice >, grammar_to_parser::basic_object_parser< char, sqrt_class< Type > >, grammar_to_parser::basic_object_parser< E, lazy_star >, grammar_to_parser::basic_object_parser< E, std::list< A > >, grammar_to_parser::basic_object_parser< char, A >, grammar_to_parser::basic_object_parser< E, subexpression >, grammar_to_parser::basic_object_parser< E, dup_and_dup_branch >, grammar_to_parser::basic_object_parser< E, follow_list_and_expression_term >, grammar_to_parser::basic_object_parser< E, ere_dupl_symbol< E > >, grammar_to_parser::basic_object_parser< char, std::string >, grammar_to_parser::basic_object_parser< E, opendot_metachar_dotclose >, grammar_to_parser::basic_object_parser< char, acos_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count >, grammar_to_parser::basic_object_parser< char, functions< Type > >, grammar_to_parser::basic_object_parser< E, start_range_and_hyphen >, grammar_to_parser::basic_object_parser< E, ere_expression< E > >, grammar_to_parser::basic_object_parser< char, digit_and_digits >, grammar_to_parser::basic_object_parser< char, log_class< Type > >, grammar_to_parser::basic_object_parser< char, floor_class< Type > >, grammar_to_parser::basic_object_parser< char, asin_class< Type > >, grammar_to_parser::basic_object_parser< E, E >, grammar_to_parser::basic_object_parser< E, bracket_expr_type >, grammar_to_parser::basic_object_parser< E, nonmatching_list< E > >, grammar_to_parser::basic_object_parser< char, tan_class< Type > >, grammar_to_parser::basic_object_parser< char, char >, grammar_to_parser::basic_object_parser< char, std::basic_string< char > >, grammar_to_parser::basic_object_parser< E, one_char_or_coll_elem_ere< E > >, grammar_to_parser::basic_object_parser< E, left_bracket_matching_list_rigth_bracket >, grammar_to_parser::basic_object_parser< char, name >, grammar_to_parser::basic_object_parser< E, openequal_coll_elem_single_equalclose >, grammar_to_parser::basic_object_parser< E, special_chars< E > >, grammar_to_parser::basic_object_parser< char, multiply >, grammar_to_parser::basic_object_parser< E, opendot_coll_elem_single_dotclose >, grammar_to_parser::basic_object_parser< char, subexpression >, grammar_to_parser::basic_object_parser< char, char >, grammar_to_parser::basic_object_parser< E, extended_regular_expression::ere< E > >, grammar_to_parser::basic_object_parser< char, digits >, grammar_to_parser::basic_object_parser< E, hyphen_hyphen_endrange_follow_list >, grammar_to_parser::basic_object_parser< char, company >, grammar_to_parser::basic_object_parser< char, substract >, grammar_to_parser::basic_object_parser< char, fmod_class< Type > >, grammar_to_parser::basic_object_parser< E, dup_count_unbound >, grammar_to_parser::basic_object_parser< E, hyphen_hyphen_end_range >, grammar_to_parser::basic_object_parser< E, hyphen_and_follow_list >, grammar_to_parser::basic_object_parser< E, expression_term< E > >, grammar_to_parser::basic_object_parser< char, number< hex_digit, 'x' > >, grammar_to_parser::basic_object_parser< E, start_range< E > >, grammar_to_parser::basic_object_parser< E, ere_branch< E > >, grammar_to_parser::basic_object_parser< char, tanh_class< Type > >, and grammar_to_parser::basic_simple_non_terminal< char >.

template<typename E>
virtual void grammar_to_parser::basic_parser< E >::push_parsers std::list< basic_parser< E > * > &  the_parser_list  )  [inline, virtual]
 

The method allows nesting of parsers in declaration, like non_terminal< non_terminal< class > > - rarely used

template<typename E>
void grammar_to_parser::basic_parser< E >::set_name const char *  name  )  [inline, protected]
 

Used for trace/debugging

template<typename E>
virtual void grammar_to_parser::basic_parser< E >::trace_on_fly  )  [inline, protected, virtual]
 

Used for trace and/or debug


Member Data Documentation

template<typename E>
symbol_type grammar_to_parser::basic_parser< E >::m_type [protected]
 

The type of grammar symbol.

Specific for parsing algorithm. Used in basic_context_free_grammar_strategy for finding terminal types in definition


The documentation for this class was generated from the following file:
Generated on Sun Jul 2 18:39:46 2006 for grammar2parser.kdevelop by  doxygen 1.4.1