|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ASTSelectWithoutOrder.java | 0% | 0% | 0% | 0% |
|
||||||||||||||
| 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 | 0 |
public ASTSelectWithoutOrder(int id) { |
| 13 | 0 |
super(id);
|
| 14 | 0 |
intoNode = null;
|
| 15 |
} |
|
| 16 |
|
|
| 17 | 0 |
public ASTSelectWithoutOrder( MobisnapSQL p, int i) { |
| 18 | 0 |
super( p, i);
|
| 19 | 0 |
id = i; |
| 20 | 0 |
intoNode = null;
|
| 21 |
} |
|
| 22 |
|
|
| 23 |
/** Accept the visitor. **/
|
|
| 24 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
| 25 | 0 |
return visitor.visit(this, data); |
| 26 |
} |
|
| 27 |
|
|
| 28 | 0 |
public SimpleNodeAux sourceNode0( int pos, Token t, int msql_type, StringBuffer buffer) throws Exception { |
| 29 | 0 |
SimpleNode node = (SimpleNode)jjtGetChild(pos); |
| 30 | 0 |
if( node == intoNode)
|
| 31 | 0 |
return super.sourceNode0( pos, t, msql_type, null); |
| 32 |
else
|
|
| 33 | 0 |
return super.sourceNode0( pos, t, msql_type, buffer); |
| 34 |
} |
|
| 35 |
} |
|
| 36 |
|
|
||||||||||