public static Macro <T1, T2, T3, T4, T5, TRes> Create <T1, T2, T3, T4, T5, TRes> ( Expression <Func <Macro <T1, T2, T3, T4, T5, TRes> > > member, Ast.Macro macro) { Add((member.Body as MemberExpression).Member, new Macro(macro)); return(new Macro <T1, T2, T3, T4, T5, TRes> ((a1, a2, a3, a4, a5) => default(TRes))); }
internal Macro(Ast.Macro macro) : this(macro, null, null) { }
public static Macro <TRes> Create <TRes> (Expression <Func <Macro <TRes> > > member, Ast.Macro macro) { Add((member.Body as MemberExpression).Member, new Macro(macro)); return(new Macro <TRes> (() => default(TRes))); }
internal Macro(Ast.Macro macro, Ast.Program program, HashSet <Type> typesDefined) { AstMacro = macro; Program = program; TypesDefined = typesDefined; }