1 /* JJT: 0.2.2 */ 2 3 package mobisnap.mobile_trx; 4 5 /*** 6 * Implements short-circuit OR 7 */ 8 public class ASTSelectWithoutOrder extends mobisnap.mobile_trx.SimpleNode { 9 Node intoNode; 10 11 12 public ASTSelectWithoutOrder(int id) { 13 super(id); 14 intoNode = null; 15 } 16 17 public ASTSelectWithoutOrder( MobisnapSQL p, int i) { 18 super( p, i); 19 id = i; 20 intoNode = null; 21 } 22 23 /*** Accept the visitor. **/ 24 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) { 25 return visitor.visit(this, data); 26 } 27 28 public SimpleNodeAux sourceNode0( int pos, Token t, int msql_type, StringBuffer buffer) throws Exception { 29 SimpleNode node = (SimpleNode)jjtGetChild(pos); 30 if( node == intoNode) 31 return super.sourceNode0( pos, t, msql_type, null); 32 else 33 return super.sourceNode0( pos, t, msql_type, buffer); 34 } 35 }

This page was automatically generated by Maven