|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.cmd.InterpAliasCmd
public class InterpAliasCmd
This class implements the alias commands, which are created in response to the built-in "interp alias" command in Tcl.
| Field Summary | |
|---|---|
TclObject |
name
Name of alias command in slave interp. |
| Constructor Summary | |
|---|---|
InterpAliasCmd()
|
|
| Method Summary | |
|---|---|
void |
cmdProc(Interp interp,
TclObject[] argv)
This is the procedure that services invocations of aliases in a slave interpreter. |
void |
disposeCmd()
Is invoked when an alias command is deleted in a slave. |
WrappedCommand |
getTargetCmd(Interp interp)
helper function, that returns the WrappedCommand of the target command (i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public TclObject name
| Constructor Detail |
|---|
public InterpAliasCmd()
| Method Detail |
|---|
public void cmdProc(Interp interp,
TclObject[] argv)
throws TclException
cmdProc in interface Commandinterp - The interpreter for setting the results and which contains the
contextargv - the argument list for the command; objv[0[ is the command name
itself
TclException - on any errorspublic void disposeCmd()
disposeCmd in interface CommandWithDispose
public WrappedCommand getTargetCmd(Interp interp)
throws TclException
interp - interp for error reporting
TclException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||