| Did you know ... | Search Documentation: |
| Instance variables |
<-kind:
alias. type<-context
contains the real type specification.<-translate_function
and type<-validate_function.
The contents of this field is determined by these functions, and
therefore by the type<->kind
attribute.
-kind<-convert.<-kind
attribute determines the -validate_function and -translate_function
pointers and thus interpretation of the context attribute. Its values
are (between brackets the the syntax construct; see also type<-convert).
Objects (instances of classes):
<-convert
method of the class.<-convert.
Special types:
|int’(i.e.
no function
objects). Translate: Evaluates functions.
Numeric values:
\n, \t, \r, \f, \b
with their usual meaning^<char> for control characters\C-<char> for control characters
tuple(low, high).
Validate: Checks range (including low and high). Translate: Translates
to int and validates range,tuple(low, high).
Validate: Checks range (including low and high). Translate: Translates
to real and validates range.
Events:
char or event-name (see @event_tree).
Set types:
<-member.
Because type<-context
does not allow for a function, functions should be passed embedded in a quote_function
object. The function
|<type name 2>|...]
Validate: Just validates the super-types. Translate: According to the
super-types.
Type-name alias and argument names:
<-context.
Translate: as type<-context.
Internal use:
-validate_function -translate_function -context->validate
and
type<-translate
after its own validation or translation fails.
<-check-kind
@see type<-translate-kindvarargs type
by a method. This implies any number of datums of this type is allowed.