You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/06/14 18:44:32 UTC

svn commit: r1135692 - /commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml

Author: sebb
Date: Tue Jun 14 16:44:31 2011
New Revision: 1135692

URL: http://svn.apache.org/viewvc?rev=1135692&view=rev
Log:
JEXL-24 - document new literal syntax

Modified:
    commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml

Modified: commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml?rev=1135692&r1=1135691&r2=1135692&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml (original)
+++ commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml Tue Jun 14 16:44:31 2011
@@ -133,11 +133,36 @@
           <td>1 or more digits from <code>0</code> to <code>9</code></td>
         </tr>
         <tr>
+          <td>Long Literals</td>
+          <td>1 or more digits from <code>0</code> to <code>9</code>, followed by <code>l</code> or <code>L</code></td>
+        </tr>
+        <tr>
+          <td>BigInteger Literals</td>
+          <td>1 or more digits from <code>0</code> to <code>9</code>, followed by <code>h</code> or <code>H</code>.</td>
+        </tr>
+        <tr>
+          <td>BigDecimal 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>, followed by <code>b</code> or <code>B</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>.
+            <code>0</code> to <code>9</code>,
+            optionally followed by <code>f</code> or <code>F</code>.
+          </td>
+        </tr>
+        <tr>
+          <td>Double 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>, followed by <code>d</code> or <code>D</code>.
           </td>
         </tr>
         <tr>