org.apache.regexp
public class REDebugCompiler extends RECompiler
Version: $Id: REDebugCompiler.java 126149 2004-02-19 02:35:28Z vgritsenko $
Field Summary | |
---|---|
static Hashtable | hashOpcode
Mapping from opcodes to descriptive strings |
Method Summary | |
---|---|
String | charToString(char c)
Return a string describing a (possibly unprintable) character. |
void | dumpProgram(PrintWriter p)
Dumps the current program to a PrintWriter |
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. |
Parameters: c Character to convert to a printable representation
Returns: String representation of character
Parameters: p PrintWriter for program dump output
Parameters: node Node to describe
Returns: Description of node
Parameters: opcode Opcode to convert to a string
Returns: Description of opcode