User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:08_object:02_pattern:01_inrgg:05_context

This is an old revision of the document!


Context

In the case of custom patterns it defines if the Node matched by this pattern are “kept” after the matching. The custom patterns simply forward the context of their caller query to their own pattern. For instance:

void rule()[
 Node -p-> Node ==>; // p is not a context
 Node -p-> Node ::>; // p is a context 
 Node (* -p-> Node *) ==>; // p is a context
]

A custom pattern p that is not a context makes all Nodes bound by its matching transient. Even the Node implicitly bound.

01_user_documentation/07_rgg_xl/02_xl/08_object/02_pattern/01_inrgg/05_context.1756913617.txt.gz · Last modified: 2025/09/03 17:33 by gaetan