Version 1 of TclCallframe js Object

Updated 2011-08-27 12:08:00 by apw

TclCallframe

A javascript Object as used in incr Tcl in Javascript. Instantiation:

Parameters

  • interp
  • type

Container for a Tcl callframe. A callframe is a javascript Object which is pushed on a stack built from a javascript Array when a proc or method is called. Contains all local variables, these are in a javascript Object: variables as TclVariables js Object and the name as the index, and information about a possible itcl object, when the command was an itcl object. There is also a type of a callframe, which can be – as in the C implementation -

  • CALL_TYPE_PROC
  • CALL_TYPE_METHOD
  • CALL_TYPE_UPLEVEL
  • CALL_TYPE_UPVAR
  • CALL_TYPE_EVAL

to be filled