core-codegen/src/main/java/io/activej/codegen/expression/Expressions.java
/**
	 * Returns a sequence of operations which will be processed one after the other
	 *
	 * @param parts list of operations
	 * @return new instance of the ExpressionSequence
	 */
Returns a sequence of operations which will be processed one after the other
@param parts list of operations
@return new instance of the ExpressionSequence
Returns a sequence of operations which will be processed one after the other @param parts list of operations @return new instance of the ExpressionSequence
public static Expression sequence(List<Expression> parts) {
		List<Expression> list = new ArrayList<>(parts.size());
		for (Expression part : parts) {
			if (part instanceof ExpressionSequence) {
				list.addAll(((ExpressionSequence) part).expressions);
			} else {
				list.add(part);
			}
		}
		return new ExpressionSequence(list);
	}
public static Expression sequence ( List < Expression > parts ) { List < Expression > list = new ArrayList < > ( parts . size ( ) ) ; for ( Expression part : parts ) { if ( part instanceof ExpressionSequence ) { list . addAll ( ( ( ExpressionSequence ) part ) . expressions ) ; } else { list . add ( part ) ; } } return new ExpressionSequence ( list ) ; }
Returns a sequence of operations which will be processed one after the other
 @param parts list of operations
 @return new instance of the ExpressionSequence
Returns a sequence of operations which will be processed one after the other @param parts list of operations @return new instance of the ExpressionSequence