Project

General

Profile

$codel TCL engine command

Those commands manipulate codels objects and return information about them. They all take a codels object as their first argument, noted $codel in the following command descriptions. Such an object is typically returned by other procedures.

$codel name

Return the name of the codel.

$codel kind

Return the codel kind, among sync or async.

$codel parameters

Return the list of codel parameters.

$codel yields

Return the list of events that this codel can yield to after execution.

$codel triggers

Return the list of events that trigger the execution of this codel.

$codel task

Return the task of a codel for codels defined in a task, or an error if the codel belongs to a service.

$codel service

Return the service of a codel for codels defined in a service, or an error if the codel belongs to a task.

$codel mutex

Return a list of codels and services that may access internal resources used by the codel. All these codels cannot run simultaneously and are mutually exclusive.

$codel cname

Return the cannonical name of a codel for the current language.

$codel signature

Return the signature of a codel for the current language.

$codel invoke 'params'

Return a string corresponding to the invocation of a codel in the current language. See language invoke.

$codel loc [file|line|column|context]

Return a list describing the source location where that codel is defined. The list contains four elements: the file name, the line number, the column number and the original component context of the definition. If an optional argument is given, only the corresponding element is returned.

$codel class

Return the string codel.