Sfairadora

  • Reference Guide

Computed_def

The definition type of the category computed item.
Type
Name
Description
Union
getter
The getter function. A value of the type Enki is used to specify an Enki language function, or type Enkidu for an Enkidu language template. If a value of another type is specified, it is considered a constant (constant function).
The function must return the type determined by the free_type component (see below).
Union optional
setter
The setter function. It should be a value of the type Enki. The function has one parameter val of the type determined by the component free_type.
If the setter function is not specified, the computed item is read-only.
free_type
The data type of the value produce by the computed item defined (i.e. corresponding free type).
Int optional
src_id
Int optional
parent_src_id
Int optional
parent_skip
Dref optional
org_ref
An internal item.