01_user_documentation:07_rgg_xl:02_xl:08_object:02_pattern
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 01_user_documentation:07_rgg_xl:02_xl:08_object:02_pattern [2025/08/29 11:13] – gaetan | 01_user_documentation:07_rgg_xl:02_xl:08_object:02_pattern [2025/09/02 18:26] (current) – gaetan | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| {{namespace>: | {{namespace>: | ||
| - | |||
| - | |||
| - | The minimal format to declare a pattern as java object is: | ||
| - | |||
| - | <code java> | ||
| - | class X extends Node { | ||
| - | static class Pattern extends UserDefinedPattern { | ||
| - | private static void signature(@In @Out X node) {} | ||
| - | public Matcher createMatcher(Graph graph, XBitSet bound, | ||
| - | | ||
| - | } | ||
| - | } | ||
| - | </ | ||
01_user_documentation/07_rgg_xl/02_xl/08_object/02_pattern.1756458827.txt.gz · Last modified: 2025/08/29 11:13 by gaetan
