blob: 1b3e19452c4759234cc4e80c2315cd11afc1a178 [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.1.2.&nbsp;ASM Rule Invocation</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_DefASMRule.html" title="4.1.&nbsp;ASM Rule Definition and Invocation"><link rel="prev" href="def_AsmRuleDef.html" title="4.1.1.&nbsp;ASM Rule Definition"><link rel="next" href="sec_ASMSimpleRules.html" title="4.2.&nbsp;Simple ASM Rules"></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.1.2.&nbsp;ASM Rule Invocation</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="def_AsmRuleDef.html">Prev</a>&nbsp;</td><th align="center" width="60%">4.1.&nbsp;ASM Rule Definition and Invocation</th><td align="right" width="20%">&nbsp;<a accesskey="n" href="sec_ASMSimpleRules.html">Next</a></td></tr></table><hr></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="def_AsmRuleInvoc"></a>4.1.2.&nbsp;ASM Rule Invocation</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_AsmRuleInvoc_Description"></a>Description</th></tr><tr><td valign="top" align="left"><p>
An <span class="strong"><strong>ASM rule invocation</strong></span><a name="N111BD" class="indexterm"></a>
is an abstract term for a whole set of different invocations of ASM rule definitions and built-in ASM rules.
</p></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_AsmRuleInvoc_Syntax"></a>Syntax</th></tr><tr><td valign="top" align="left"><pre class="programlisting">
AsmRuleAST ::= <a href="def_SimpleRule.html" title="4.2.1.&nbsp;Simple Rule">SimpleRuleAST</a>
| <a href="def_CompoundRule.html" title="4.3.1.&nbsp;Compound Rule">CompoundRuleAST</a>
| <a href="def_ModelManipulationRule.html" title="4.4.1.&nbsp;Model Manipulation Rule">ModelManipulationRuleAST</a>
AsmRulesAST ::= AsmRulesOptAST AsmRuleAST
AsmRulesOptAST ::= $empty
| AsmRulesOptAST AsmRuleAST
</pre><p>
Traditionally, an <span class="strong"><strong>ASM rule invocation</strong></span> is a <a href="def_SimpleRule.html" title="4.2.1.&nbsp;Simple Rule">simple rule</a> or a
<a href="def_CompoundRule.html" title="4.3.1.&nbsp;Compound Rule">compound rule</a>. In VIATRA, the set of ASM rule invocations is extended
with <a href="def_ModelManipulationRule.html" title="4.4.1.&nbsp;Model Manipulation Rule">model manipulation rules</a>, which can modify the VIATRA model
space.
</p></td></tr></table></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note: Semantics"><tr><td valign="top" align="center" rowspan="2" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left"><a name="def_AsmRuleInvoc_Semantics"></a>Semantics</th></tr><tr><td valign="top" align="left"><p>
The semantics of each type of rule invocations are described separately.
</p></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="def_AsmRuleDef.html">Prev</a>&nbsp;</td><td align="center" width="20%"><a accesskey="u" href="sec_DefASMRule.html">Up</a></td><td align="right" width="40%">&nbsp;<a accesskey="n" href="sec_ASMSimpleRules.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">4.1.1.&nbsp;ASM Rule Definition&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%">&nbsp;4.2.&nbsp;Simple ASM Rules</td></tr></table></div></body></html>