|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Producer
A Producer
is used within right hand sides of XL rules
in order to construct
the replacement for the match of the left hand side.
Field Summary | |
---|---|
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 ==> . |
Method Summary | |
---|---|
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)
|
Field Detail |
---|
static final int DOUBLE_ARROW
==>>
.
static final int EXECUTION_ARROW
::>
.
static final int SIMPLE_ARROW
==>
.
Method Detail |
---|
boolean producer$beginExecution(int arrow)
arrow
- the type of rule arrow, one of SIMPLE_ARROW
,
DOUBLE_ARROW
, EXECUTION_ARROW
true
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)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |