|
|||||||||||||||||||
| 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 | |||||||||||||||
| ASTAssignmentStatement.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/* JJT: 0.2.2 */
|
|
| 2 |
|
|
| 3 |
package mobisnap.mobile_trx;
|
|
| 4 |
|
|
| 5 |
/**
|
|
| 6 |
* Implements simple expression
|
|
| 7 |
*/
|
|
| 8 |
public class ASTAssignmentStatement extends mobisnap.mobile_trx.SimpleNode { |
|
| 9 |
public ASTPlSqlExpression expr;
|
|
| 10 |
public String s1, s2;
|
|
| 11 |
|
|
| 12 | 0 |
public ASTAssignmentStatement(int id) { |
| 13 | 0 |
super(id);
|
| 14 |
} |
|
| 15 |
|
|
| 16 | 0 |
public ASTAssignmentStatement( MobisnapSQL p, int i) { |
| 17 | 0 |
super( p, i);
|
| 18 | 0 |
id = i; |
| 19 |
} |
|
| 20 |
|
|
| 21 |
/** Accept the visitor. **/
|
|
| 22 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
| 23 | 0 |
return visitor.visit(this, data); |
| 24 |
} |
|
| 25 |
|
|
| 26 | 0 |
public void process( int msql_type) throws Exception { |
| 27 | 0 |
MSQLTVariable var = (MSQLTVariable)MobisnapSQL.names.getName( s1); |
| 28 | 0 |
var.associateRsrv( null);
|
| 29 | 0 |
var.setValue( expr.value( msql_type, false));
|
| 30 |
} |
|
| 31 |
|
|
| 32 |
} |
|
| 33 |
|
|
||||||||||