code: protected Boolean _hasSideEffects(XBasicForLoopExpression expression, ISideEffectContext context) {
  		context.open();
  		for (final XExpression ex : expression.getInitExpressions()) {
  			if (hasSideEffects(ex, context)) {
  				return true;
  			}
  		}
  		if (hasSideEffects(expression.getEachExpression(), context)) {
  			return true;
  		}
  		for (final XExpression ex : expression.getUpdateExpressions()) {
  			if (hasSideEffects(ex, context.branch())) {
  				return true;
  			}
  		}
  		if (hasSideEffects(expression.getExpression(), context.branch())) {
  			return true;
  		}
  		context.close();
  		return false;
  	}
docs: Test if the given expression has side effects.
  
  @param expression the expression.
  @param context the list of context expressions.
  @return {@code true} if the expression has side effects.