|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.cmd.RegexpCmd
public class RegexpCmd
This class implements the built-in "regexp" command in Tcl.
| Constructor Summary | |
|---|---|
RegexpCmd()
|
|
| Method Summary | |
|---|---|
void |
cmdProc(Interp interp,
TclObject[] objv)
This method implements the functionality of the command. |
protected TclObject |
getAboutCompileError(Interp interp)
Returns a list for -about when a compile error occur. |
static void |
init(Interp interp)
|
void |
setAllowXFlags(boolean allow)
Sets this instance of RegexpCmd to interpret and pass on the arguments of -xflags. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexpCmd()
| Method Detail |
|---|
public static void init(Interp interp)
public void setAllowXFlags(boolean allow)
allow - Set to true to allow -xflags processing
protected TclObject getAboutCompileError(Interp interp)
throws TclException
interp - current Jacl interpreter object
TclException
public void cmdProc(Interp interp,
TclObject[] objv)
throws TclException
Command
cmdProc in interface Commandinterp - The interpreter for setting the results and which contains the
contextobjv - the argument list for the command; objv[0[ is the command name
itself
TclException - on any errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||