public static void Foreach(this EmitBlockStatement block, EmitVariable item, EmitExpression collection, EmitStatement statement) { block.Statements.Add(collection.Foreach(item, statement)); }
public EmitVariableReferenceExpression(EmitVariable variable) { Variable = variable; }
public EmitForeachStatement(EmitVariable item, EmitExpression collection, EmitStatement statement) { Item = item; Collection = collection; Statement = statement; }
public static EmitForeachStatement Foreach(this EmitExpression collection, EmitVariable item, EmitStatement statement) { return new EmitForeachStatement(item, collection, statement); }
public static EmitUnaryExpression PreIncrement(this EmitVariable operand) { return(new EmitUnaryExpression(EmitUnaryOperator.PrefixIncrement, operand)); }
public static EmitBinaryExpression ShiftRightAssign(this EmitVariable left, EmitExpression right) { return(new EmitBinaryExpression(left, EmitBinaryOperator.ShiftRightAssign, right)); }
public static EmitForeachStatement Foreach(this EmitExpression collection, EmitVariable item, EmitStatement statement) { return(new EmitForeachStatement(item, collection, statement)); }
public static EmitBinaryExpression BitwiseOrAssign(this EmitVariable left, EmitExpression right) { return(new EmitBinaryExpression(left, EmitBinaryOperator.BitwiseOrAssign, right)); }
public static EmitBinaryExpression Modulus(this EmitVariable left, EmitExpression right) { return(new EmitBinaryExpression(left, EmitBinaryOperator.Modulus, right)); }
public static EmitBinaryExpression MultiplyAssign(this EmitVariable left, EmitExpression right) { return(new EmitBinaryExpression(left, EmitBinaryOperator.MultiplyAssign, right)); }
public static EmitUnaryExpression PostDecrement(this EmitVariable operand) { return(new EmitUnaryExpression(EmitUnaryOperator.PostfixDecrement, operand)); }