Boo.Lang.Compiler.Steps.ProcessMethodBodies.BindInPlaceArithmeticOperator C# (CSharp) Метод

BindInPlaceArithmeticOperator() приватный Метод

private BindInPlaceArithmeticOperator ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
Результат void
        void BindInPlaceArithmeticOperator(BinaryExpression node)
        {
            if (IsArraySlicing(node.Left))
            {
                BindInPlaceArithmeticOperatorOnArraySlicing(node);
                return;
            }

            Node parent = node.ParentNode;

            Expression target = node.Left;
            if (null != target.Entity && EntityType.Property == target.Entity.EntityType)
            {
                // if target is a property force a rebinding
                target.ExpressionType = null;
            }

            BinaryExpression assign = ExpandInPlaceBinaryExpression(node);
            parent.Replace(node, assign);
            Visit(assign);
        }
ProcessMethodBodies