Save This Page
Home » jakarta-regexp-1.5 » org.apache » regexp » [javadoc | source]
org.apache.regexp
public class: REDebugCompiler [javadoc | source]
java.lang.Object
   org.apache.regexp.RECompiler
      org.apache.regexp.REDebugCompiler
A subclass of RECompiler which can dump a regular expression program for debugging purposes.
Field Summary
static  Hashtable hashOpcode    Mapping from opcodes to descriptive strings 
Fields inherited from org.apache.regexp.RECompiler:
instruction,  lenInstruction,  pattern,  len,  idx,  parens,  NODE_NORMAL,  NODE_NULLABLE,  NODE_TOPLEVEL,  ESC_MASK,  ESC_BACKREF,  ESC_COMPLEX,  ESC_CLASS,  bracketUnbounded,  bracketMin,  bracketOpt,  hashPOSIX
Method from org.apache.regexp.REDebugCompiler Summary:
charToString,   dumpProgram,   dumpProgram,   nodeToString,   opcodeToString
Methods from org.apache.regexp.RECompiler:
atom,   bracket,   branch,   characterClass,   closure,   compile,   emit,   ensure,   escape,   expr,   internalError,   node,   nodeInsert,   setNextOfEnd,   syntaxError,   terminal
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.regexp.REDebugCompiler Detail:
 String charToString(char c) 
    Return a string describing a (possibly unprintable) character.
 public  void dumpProgram() 
    Dumps the current program to a System.out.
 public  void dumpProgram(PrintWriter p) 
 String nodeToString(int node) 
    Returns a descriptive string for a node in a regular expression program.
 String opcodeToString(char opcode) 
    Returns a descriptive string for an opcode.