public CompoundFactory add(IDSLFactory factory) { _factories.Add(factory); return(this); }
public CompoundFactory add(IDSLFactory factory) { _factories.Add(factory); return this; }
public static SyntaxTree Compile(string code, IDSLFactory factory, out ExcessContext ctx, string file = null) { ctx = new ExcessContext(factory); return(Compile(ctx, code, file)); }
public SimpleFactory AddFactory(IDSLFactory factory) { _factories.Add(factory); return(this); }
public ExcessContext(IDSLFactory factory) { _dslFactory = factory; _usings = new List <string>(); _usings.AddRange(new [] { "System", "System.Collections", "System.Collections.Generic" }); }