00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef BRACKET_EXPRESSIONLEFT_BRACKET_NONMATCHING_LIST_RIGHT_BRACKET_H
00021 #define BRACKET_EXPRESSIONLEFT_BRACKET_NONMATCHING_LIST_RIGHT_BRACKET_H
00022
00023 namespace bracket_expression {
00024
00025 template<typename E>
00026 class left_bracket_nonmatching_list_right_bracket{
00027 grammar_to_parser::basic_terminal<E,'['>
00028 m_left_bracket;
00029 grammar_to_parser::basic_non_terminal<E,nonmatching_list<E> >
00030 m_nonmatching_list;
00031 grammar_to_parser::basic_terminal<E,']'> m_left_bracket;
00032 public:
00033 unsigned long recognize( const E* buf, const unsigned long buf_length )
00034 {
00035 return m_nonmatching_list->recognize(buf,buf_length);
00036 }
00037 left_bracket_nonmatching_list_right_bracket();
00038
00039 ~left_bracket_nonmatching_list_right_bracket();
00040
00041 };
00042
00043 };
00044
00045 #endif