de.grogra.xl.query
public interface Producer
Producer is used within right hand sides of XL rules
in order to construct
the replacement for the match of the left hand side.| Modifier and Type | Field and Description |
|---|---|
static int |
DOUBLE_ARROW
Indicates the XL rule arrow
==>>. |
static int |
EXECUTION_ARROW
Indicates the XL rule arrow
::>. |
static int |
SIMPLE_ARROW
Indicates the XL rule arrow
==>. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
producer$beginExecution(int arrow)
This method is invoked by the XL run-time system in order to notify the
producer about the beginning of a right-hand side (i.e., a match for the left-hand side
has been found, and the right-hand side is executed).
|
void |
producer$endExecution(boolean executed)
This method is invoked by the XL run-time system in order to notify the
producer about the end of the execution of a right-hand side.
|
Graph |
producer$getGraph()
Returns the graph for which this producer constructs the
right-hand side structur.
|
void |
producer$visitEdge(EdgePattern pattern) |
static final int DOUBLE_ARROW
==>>.static final int EXECUTION_ARROW
::>.static final int SIMPLE_ARROW
==>.boolean producer$beginExecution(int arrow)
arrow - the type of rule arrow, one of SIMPLE_ARROW,
DOUBLE_ARROW, EXECUTION_ARROWtrue if the right-hand side shall be executed,
false if its execution shall be skippedvoid producer$endExecution(boolean executed)
executed - return value of invocation of
producer$beginExecution(int)Graph producer$getGraph()
void producer$visitEdge(EdgePattern pattern)