----------------------------------------------------------------------
Tcl_AddInterpResolvers -> addInterpResolver
Adds a set of command/variable resolution procedures to an interpreter.
CleanupVar -> cleanupVar
This procedure is called when it looks like it may be OK to free up the
variable's record and hash table entry, and those of its containing
parent.
----------------------------------------------------------------------
cmdProc --
This procedure is invoked as part of the Command interface to process the
"clock" Tcl command.
----------------------------------------------------------------------
Tcl_InterpObjCmd -> cmdProc
This procedure is invoked as part of the Command interface to process the
"interp" Tcl command.
----------------------------------------------------------------------
Tcl_RenameObjCmd -> RenameCmd.cmdProc
This procedure is invoked to process the "rename" Tcl command.
----------------------------------------------------------------------
Tcl_StringObjCmd -> StringCmd.cmdProc
This procedure is invoked to process the "string" Tcl command.
----------------------------------------------------------------------
cmdProc --
This procedure is invoked as part of the Command interface to process the
"java::try" Tcl command.
This class implements the Console Thread: it is started by
tcl.lang.Shell if the user gives no initial script to evaluate, or
when the -console option is specified.
True means the interpreter has been deleted: don't process any more commands for it, and destroy the structure as
soon as all nested invocations of eval() are done.
// FIXME: Make more like TclDeleteCompiledLocalVars() TclDeleteVars ->
deleteVars
This procedure is called to recycle all the storage space associated with
an array of variables.
----------------------------------------------------------------------
disposeCmd --
Invoked when an object command for a slave interpreter is deleted; cleans
up all state associated with the slave interpreter and destroys the slave
interpreter.
True means information has already been logged in $errorInfo for the current eval() instance, so eval() needn't
log it (used to implement the "error" command).
If the conversion is successful, errno = 0; If the number cannot be
converted to a valid unsigned 32-bit integer, contains the error code
(TCL.INTEGER_RANGE or TCL.INVALID_INTEGER).
Makes all the commands matching a pattern available to later be imported
from the namespace specified by namespace (or the current namespace if
namespace is null).
TclParseNumber -> ExprParseString
Given a TclObject that contains a String to be parsed (from a command or
variable subst), fill in an ExprValue based on the string's numeric
value.
Given a token returned by, e.g., Tcl_CreateCommand or Tcl_FindCommand, this procedure returns the command's full
name, qualified by a sequence of parent namespace names.
Tcl_GetFrame -> getFrame
Given a description of a procedure frame, such as the first argument to
an "uplevel" or "upvar" command, locate the call frame for the
appropriate level of procedure.
This important function attempts to extract from the given TclObject a
unique normalized path representation, whose string value can be used as
a unique identifier for the file.
----------------------------------------------------------------------
TclHideUnsafeCommands -> hideUnsafeCommands
Hides base commands that are not marked as safe from this interpreter.
TclIncrVar2 -> incrVar
Given a two-part variable name, which may refer either to a scalar
variable or an element of an array, increment the Tcl object value of the
variable by a specified amount.
This class implements a small helper function that is used to load the TJC
package into Jacl without requiring that the Java package be loaded into
Jacl.
TclListObjSetElement --
Set a single element of a list to a specified value in place (LsetCmd)
Side effects: Tcl_Panic if listPtr designates a shared object.
MakeUpvar -> makeUpvar
Create a reference of a variable in otherFrame in the current CallFrame,
given a two-part name consisting of array name and element within array.
------------------------------------------------------------------------
-----
parseSubSpec --
Parses the replacement string (subSpec param) which is in Tcl's form.
Procedure called by Tcl_EvalObj to set the interpreter's result value to an appropriate error message when the
code it evaluates returns an unexpected result code (not TCL_OK and not TCL_ERROR) to the topmost evaluation
level.
Counts number of active uses of this variable, not including its entry in
the call frame or the hash table: 1 for each additional variable whose
link points here, 1 for each nested trace active on variable, and 1 if
the variable is a namespace variable.
----------------------------------------------------------------------
Tcl_SetNamespaceResolvers -> setNamespaceResolver
Sets the command/variable resolution object for a namespace, thereby
changing the way that command/variable names are interpreted.
Tcl_SetVar2Ex -> setVar
Given a two-part variable name, which may refer either to a scalar
variable or an element of an array, change the value of the variable to a
new Tcl object value.
If variable is in a hashtable, either the hash table entry that refers to
this variable or null if the variable has been detached from its hash
table (e.g.
TrimLeft --
Trim characters in "pattern" off the left of a string If pattern isn't
supplied, whitespace is trimmed
Results: |>None.<|
Side effects: |>None.<|