IronPython.Compiler.Ast.Node.PushLineUpdated C# (CSharp) Method

PushLineUpdated() static private method

static private PushLineUpdated ( bool updated, System.Linq.Expressions saveCurrent ) : Expression
updated bool
saveCurrent System.Linq.Expressions
return System.Linq.Expressions.Expression
        internal static MSAst.Expression PushLineUpdated(bool updated, MSAst.ParameterExpression saveCurrent) {
            return MSAst.Expression.Block(
                Ast.Assign(saveCurrent, LineNumberUpdated),
                Ast.Assign(LineNumberUpdated, AstUtils.Constant(updated))
            );
        }