tcl.lang.cmd
Class SubstCmd

java.lang.Object
  extended by tcl.lang.cmd.SubstCmd
All Implemented Interfaces:
Command

public class SubstCmd
extends Object
implements Command

This class implements the built-in "subst" command in Tcl.


Constructor Summary
SubstCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          This method is invoked to process the "subst" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstCmd

public SubstCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
This method is invoked to process the "subst" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - the current interpreter.
argv - command arguments.
Throws:
TclException - if wrong # of args or invalid argument(s).


Copyright © 2015. All rights reserved.