org.apache.regexp
public class REDebugCompiler extends RECompiler
Version: $Id: REDebugCompiler.java 518169 2007-03-14 15:03:35Z 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.
|
void | dumpProgram()
Dumps the current program to a System.out . |
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
System.out
.Parameters: node Node to describe
Returns: Description of node
Parameters: opcode Opcode to convert to a string
Returns: Description of opcode