<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.3.1. Compound Rule</title><link href="style.css" rel="stylesheet" type="text/css"><meta content="DocBook XSL Stylesheets V1.72.0" name="generator"><link rel="start" href="index.html" title="The VIATRA2 Model Transformation Framework"><link rel="up" href="sec_ASMCompoundRules.html" title="4.3. Compound ASM Rules"><link rel="prev" href="sec_ASMCompoundRules.html" title="4.3. Compound ASM Rules"><link rel="next" href="def_SequentialRule.html" title="4.3.2. Sequential Rule"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">4.3.1. Compound Rule</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="sec_ASMCompoundRules.html">Prev</a> </td><th align="center" width="60%">4.3. Compound ASM Rules</th><td align="right" width="20%"> <a accesskey="n" href="def_SequentialRule.html">Next</a></td></tr></table><hr></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="def_CompoundRule"></a>4.3.1. Compound Rule</h4></div></div></div><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip: Description"><tr><td valign="top" align="center" rowspan="2" width="25"><img alt="[Tip]" src="images/tip.png"></td><th align="left"><a name="def_CompoundRule_Description"></a>Description</th></tr><tr><td valign="top" align="left"><p> | |
A <span class="strong"><strong>compound rule</strong></span><a name="N114F5" class="indexterm"></a> is such an ASM rule | |
invocation that contains nested rules executed in different ways. | |
</p><p> | |
A compound rule can be | |
</p><div class="itemizedlist"><ul type="disc"><li><p>for defining a set of rules (<a href="def_SequentialRule.html" title="4.3.2. Sequential Rule">sequential rule</a>, | |
<a href="def_ParallelRule.html" title="4.3.3. Parallel Rule">parallel rule</a>, | |
<a href="def_RandomRule.html" title="4.3.4. Random Rule">random rule</a>), | |
</p></li><li><p>variable related (<a href="def_LetRule.html" title="4.3.5. Let Rule">let rule</a>) or | |
</p></li><li><p>pattern matching or graph transformation related (<a href="def_ChooseRule.html" title="4.3.6. Choose Rule">choose rule</a>, <a href="def_ForallRule.html" title="4.3.7. Forall Rule">forall rule</a>), | |
</p></li><li><p>control flow related ( <a href="def_IterateRule.html" title="4.3.8. Iterate Rule">iterate rule</a>, | |
<a href="def_IfRule.html" title="4.3.9. If Rule">if rule</a>, <a href="def_TryRule.html" title="4.3.10. Try Rule">try rule</a>). | |
</p></li></ul></div></td></tr></table></div><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Important: Syntax"><tr><td valign="top" align="center" rowspan="2" width="25"><img alt="[Important]" src="images/important.png"></td><th align="left"><a name="def_CompoundRule_Syntax"></a>Syntax</th></tr><tr><td valign="top" align="left"><pre class="programlisting"> | |
CompoundRuleAST ::= <a href="def_SequentialRule.html" title="4.3.2. Sequential Rule">SequentialRuleAST</a> | <a href="def_RandomRule.html" title="4.3.4. Random Rule">RandomRuleAST</a> | <a href="def_ParallelRule.html" title="4.3.3. Parallel Rule">ParallelRuleAST</a> | |
| <a href="def_LetRule.html" title="4.3.5. Let Rule">LetRuleAST</a> | <a href="def_IterateRule.html" title="4.3.8. Iterate Rule">IterateRuleAST</a> | |
| <a href="def_ChooseRule.html" title="4.3.6. Choose Rule">ChooseRuleAST</a> | <a href="def_ForallRule.html" title="4.3.7. Forall Rule">ForallRuleAST</a> | |
| <a href="def_IfRule.html" title="4.3.9. If Rule">IfRuleAST</a> | <a href="def_TryRule.html" title="4.3.10. Try Rule">TryRuleAST</a> | |
</pre></td></tr></table></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="sec_ASMCompoundRules.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="sec_ASMCompoundRules.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="def_SequentialRule.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">4.3. Compound ASM Rules </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%"> 4.3.2. Sequential Rule</td></tr></table></div></body></html> |