Constructor and Description |
---|
TclParserExtension() |
Modifier and Type | Method and Description |
---|---|
void |
cmdProc(Interp interp,
TclObject[] objv) |
void |
init(Interp interp)
Initialize the Extension to run in a normal (unsafe)
interpreter.
|
void |
safeInit(Interp safeInterp)
Initialize the Extension to run in a safe interpreter.
|
loadOnDemand
public void init(Interp interp) throws TclException
Extension
init
in class Extension
interp
- current interpreter.TclException
public void safeInit(Interp safeInterp) throws TclException
Extension
safeInit
in class Extension
safeInterp
- the safe interpreter in which the Extension should
be initialized.TclException
public void cmdProc(Interp interp, TclObject[] objv) throws TclException
cmdProc
in interface Command
TclException