示例#1
0
 public override Expression /*!*/ CreateExpression()
 {
     return(Expression.Call(
                Methods.GetMethod(typeof(RubyCallAction), "MakeShared", typeof(string), typeof(RubyCallSignature)),
                AstUtils.Constant(_methodName),
                _signature.CreateExpression()
                ));
 }
示例#2
0
 Expression /*!*/ IExpressionSerializable.CreateExpression()
 {
     return(Expression.Call(
                typeof(SuperCallAction).GetMethod("Make", new Type[] { typeof(RubyCallSignature), typeof(int) }),
                _signature.CreateExpression(),
                Expression.Constant(_lexicalScopeId)
                ));
 }
示例#3
0
 Expression /*!*/ IExpressionSerializable.CreateExpression()
 {
     return(Expression.Call(
                typeof(RubyCallAction).GetMethod("Make", new Type[] { typeof(string), typeof(RubyCallSignature) }),
                Expression.Constant(_methodName),
                _signature.CreateExpression()
                ));
 }
示例#4
0
 public override Expression /*!*/ CreateExpression()
 {
     return(Methods.GetMethod(GetType(), "MakeShared").OpCall(_signature.CreateExpression(), AstUtils.Constant(_lexicalScopeId)));
 }