CreateBinderStateExpression() static private method

static private CreateBinderStateExpression ( ) : Expression
return Expression
コード例 #1
0
 public Expression /*!*/ CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod(nameof(PythonOps.MakeDeleteSliceBinder)),
                BindingHelpers.CreateBinderStateExpression()
                ));
 }
コード例 #2
0
 public Expression /*!*/ CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod("MakeGetSliceBinder"),
                BindingHelpers.CreateBinderStateExpression()
                ));
 }
コード例 #3
0
 public virtual Expression CreateExpression()
 {
     return(Expression.Call(
                typeof(PythonOps).GetMethod(nameof(PythonOps.MakeInvokeAction)),
                BindingHelpers.CreateBinderStateExpression(),
                Signature.CreateExpression()
                ));
 }
コード例 #4
0
 public Expression /*!*/ CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod("MakeGetIndexAction"),
                BindingHelpers.CreateBinderStateExpression(),
                AstUtils.Constant(CallInfo.ArgumentCount)
                ));
 }
コード例 #5
0
 public Expression CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod("MakeOperationAction"),
                BindingHelpers.CreateBinderStateExpression(),
                AstUtils.Constant((int)Operation)
                ));
 }
コード例 #6
0
 public Expression CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod(nameof(PythonOps.MakeBinaryOperationAction)),
                BindingHelpers.CreateBinderStateExpression(),
                AstUtils.Constant(Operation)
                ));
 }
コード例 #7
0
 public Expression CreateExpression()
 {
     return(Expression.Call(
                typeof(PythonOps).GetMethod("MakeComboAction"),
                BindingHelpers.CreateBinderStateExpression(),
                ((IExpressionSerializable)_opBinder).CreateExpression(),
                _convBinder.CreateExpression()
                ));
 }
コード例 #8
0
ファイル: ConversionBinder.cs プロジェクト: rudimk/dlr-dotnet
 public Expression CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod("MakeConversionAction"),
                BindingHelpers.CreateBinderStateExpression(),
                AstUtils.Constant(Type),
                AstUtils.Constant(ResultKind)
                ));
 }
コード例 #9
0
 public Expression CreateExpression()
 {
     return(Ast.Call(
                typeof(PythonOps).GetMethod(nameof(PythonOps.MakeGetAction)),
                BindingHelpers.CreateBinderStateExpression(),
                AstUtils.Constant(Name),
                AstUtils.Constant(IsNoThrow)
                ));
 }