| |
|
| java.lang.Object org.apache.regexp.RECompiler org.apache.regexp.REDebugCompiler
REDebugCompiler | public class REDebugCompiler extends RECompiler (Code) | | A subclass of RECompiler which can dump a regular expression program
for debugging purposes.
author: Jonathan Locke version: $Id: REDebugCompiler.java 518169 2007-03-14 15:03:35Z vgritsenko $ |
hashOpcode | static Hashtable hashOpcode(Code) | | Mapping from opcodes to descriptive strings
|
charToString | String charToString(char c)(Code) | | Return a string describing a (possibly unprintable) character.
Parameters: c - Character to convert to a printable representation String representation of character |
dumpProgram | public void dumpProgram(PrintWriter p)(Code) | | Dumps the current program to a
PrintWriter .
Parameters: p - PrintWriter for program dump output |
dumpProgram | public void dumpProgram()(Code) | | Dumps the current program to a System.out .
|
nodeToString | String nodeToString(int node)(Code) | | Returns a descriptive string for a node in a regular expression program.
Parameters: node - Node to describe Description of node |
opcodeToString | String opcodeToString(char opcode)(Code) | | Returns a descriptive string for an opcode.
Parameters: opcode - Opcode to convert to a string Description of opcode |
|
|
|