cmlabs::RegExpParser Class Reference

#include <JString.h>

List of all members.

Public Member Functions

 RegExpParser (char *exp)
int is_reg_exp_present (char *string)

Public Attributes

int an_error_has_occured
char error_string [255]

Private Member Functions

void record_error (int n)
char * parse_parens (int paren, int *flagp)
char * one_side_of_or_operator (int *flagp)
char * trailing_wild (int *flagp)
char * compress_ordinary_characters (int *flagp)
char * emit_node (char op)
void emit_next_byte (char b)
void insert_operator (char op, char *opnd)
void go_to_end_of_chain (char *p, char *val)
void go_to_end_of_chain_on_operand (char *p, char *val)
int lookup_engine (char *prog)
int wildcard_lookup (char *p)
char * get_next_pointer (char *p)
int evaluate_next (char *string)

Private Attributes

char * reg_exp_match_begins_here [MAX_SUB_EXPRESSIONS]
char * reg_exp_match_ends_here [MAX_SUB_EXPRESSIONS]
char first_char_of_regexp
char is_anchored
char * required_substring
int length_required_substring
char symbol_string [MAX_STORE]
char * Input_scan_pointer
int parentheses_count
char reg_exp_shadow
char * code_emit_pointer
long symbol_string_size
char * input_string_pointer
char * beginning_of_input
char ** pointer_to_rembh
char ** pointer_to_remeh
char * Special_chars


Detailed Description

Definition at line 409 of file JString.h.


Constructor & Destructor Documentation

cmlabs::RegExpParser::RegExpParser ( char *  exp  ) 

Definition at line 3069 of file JString.cpp.


Member Function Documentation

int cmlabs::RegExpParser::is_reg_exp_present ( char *  string  ) 

Definition at line 3124 of file JString.cpp.

void cmlabs::RegExpParser::record_error ( int  n  )  [private]

Definition at line 3162 of file JString.cpp.

char * cmlabs::RegExpParser::parse_parens ( int  paren,
int *  flagp 
) [private]

Definition at line 3168 of file JString.cpp.

char * cmlabs::RegExpParser::one_side_of_or_operator ( int *  flagp  )  [private]

Definition at line 3222 of file JString.cpp.

char * cmlabs::RegExpParser::trailing_wild ( int *  flagp  )  [private]

Definition at line 3247 of file JString.cpp.

char * cmlabs::RegExpParser::compress_ordinary_characters ( int *  flagp  )  [private]

Definition at line 3296 of file JString.cpp.

char * cmlabs::RegExpParser::emit_node ( char  op  )  [private]

Definition at line 3401 of file JString.cpp.

void cmlabs::RegExpParser::emit_next_byte ( char  b  )  [private]

Definition at line 3416 of file JString.cpp.

void cmlabs::RegExpParser::insert_operator ( char  op,
char *  opnd 
) [private]

Definition at line 3424 of file JString.cpp.

void cmlabs::RegExpParser::go_to_end_of_chain ( char *  p,
char *  val 
) [private]

Definition at line 3441 of file JString.cpp.

void cmlabs::RegExpParser::go_to_end_of_chain_on_operand ( char *  p,
char *  val 
) [private]

Definition at line 3461 of file JString.cpp.

int cmlabs::RegExpParser::lookup_engine ( char *  prog  )  [private]

Definition at line 3468 of file JString.cpp.

int cmlabs::RegExpParser::wildcard_lookup ( char *  p  )  [private]

Definition at line 3601 of file JString.cpp.

char * cmlabs::RegExpParser::get_next_pointer ( char *  p  )  [private]

Definition at line 3638 of file JString.cpp.

int cmlabs::RegExpParser::evaluate_next ( char *  string  )  [private]

Definition at line 3651 of file JString.cpp.


Member Data Documentation

Definition at line 413 of file JString.h.

Definition at line 416 of file JString.h.

char* cmlabs::RegExpParser::reg_exp_match_begins_here[MAX_SUB_EXPRESSIONS] [private]

Definition at line 429 of file JString.h.

char* cmlabs::RegExpParser::reg_exp_match_ends_here[MAX_SUB_EXPRESSIONS] [private]

Definition at line 430 of file JString.h.

Definition at line 431 of file JString.h.

Definition at line 432 of file JString.h.

Definition at line 433 of file JString.h.

Definition at line 434 of file JString.h.

char cmlabs::RegExpParser::symbol_string[MAX_STORE] [private]

Definition at line 435 of file JString.h.

Definition at line 436 of file JString.h.

Definition at line 437 of file JString.h.

Definition at line 438 of file JString.h.

Definition at line 439 of file JString.h.

Definition at line 440 of file JString.h.

Definition at line 441 of file JString.h.

Definition at line 442 of file JString.h.

Definition at line 443 of file JString.h.

Definition at line 444 of file JString.h.

Definition at line 445 of file JString.h.


The documentation for this class was generated from the following files:

Generated on Tue Jul 7 16:22:53 2009 for CoreLibrary by  doxygen 1.5.6