Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "VIATRA2/Examples/VTCL/GraphPattern"
(New page: == Overview: Graph patterns == === Pattern Matching Semantics ===) |
(→Pattern Matching Semantics) |
||
Line 2: | Line 2: | ||
=== Pattern Matching Semantics === | === Pattern Matching Semantics === | ||
+ | |||
+ | <source lang="text"> | ||
+ | pattern parentPattern1(X, Y, Z) = { | ||
+ | } | ||
+ | |||
+ | sharedvar pattern parentPattern2(X, Y, Z) = { | ||
+ | } | ||
+ | |||
+ | pattern childPattern1(A, B) = { | ||
+ | } | ||
+ | |||
+ | sharedvar pattern childPattern2(A, B) = { | ||
+ | |||
+ | } | ||
+ | </source> |
Revision as of 09:27, 25 May 2009
Overview: Graph patterns
Pattern Matching Semantics
pattern parentPattern1(X, Y, Z) = { } sharedvar pattern parentPattern2(X, Y, Z) = { } pattern childPattern1(A, B) = { } sharedvar pattern childPattern2(A, B) = { }