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

extended_regular_expression::extended_reg_exp< E > Class Template Reference

#include <extended_reg_exp.h>

List of all members.

Public Member Functions

unsigned long recognize (const E *buf, const unsigned long buf_length, const unsigned long buf_offset, bool try_positions=true)
void assign_matches (matches::match_key parent_address, unsigned long &branch_pos, matches &m)
void push_parsers (parser_list &l)

Private Types

typedef grammar_to_parser::basic_parser<
E >::parser_list 
parser_list

Private Attributes

grammar_to_parser::basic_choice<
E, ere_branch< E > > 
m_branch
grammar_to_parser::basic_non_terminal<
E, ere_branch_or_extended_reg_exp > 
m_branch_or_ext_regexp


Detailed Description

template<typename E>
class extended_regular_expression::extended_reg_exp< E >

The one of classes implementing following regular expression grammar:

extended_reg_exp => ere_branch '|' extended_reg_exp | extended_reg_exp
ere_branch => ere_expression ere_branch | ere_expression
ere_expression => ere_expression_and_dups | one_char_or_coll_elem_ere | '^' | '$' | '('extended_reg_exp')'
ere_expression_and_dups => ere_expression_no_dup ere_dups
ere_expression_no_dup => one_char_or_coll_elem_ere | '^' | '$' | '('extended_reg_exp')'
ere_dups => ere_dupl_symbol ere_dups | ere_dupl_symbol
ere_dupl_symbol => '*' | '+' | '?' | '{' number '}] | '{' number ',' '}' | '{' number ',' number '}'
one_char_or_coll_elem_ere => 'all except special chars' | '\' special_chars '.' | bracket_expr
special_chars => '.' | '[' | '\' | '(' | ')' | '*' | '+' | '?' | '{' | '}' | '|' | '^' | '$'


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