commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r588362 - /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java
Date Thu, 25 Oct 2007 21:13:59 GMT
Author: dion
Date: Thu Oct 25 14:13:58 2007
New Revision: 588362

URL: http://svn.apache.org/viewvc?rev=588362&view=rev
Log:
order methods

Modified:
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java?rev=588362&r1=588361&r2=588362&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java
(original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/parser/VisitorAdapter.java
Thu Oct 25 14:13:58 2007
@@ -20,217 +20,215 @@
 /**
  * Implementation of the ParserVisitor that dumps the current node and it's
  * children and then visits them.
- * 
- * @author Dion Gillard
  */
 public class VisitorAdapter implements ParserVisitor {
 
     /** {@inheritDoc} */
-    public Object visit(SimpleNode node, Object data) {
+    public Object visit(ASTAddNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTJexlScript node, Object data) {
+    public Object visit(ASTAndNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTBlock node, Object data) {
+    public Object visit(ASTArrayAccess node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTEmptyFunction node, Object data) {
+    public Object visit(ASTAssignment node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTSizeFunction node, Object data) {
+    public Object visit(ASTBitwiseAndNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTIdentifier node, Object data) {
+    public Object visit(ASTBitwiseComplNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTExpression node, Object data) {
+    public Object visit(ASTBitwiseOrNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTAssignment node, Object data) {
+    public Object visit(ASTBitwiseXorNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTOrNode node, Object data) {
+    public Object visit(ASTBlock node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTAndNode node, Object data) {
+    public Object visit(ASTDivNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTBitwiseOrNode node, Object data) {
+    public Object visit(ASTEmptyFunction node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTBitwiseXorNode node, Object data) {
+    public Object visit(ASTEQNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTBitwiseAndNode node, Object data) {
+    public Object visit(ASTExpression node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTEQNode node, Object data) {
+    public Object visit(ASTExpressionExpression node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTNENode node, Object data) {
+    public Object visit(ASTFalseNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTLTNode node, Object data) {
+    public Object visit(ASTFloatLiteral node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTGTNode node, Object data) {
+    public Object visit(ASTForeachStatement node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTLENode node, Object data) {
+    public Object visit(ASTGENode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTGENode node, Object data) {
+    public Object visit(ASTGTNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTAddNode node, Object data) {
+    public Object visit(ASTIdentifier node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTSubtractNode node, Object data) {
+    public Object visit(ASTIfStatement node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTMulNode node, Object data) {
+    public Object visit(ASTIntegerLiteral node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTDivNode node, Object data) {
+    public Object visit(ASTJexlScript node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTModNode node, Object data) {
+    public Object visit(ASTLENode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTUnaryMinusNode node, Object data) {
+    public Object visit(ASTLTNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTBitwiseComplNode node, Object data) {
+    public Object visit(ASTMapEntry node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTNotNode node, Object data) {
+    public Object visit(ASTMapLiteral node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTNullLiteral node, Object data) {
+    public Object visit(ASTMethod node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTTrueNode node, Object data) {
+    public Object visit(ASTModNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTFalseNode node, Object data) {
+    public Object visit(ASTMulNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTIntegerLiteral node, Object data) {
+    public Object visit(ASTNENode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTFloatLiteral node, Object data) {
+    public Object visit(ASTNotNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTStringLiteral node, Object data) {
+    public Object visit(ASTNullLiteral node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTExpressionExpression node, Object data) {
+    public Object visit(ASTOrNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTStatementExpression node, Object data) {
+    public Object visit(ASTReference node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
@@ -242,56 +240,57 @@
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTIfStatement node, Object data) {
+    public Object visit(ASTSizeFunction node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTWhileStatement node, Object data) {
+    public Object visit(ASTSizeMethod node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTForeachStatement node, Object data) {
+    public Object visit(ASTStatementExpression node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTMapLiteral node, Object data) {
+    public Object visit(ASTStringLiteral node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTMapEntry node, Object data) {
+    public Object visit(ASTSubtractNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTMethod node, Object data) {
+    public Object visit(ASTTrueNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTArrayAccess node, Object data) {
+    public Object visit(ASTUnaryMinusNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTSizeMethod node, Object data) {
+    public Object visit(ASTWhileStatement node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
 
     /** {@inheritDoc} */
-    public Object visit(ASTReference node, Object data) {
+    public Object visit(SimpleNode node, Object data) {
         node.dump(" ");
         return node.childrenAccept(this, data);
     }
+
 }



Mime
View raw message