dion 2004/08/19 21:40:50
Modified: jexl/xdocs/reference syntax.xml
Log:
More on syntax
Revision Changes Path
1.3 +24 -0 jakarta-commons/jexl/xdocs/reference/syntax.xml
Index: syntax.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/jexl/xdocs/reference/syntax.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- syntax.xml 19 Aug 2004 18:26:07 -0000 1.2
+++ syntax.xml 20 Aug 2004 04:40:50 -0000 1.3
@@ -35,6 +35,30 @@
<td>Integer Literals</td>
<td>1 or more digits from <code>0</code> to <code>9</code></td>
</tr>
+ <tr>
+ <td>Floating point Literals</td>
+ <td>
+ 1 or more digits from <code>0</code> to <code>9</code>, followed
+ by a decimal point and then one or more digits from
+ <code>0</code> to <code>9</code>.
+ </td>
+ </tr>
+ <tr>
+ <td>Identifier / variable</td>
+ <td>
+ Must start with <code>a-z</code>, <code>A-Z</code>, <code>_</code> or
<code>$</code>.
+ Can then be followed by <code>0-9</code>,<code>a-z</code>,
<code>A-Z</code>, <code>_</code> or <code>$</code>.
+ e.g.
+ <ul>
+ <li>Valid: <code>var1</code>,<code>_a99</code>,<code>$1</code></li>
+ <li>Inalid: <code>9v</code>,<code>!a99</code>,<code>1$</code></li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td>Assignment</td>
+ <td><source>var1 = var2</source></td>
+ </tr>
</table>
</section>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]