core-codegen/src/main/java/io/activej/codegen/expression/Expressions.java
/**
	 * Returns a sequence of operations which will be processed one after the other.
	 * Operations should be added to a list that is consumed by the given consumer
	 *
	 * @param consumer consumer of a list of operations. Operations added to the list
	 *                 will be processed in a sequence
	 * @return new instance of the ExpressionSequence
	 */
Returns a sequence of operations which will be processed one after the other.
Operations should be added to a list that is consumed by the given consumer

@param consumer consumer of a list of operations. Operations added to the list
will be processed in a sequence
@return new instance of the ExpressionSequence
Returns a sequence of operations which will be processed one after the other . Operations should be added to a list that is consumed by the given consumer @param consumer consumer of a list of operations . Operations added to the list will be processed in a sequence @return new instance of the ExpressionSequence
public static Expression sequence(Consumer<List<Expression>> consumer) {
		List<Expression> seq = new ArrayList<>();
		consumer.accept(seq);
		return new ExpressionSequence(seq);
	}
public static Expression sequence ( Consumer < List < Expression > > consumer ) { List < Expression > seq = new ArrayList < > ( ) ; consumer . accept ( seq ) ; return new ExpressionSequence ( seq ) ; }
Returns a sequence of operations which will be processed one after the other.
Returns a sequence of operations which will be processed one after the other .