public MSAst Register(MSAst registeredTo)
 {
     return(MSAst.Dynamic(
                LanguageContext.CreateSetMemberBinder(Name, false, true, true),
                typeof(object),
                registeredTo,
                TransformClass()
                ));
 }
Exemple #2
0
 public System.Linq.Expressions.Expression Register(System.Linq.Expressions.Expression registeredTo)
 {
     return(MSAst.Dynamic(
                LanguageContext.CreateSetMemberBinder(Name, false, true, true),
                typeof(object),
                registeredTo,
                TransformClass()
                ));
 }
Exemple #3
0
 public System.Linq.Expressions.Expression DeclareVariable(string name, System.Linq.Expressions.Expression value)
 {
     return(System.Linq.Expressions.Expression.Dynamic(LanguageContext.CreateSetMemberBinder(name, false, true, true), typeof(object), Context, value));
 }
Exemple #4
0
 public System.Linq.Expressions.Expression ResolveForWrite(string name, System.Linq.Expressions.Expression value, bool direct)
 {
     return(System.Linq.Expressions.Expression.Dynamic(LanguageContext.CreateSetMemberBinder(name, false, false, direct), typeof(object), Context, value));
 }
Exemple #5
0
 public override System.Linq.Expressions.Expression TransformSetProperty(System.Linq.Expressions.Expression value)
 {
     return(System.Linq.Expressions.Expression.Dynamic(LanguageContext.CreateSetMemberBinder(MemberName, false, true, true), typeof(object), TargetExpression, value));
 }
Exemple #6
0
 public Ast Register(Ast registeredTo)
 {
     return(Ast.Dynamic(LanguageContext.CreateSetMemberBinder(Name, false, true, true), typeof(object), registeredTo,
                        TransformFunction(registeredTo)
                        ));
 }
 public MSAst.Expression Register(MSAst.Expression registeredTo)
 {
     return(MSAst.Expression.Dynamic(LanguageContext.CreateSetMemberBinder(Name, false, true, true), typeof(object), registeredTo, TransformProperty(registeredTo)));
 }