Next: Auto-completed and Auto-updated field
Up: Terminology
Previous: Auto-Completion Rules and Mode-Rule
A rule is guarded against triggers by an
optional guard G. A guard
makes a rule trigger conditional to fulfilment of certain
conditions. These conditions are represented as a boolean
expression tree T with non-terminal nodes as boolean
operators and terminal nodes as
calls to JavaScript functions as shown in Figure
4. In addition, every guard has a collection of
fields known as mode-guard
such that a guard will be evaluated if and only if all the fields
comprising mode are known. The evaluation of guard
is defined in
terms of the associated boolean expression tree
as:
:
Figure 4:
A guard is represented as an expression tree with
non-terminal nodes as boolean
operators.
|
|
Sunil Kothari
2006-04-29