blob: 18b0fe46c7bf167a0532a1e8edd31e246c3dd71b [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>5.3.4.&nbsp;Base Arithmetic Term</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_ASMArithmeticTerms.html" title="5.3.&nbsp;Arithmetic Terms"><link rel="prev" href="def_UnaryArithmeticTerm.html" title="5.3.3.&nbsp;Unary Arithmetic Term"><link rel="next" href="sec_ASMConstants.html" title="5.4.&nbsp;Constants"></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">5.3.4.&nbsp;Base Arithmetic Term</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="def_UnaryArithmeticTerm.html">Prev</a>&nbsp;</td><th align="center" width="60%">5.3.&nbsp;Arithmetic Terms</th><td align="right" width="20%">&nbsp;<a accesskey="n" href="sec_ASMConstants.html">Next</a></td></tr></table><hr></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="def_BaseArithmeticTerm"></a>5.3.4.&nbsp;Base Arithmetic Term</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_BaseArithmeticTerm_Description"></a>Description</th></tr><tr><td valign="top" align="left"><p>
A <span class="strong"><strong>base arithmetic term</strong></span>
<a name="N12767" class="indexterm"></a> is the most elementary ASM term.
</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_BaseArithmeticTerm_Syntax"></a>Syntax</th></tr><tr><td valign="top" align="left"><pre class="programlisting">
BaseArithmeticTermAST ::= <a href="def_Variable.html" title="5.7.2.&nbsp;Variable">VariableRefAST</a>
| <a href="def_AsmConstant.html" title="5.4.1.&nbsp;ASM Constant (Value)">ConstantValueAST</a>
| <span class="token">(</span> <a href="def_LogicalTerm.html" title="5.2.1.&nbsp;Logical Term">LogicalTermAST</a> <span class="token">)</span>
| <a href="def_AsmFunctionLocation.html" title="5.5.3.&nbsp;ASM Function Location">AsmFunctionLocationAST</a>
| <a href="def_GraphPatternCall.html" title="2.1.4.&nbsp;Graph Pattern Call">GraphPatternCallAST</a>
| <a href="def_PredefinedFunctionCall.html" title="5.6.1.&nbsp;Predefined Function Call">PredefinedFunctionCallAST</a>
</pre><p>
A <span class="strong"><strong>base arithmetic term</strong></span> can be the followings:
</p><div class="itemizedlist"><ul type="disc"><li><p>a <a href="def_Variable.html" title="5.7.2.&nbsp;Variable">variable</a>,
</p></li><li><p>an <a href="def_AsmConstant.html" title="5.4.1.&nbsp;ASM Constant (Value)">ASM constant</a>,
</p></li><li><p>the negative value of an <a href="def_IntConstant.html" title="5.4.6.&nbsp;Integer Constants">integer constant</a> or
<a href="def_FloatConstant.html" title="5.4.7.&nbsp;Float Constant">float constant</a>
</p></li><li><p>a general <a href="def_Term.html" title="5.1.1.&nbsp;ASM Term">term</a>surrounded by parenthesis,
</p></li><li><p>an <a href="def_AsmFunctionLocation.html" title="5.5.3.&nbsp;ASM Function Location">ASM function location</a> or
</p></li><li><p>a <a href="def_PredefinedFunctionCall.html" title="5.6.1.&nbsp;Predefined Function Call">predefined function call</a>.
</p></li></ul></div></td></tr></table></div><div class="highlights"><a name="def_BaseArithmeticTerm_DefinedIn"></a><p><b>Defined In:&nbsp;</b>
<a href="def_UnaryArithmeticTerm.html" title="5.3.3.&nbsp;Unary Arithmetic Term">unary arithmetic term</a>
</p></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="def_UnaryArithmeticTerm.html">Prev</a>&nbsp;</td><td align="center" width="20%"><a accesskey="u" href="sec_ASMArithmeticTerms.html">Up</a></td><td align="right" width="40%">&nbsp;<a accesskey="n" href="sec_ASMConstants.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">5.3.3.&nbsp;Unary Arithmetic Term&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%">&nbsp;5.4.&nbsp;Constants</td></tr></table></div></body></html>