current man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

nx::current(3)							nx::current(3)

______________________________________________________________________________

NAME
       nx::current - Return information about the method callstack

SYNOPSIS
       current ?option?

_________________________________________________________________

DESCRIPTION
       current ?option?
	      This  introspection  command  provides information about various
	      details, to be identified using option, on  the  callstack.  The
	      command  is  invoked  from  a method body. If option is not pro‐
	      vided, nx::current will default to option	 object	 (see  below).
	      nx::current  operates  on	 the Tcl callstack and is aware of NX-
	      specific callstack and stackframe details. option can be any  of
	      the following:

	      ·	     activelevel  returns  the	actual	callstack  level which
		     calls into the currently executing method directly.  This
		     activelevel  might	 correspond the callinglevel, but this
		     is	 not  necessarily  the	case.  The  activelevel	  also
		     includes  intermediate  calls,  such  as nx::next invoca‐
		     tions. The level is reported as an absolute level	number
		     (#	 followed by a digit) to be directly used as the first
		     argument to uplevel or upvar.

	      ·	     args returns the list of argument values passed into  the
		     currently executing method implementation.

	      ·	     calledclass  returns  the name of the class that provides
		     the method implementation to which the intercepted method
		     call is to be redirected (only available from within fil‐
		     ter methods).

	      ·	     calledmethod returns the original method  name  requested
		     by	 intercepted  method  call (only available from within
		     filter methods).

	      ·	     callingclass returns the name of the class which provides
		     the method implementation calling into the currently exe‐
		     cuting method. See also callingobject.

	      ·	     callinglevel resolves the callstack level of  the	origi‐
		     nating  invocation	 of  the  currently  executing	method
		     implementation. Callstack	levels	introduced  by	method
		     interception  (e.g.,  filters)  and by method combination
		     (nx::next) are ignored. The level is reported as an abso‐
		     lute  level number (# followed by a digit) to be directly
		     used as the first argument to uplevel or upvar. See  also
		     activelevel.

	      ·	     callingobject  returns  the  name	of the object which is
		     calling into the currently	 executing  method.  See  also
		     callingclass.

	      ·	     class  returns  the  name of the class providing the cur‐
		     rently  executing	method	implementation.	 The  returned
		     method-providing  class  may be different to the class of
		     the current object. If called from within a method imple‐
		     mentation provided by the current object itself, an empty
		     string is returned.

	      ·	     filterreg returns the object (class) on  which  the  cur‐
		     rently executing method was registered as a filter method
		     (only available from within filter methods).

	      ·	     isnextcall will return  1,	 if  the  currently  executing
		     method  implementation was invoked via nx::next; 0 other‐
		     wise.

	      ·	     method  returns  the  name	 of  the  currently  executing
		     method.  If an ensemble-method call, the name of the bot‐
		     tom-most ("leaf") method is returned.

	      ·	     methodpath returns the combined  name  of	the  currently
		     executing	method	(including  all ensemble levels) in an
		     ensemble-method call. Otherwise,  for  a  regular	method
		     call,  the	 result	 corresponds  to  the result of option
		     method.

	      ·	     nextmethod returns the name of  the  next	most  specific
		     method   implementation   to   be	called	when  invoking
		     nx::next.

	      ·	     object gives the name of the object  on  which  the  cur‐
		     rently executing method implementation is evaluated.

COPYRIGHT
       Copyright (c)  2014 Stefan Sobernig <stefan.sobernig@wu.ac.at>, Gustaf Neumann <gustaf.neumann@wu.ac.at>; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).

current				      2.0			nx::current(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net