IConditionalExpression condition = (IConditionalExpression) baseExpression; IScriptExpression op = condition.getExpression(); IScriptExpression op1 = condition.getOperand1(); IScriptExpression op2 = condition.getOperand2(); if (op != null) helper.compileExpression(op.getText(), context); if (op1 != null) helper.compileExpression(op1.getText(), context); if (op2 != null) helper.compileExpression(op2.getText(), context);
if ( baseExpression instanceof IConditionalExpression ) { IConditionalExpression condition = (IConditionalExpression) baseExpression; IScriptExpression op = condition.getExpression( ); IScriptExpression op1 = condition.getOperand1( ); IScriptExpression op2 = condition.getOperand2( ); if ( op != null ) helper.compileExpression( op, context ); if ( op1 != null ) helper.compileExpression( op1, context ); if ( op2 != null ) helper.compileExpression( op2, context ); } else if ( baseExpression instanceof IScriptExpression ) { IScriptExpression scriptExpr = (IScriptExpression) baseExpression; helper.compileExpression( scriptExpr, context ); }
	private void compileBaseExpression(IBaseExpression baseExpression ) throws DataException {		Context context = Context.enter();		try {		if (baseExpression instanceof IConditionalExpression)		{			IConditionalExpression condition = (IConditionalExpression) baseExpression;			IScriptExpression op = condition.getExpression();			IScriptExpression op1 = condition.getOperand1();			IScriptExpression op2 = condition.getOperand2();			if (op != null)				helper.compileExpression(op.getText(), context);			if (op1 != null)				helper.compileExpression(op1.getText(), context);			if (op2 != null)				helper.compileExpression(op2.getText(), context);		}		else if (baseExpression instanceof IScriptExpression)		{			IScriptExpression scriptExpr = (IScriptExpression) baseExpression;			helper.compileExpression(scriptExpr.getText(), context);		}}		 finally {			Context.exit();		}	}