User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:03_query:01_predicate:02_path:05_function

This is an old revision of the document!


Node function

Method that return either a Node or a Node generator can be used as path pattern. The method needs to have at least one argument, and its first argument must be of type Node (or extend Node). Then, the path pattern use the Node pattern on the left and test if it can be matched with the Node pattern on the right.

Additionally the node function will:

  • use the Node on its left implicitly as argument
  • possibly use the last argument (if of type Type) implicitly if it exists. This argument bound the type of the Node on the right.
  • use all other arguments, but they need to be given explicitly

Example

 
01_user_documentation/07_rgg_xl/02_xl/03_query/01_predicate/02_path/05_function.1755869167.txt.gz · Last modified: 2025/08/22 15:26 by gaetan